Question # 1 of 10 ( Start time:
09 :56 :26 PM ) Total Marks: 1
Which is true about sub - typing in case
of inheritance?
Select correct option :
In sub - typing a new class is derived
from existing where the derived class
shows some
extended behavior of its parent .
In sub - typing a new class is derived
from existing which is a restricted
form of its parent class . In sub - typing
a class is derived from existing one
where the derived class should be
abstract .
None of the given .
Question # 2 of 10 ( Start time:
09 :57 :57 PM ) Total Marks: 1
Main characteristic of information
hiding is :
Select correct option :
Limited access
Unlimited access
Keep the model interesting
Keep the model simple
Question # 3 of 10 ( Start time:
10 :53 :41 PM ) Total Marks: 1
The ______ keyword tells the compiler
to substitute the code within the
function definition for every instance
of a function call
Select correct option :
virtual
inline
instance
none of the given
Question # 4 of 10 ( Start time:
10 :54 :38 PM ) Total Marks: 1
Which of the following features of OOP
is used to derive a class from another?
Select correct option :
Encapsulation
Polymorphism
Data hiding
Inheritance
Question # 5 of 10 ( Start time:
10 :55 :21 PM ) Total Marks: 1
Which of the following is not an object
association ?
Select correct option :
Simple association
Inheritance
Aggregation
Composition
Question # 6 of 10 ( Start time:
10 :56 :18 PM ) Total Marks: 1
Which of the following is a weak
relationship between two objects ?
Select correct option :
Inheritance
Composition
Aggregation
None of given
Question # 7 of 10 ( Start time:
10 :56 :50 PM ) Total Marks: 1
Only tangible things can be chosen as
an object .
Select correct option :
True
False
Question # 8 of 10 ( Start time:
10 :57 :35 PM ) Total Marks: 1
In case base and derived classes are
behaviorally compatiable , base class can
always be replaced by derived class .
Select correct option :
True
False
Question # 9 of 10 ( Start time:
10 :58 :37 PM ) Total Marks: 1
Which of the following types is an
example of intangible object?
Select correct option :
Chair
Pencil
Time table
Book
Question # 10 of 10 ( Start time :
10 :58 :58 PM ) Total Marks: 1
Which of the following parts of an
object exhibits its state ?
Select correct option :
Data
Operations
Any public part
Any private part