Wayground logo

Free Printable Worksheets

Font size

S
M
L
XL
Worksheets

Dr. S. Uma's Object Oriented Programming Quiz Event 1

Total questions: 10

Worksheet time: 5mins

Name
Class
Date
1.

Which was the first purely object oriented programming language developed?

a)

Java

b)

SmallTalk

c)

C++

d)

Kotlin

2.

Which of the following best defines a class?

a)

Parent of an object

b)

Instance of an object

c)

Blueprint of an object

d)

Scope of an object

3.

Who invented OOP?

a)

Alan Kay

b)

Andrea Ferro

c)

Dennis Ritchie

d)

Adele Goldberg

4.

What is the additional feature in classes that was not in structures?

a)

Data members

b)

Member functions

c)

Static data allowed

d)

Public access specifier

5.

Which is not feature of OOP in general definitions?

a)

Code reusability

b)

Modularity

c)

Duplicate/Redundant data

d)

Efficient Code

6.

Pure OOP can be implemented without using class in a program. (True or False)

a)

True

b)

False

7.

Which Feature of OOP illustrated the code reusability?

a)

Polymorphism

b)

Abstraction

c)

Encapsulation

d)

Inheritance

8.

Which of the two features match each other?

a)

Inheritance and Encapsulation

b)

Encapsulation and Polymorphism

c)

Encapsulation and Abstraction

d)

Abstraction and Polymorphism

9.

Which among the following best describes encapsulation?

a)

It is a way of combining various data members into a single unit

b)

It is a way of combining various member functions into a single unit

c)

It is a way of combining various data members and member functions into a single unit which can operate on any data

d)

It is a way of combining various data members and member functions that operate on those data members into a single unit

10.

Which among the following best describes polymorphism?

a)

It is the ability for a message/data to be processed in more than one form

b)

It is the ability for a message/data to be processed in only 1 form

c)

It is the ability for many messages/data to be processed in one way

d)

It is the ability for undefined message/data to be processed in at least one way