WorksheetsDr. S. Uma's Object Oriented Programming Quiz Event 1
Total questions: 10
Worksheet time: 5mins
Which was the first purely object oriented programming language developed?
Java
SmallTalk
C++
Kotlin
Which of the following best defines a class?
Parent of an object
Instance of an object
Blueprint of an object
Scope of an object
Who invented OOP?
Alan Kay
Andrea Ferro
Dennis Ritchie
Adele Goldberg
What is the additional feature in classes that was not in structures?
Data members
Member functions
Static data allowed
Public access specifier
Which is not feature of OOP in general definitions?
Code reusability
Modularity
Duplicate/Redundant data
Efficient Code
Pure OOP can be implemented without using class in a program. (True or False)
True
False
Which Feature of OOP illustrated the code reusability?
Polymorphism
Abstraction
Encapsulation
Inheritance
Which of the two features match each other?
Inheritance and Encapsulation
Encapsulation and Polymorphism
Encapsulation and Abstraction
Abstraction and Polymorphism
Which among the following best describes encapsulation?
It is a way of combining various data members into a single unit
It is a way of combining various member functions into a single unit
It is a way of combining various data members and member functions into a single unit which can operate on any data
It is a way of combining various data members and member functions that operate on those data members into a single unit
Which among the following best describes polymorphism?
It is the ability for a message/data to be processed in more than one form
It is the ability for a message/data to be processed in only 1 form
It is the ability for many messages/data to be processed in one way
It is the ability for undefined message/data to be processed in at least one way
