WorksheetsObject Oriented Programming Quiz
Total questions: 15
Worksheet time: 15mins
What is the main focus of procedure oriented programming?
Inheritance
Data hiding
Emphasis on doing things
Objects and classes
Which of the following is a disadvantage of procedure oriented programming languages?
Global data access
Inheritance
Data hiding
Polymorphism
What is the fundamental idea behind the object-oriented approach?
Large programs divided into smaller programs
Emphasis on doing things
Global data access
Combining data and function into a single unit
What is the term used to represent a combination of data and program that represents a real-world entity in object-oriented programming?
Objects
Classes
Functions
Inheritance
What is the process by which objects of one class acquire the properties of another class called?
Polymorphism
Data abstraction
Encapsulation
Inheritance
What does polymorphism in object-oriented programming refer to?
Global data access
Ability to take more than one form
Combining data and function into a single unit
Data hiding
What is the term for the wrapping up of data and function into a single unit in object-oriented programming?
Polymorphism
Inheritance
Encapsulation
Data hiding
Which feature of object-oriented programming allows a function or operator to be given more than one definition?
Data abstraction
Dynamic binding
Polymorphism
Message passing
What is the linking of a procedure call to the code to be executed in response to the call called in object-oriented programming?
Data abstraction
Dynamic binding
Polymorphism
Message passing
What is a group of objects that share common properties for data part and some program part collectively called in object-oriented programming?
Objects
Classes
Inheritance
Functions
Which technique for communication between objects makes the interface description with external systems much simpler in object-oriented programming?
Data hiding
Dynamic binding
Message passing
Polymorphism
What is the process by which objects of one class acquire the properties of another class in object-oriented programming?
Data abstraction
Encapsulation
Inheritance
Polymorphism
What is the ability to take more than one form in object-oriented programming called?
Polymorphism
Dynamic binding
Data hiding
Message passing
Which principle of object-oriented programming helps the programmer to build secure programs that can't be invaded by code in other parts of the program?
Dynamic binding
Data hiding
Polymorphism
Message passing
What is the most popular application of object-oriented programming in user interface design?
Windows
Object oriented databases
Simulation and modeling
Real-Time systems
