Questions 1
to 30.
1.
|
Which of the following type of
class allows only one object of it to be created?
|
|||||||
Answer: Option C
|
||||||||
Which
of the following is not a type of constructor? |
||||||||
Answer: Option B
|
||||||||
Which
of the following statements is correct? |
||||||||
Answer: Option B
|
||||||||
Which
of the following is not the member of class? |
||||||||
Answer: Option B
|
||||||||
Which
of the following concepts means determining at runtime what method to invoke? |
||||||||
Answer: Option C
|
6.
|
Which of the following term is
used for a function defined inside a class?
|
|||||||
Answer: Option B
|
7.
|
Which of the following concept of
oops allows compiler to insert arguments in a function call if it is not specified?
|
|||||||
Answer: Option C
|
8.
|
How many instances of an abstract
class can be created?
|
|||||||
Answer: Option D
|
9.
|
Which of the following cannot be
friend?
|
|||||||
Answer: Option C
|
10.
|
Which of the following concepts of
OOPS means exposing only necessary information to client?
|
|||||||
Answer: Option C
|
11.
|
Why reference is not same as a
pointer?
|
|||||||
Answer: Option D
|
2.
|
cout is a/an __________ .
|
|||||||
Answer: Option C
|
13.
|
Which of the following concepts
provides facility of using object of one class inside another class?
|
|||||||
Answer: Option C
|
14.
|
How many types of polymorphisms
are supported by C++?
|
|||||||
Answer: Option B
|
15.
|
Which of the following is an
abstract data type?
|
|||||||
Answer: Option D
|
16.
|
Which of the following concepts
means adding new components to a program as it runs?
|
|||||||
Answer: Option D
|
17.
|
Which of the following statement
is correct?
|
|||||||
Answer: Option A
|
18.
|
Which of the following correctly
describes overloading of functions?
|
|||||||
Answer: Option C
|
19.
|
Which of the following approach is
adapted by C++?
|
|||||||
Answer: Option B
|
20.
|
Which of the following is correct
about function overloading?
|
|||||||
Answer: Option D
|
21.
|
Which of the following is correct
about class and structure?
|
|||||||
Answer: Option D
|
22.
|
Which of the following concepts
means wrapping up of data and functions together?
|
|||||||
Answer: Option B
|
23.
|
Which of the following concepts
means waiting until runtime to determine which function to call?
|
|||||||
Answer: Option C
|
25.
24.
|
How "Late binding" is
implemented in C++?
|
|||||||
Answer: Option B
|
||||||||
Which
of the following operator is overloaded for object cout? |
||||||||
Answer: Option B
|
26.
|
Which of the following is the
correct class of the object cout?
|
|||||||
Answer: Option C
|
27.
|
Which of the following cannot be
used with the keyword virtual?
|
|||||||
Answer: Option C
|
28.
|
Which of the following functions
are performed by a constructor?
|
|||||||
Answer: Option D
|
29.
|
Which of the following problem
causes an exception?
|
|||||||
Answer: Option D
|
30.
|
Which one of the following options
is correct about the statement given below? The compiler checks the type of
reference in the object and not the type of object.
|
|||||||
Answer: Option B
|
No comments:
Post a Comment
Please Comment Your Valuable Feedback....