Y1 l3 object oriented programming

Y1 l3 object oriented programming

Assessment

Quiz

Professional Development

University

Hard

Created by

Muhammad Asif

Used 1+ times

FREE Resource

Student preview

quiz-placeholder

35 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

20 sec • 5 pts

Which of the following concepts of OOPS means exposing only necessary information to client?
Encapsulation
Abstraction
Data hiding
Data binding

2.

MULTIPLE CHOICE QUESTION

20 sec • 5 pts

What is the difference between a class and an object?
A class is a blueprint to make an object
An object is a blueprint to make a class
A blueprint is an object to make a class
Blueprint class is an object make a

3.

MULTIPLE CHOICE QUESTION

20 sec • 5 pts

These have identitystate, and behavior.
class
object
method
void

4.

MULTIPLE CHOICE QUESTION

20 sec • 5 pts

As a blueprint is a design for a house, a class is a design for a(n):
object
variable
constant
statement

5.

MULTIPLE CHOICE QUESTION

20 sec • 5 pts

Which of the following statements is incorrect?
Class is an object factory
Class is a composite type.
Class is an instance of an object.
Class is a user defined type.

6.

MULTIPLE CHOICE QUESTION

20 sec • 5 pts

The wrapping up of data and functions into a single unit is called
overloading
class
object
encapsulation 

7.

MULTIPLE CHOICE QUESTION

20 sec • 5 pts

The process by which objects of one class acquire the properties of objects of another class is known as
Polymorphism
Inheritance
Data Hiding
None of the above.

Create a free account and access millions of resources

Create resources
Host any resource
Get auto-graded reports
or continue with
Microsoft
Apple
Others
By signing up, you agree to our Terms of Service & Privacy Policy
Already have an account?