
Midterm: Quiz 1 OOP
Authored by Irish Dajero
Information Technology (IT)
University
Used 2+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
50 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Jane is developing software and wants to organize her code into reusable units that group data and methods together. Which programming paradigm is she using?
Procedural
Functional
Object-Oriented
Structural
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
In a program, an object named `Car` has properties like `color` and `model`, and methods like `drive()` and `brake()`. What does this best demonstrate?
Arrays
Objects
Files
Tables
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
You are asked to define a method inside a class that calculates area. What OOP concept are you demonstrating?
Encapsulation
Inheritance
Polymorphism
Abstraction
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
A developer wants to build a software application that uses data structures such as arrays, trees, and records. What concept do these structures fall under?
Control Flow
Data Fields
Data Structures
Functions
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following best defines Object-Oriented Programming (OOP)?
Programming around procedures
Programming around functions and logic
Programming around data or objects
Programming around databases
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
A student wrote code where a class Box contains private variables. Only methods inside the class can access them. What OOP feature is this?
Inheritance
Abstraction
Polymorphism
Encapsulation
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
You are designing a base class Animal, and subclasses like Dog and Cat inherit from it. What OOP concept is demonstrated?
Polymorphism
Inheritance
Message Passing
Encapsulation
Access all questions and much more by creating a free account
Create resources
Host any resource
Get auto-graded reports

Continue with Google

Continue with Email

Continue with Classlink

Continue with Clever
or continue with

Microsoft
%20(1).png)
Apple
Others
Already have an account?