Search Header Logo

INTRODUCTION TO OOPS

Authored by Jeevitha P

Computers

University

Used 709+ times

INTRODUCTION TO OOPS
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

10 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following best defines a class?

Parent of an object

Instance of an object

Blueprint of an object

Scope of an object

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

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

True

False

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which Feature of OOP illustrated the code reusability?

Polymorphism

Abstraction

Encapsulation

Inheritance

4.

MULTIPLE SELECT QUESTION

30 sec • 1 pt

Choose the attributes of Class: time

Hours

second

get Hour

Print Time

5.

MULTIPLE SELECT QUESTION

30 sec • 1 pt

Choose the behaviour of Class: time

Hour

Second

PrintTime

getHour

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following is associated with objects?

State

Behaviour

Identity

All the above

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is it called where child object gets killed if parent object is killed?

Aggregation

Composition

Encapsulation

Association

Access all questions and much more by creating a free account

Create resources

Host any resource

Get auto-graded reports

Google

Continue with Google

Email

Continue with Email

Microsoft

Continue with Microsoft

or continue with

Facebook

Facebook

Apple

Apple

Others

Others

Already have an account?