Font size
WorksheetsWeek 2 - Assessment 2
Total questions: 10
Worksheet time: 6mins
Type of variable that is declared inside methods, constructors, or blocks.
Instance Variable
Local Variable
Data Variable
Class Variable
In order to interact with one another, the methods pass arguments.
True
False
(a) refers to the data properties of an object.
An object is not described as the basic unit of OOP
True
False
(a) refers to the operations or functions of an object.
A feature of OOP in which it hides the complexities of a software, and shows only the necessary functions to the user.
Encapsulation
Behavior
Abstraction
Polymorphism
A programming technique that binds the class members together and prevents them from being accessed by other classes.
Abstraction
Attributes
Initialization
Encapsulation
In the essence of OOP, what are the behaviors of a car
drive(), submerge(), park(), reverse(), neutral
park(), reverse(), neutral(), drive(), low()
drive(), reverse(), walk(), park(),
high(), low(), drive(), park()
In creating objects, what would be the first step?
Declaration
Initialization
Termination
Instantiation
(a) refers to a set of statements group together to do a specific task.
