Question # 1 of 10 ( Start time: 10:38:06 PM ) Total Marks:
1
There is only one form of copy constructor.
Select correct option :
True
False
Question # 2 of 10 ( Start time: 10:39:07 PM ) Total Marks: 1
How many objects of a given class may be constructed in an application?
Select correct option:
Only one per constructor.
As many as the application asks for
Only one per class
One object per variable
Question # 3 of 10 ( Start time: 10:40:45 PM ) Total Marks: 1
When we write the keyword “inline” with a function, then it is always treated by the compiler as inline function.
Select correct option:
True
False
Question # 4 of 10 ( Start time: 10:41:48 PM ) Total Marks: 1
________ is automatically called when the object is created.
Select correct option :
member function
object
constructor
None of the given
Question # 5 of 10 ( Start time: 10:42:45 PM ) Total Marks: 1
Aggregation is implemented using pointer.
Select correct option:
True
False
Question # 6 of 10 ( Start time: 10:44:18 PM ) Total Marks: 1
How the information hidden within an object can be accessed?
Select correct option:
Through its interface
Through its private data members
Through its private member functions
Through both public and private members
Question # 7 of 10 ( Start time: 10:46:02 PM ) Total Marks: 1
Suppose "Cat" is a real world object that you want to transform into programming entity. For this, which of the following concepts would you use ?
Select correct option:
Class
Function
State
Behaviour
Question # 8 of 10 ( Start time: 10:47:28 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 # 9 of 10 ( Start time: 10:48:18 PM ) Total Marks: 1
If only one behaviour of a derived class is incompatible with base class, then it is:
Select correct option :
Generalization
Specialization
Extension
Inheritance
Question # 10 of 10 ( Start time: 10:49:03 PM ) Total Marks: 1
An object has _______ interface(s)
Select correct option:
only one
only two
one or more than one
none of the above
There is only one form of copy constructor.
Select correct option :
True
False
Question # 2 of 10 ( Start time: 10:39:07 PM ) Total Marks: 1
How many objects of a given class may be constructed in an application?
Select correct option:
Only one per constructor.
As many as the application asks for
Only one per class
One object per variable
Question # 3 of 10 ( Start time: 10:40:45 PM ) Total Marks: 1
When we write the keyword “inline” with a function, then it is always treated by the compiler as inline function.
Select correct option:
True
False
Question # 4 of 10 ( Start time: 10:41:48 PM ) Total Marks: 1
________ is automatically called when the object is created.
Select correct option :
member function
object
constructor
None of the given
Question # 5 of 10 ( Start time: 10:42:45 PM ) Total Marks: 1
Aggregation is implemented using pointer.
Select correct option:
True
False
Question # 6 of 10 ( Start time: 10:44:18 PM ) Total Marks: 1
How the information hidden within an object can be accessed?
Select correct option:
Through its interface
Through its private data members
Through its private member functions
Through both public and private members
Question # 7 of 10 ( Start time: 10:46:02 PM ) Total Marks: 1
Suppose "Cat" is a real world object that you want to transform into programming entity. For this, which of the following concepts would you use ?
Select correct option:
Class
Function
State
Behaviour
Question # 8 of 10 ( Start time: 10:47:28 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 # 9 of 10 ( Start time: 10:48:18 PM ) Total Marks: 1
If only one behaviour of a derived class is incompatible with base class, then it is:
Select correct option :
Generalization
Specialization
Extension
Inheritance
Question # 10 of 10 ( Start time: 10:49:03 PM ) Total Marks: 1
An object has _______ interface(s)
Select correct option:
only one
only two
one or more than one
none of the above
Comments
Post a Comment
Please give us your feedback & help us to improve this site.