MSBTE I Scheme Practice MCQs of “Object
Oriented Programming using C++ (22316)”
UNIT-1.Principle of Object Oriented Programming.
|
1. |
Which of the following type of
class allows only one object of it to be created? |
|||||||
Answer: Option C Explanation: No answer description available
for this question. |
|
2. |
Which of the following is not a
type of constructor? |
|||||||
Answer: Option B Explanation: No answer description available
for this question. |
|
3. |
Which of the following
statements is correct? |
|||||||
Answer: Option B Explanation: No answer description available
for this question. |
|
4. |
Which of the following is not
the member of class? |
|||||||
Answer: Option B Explanation: No answer description available
for this question. |
|
5. |
Which of the following concepts
means determining at runtime what method to invoke? |
|||||||
Answer: Option C Explanation: No answer description available
for this question. |
|
6. |
Which of the following term is
used for a function defined inside a class? |
|||||||
Answer: Option B Explanation: No answer description available
for this question. |
|
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 Explanation: No answer description available
for this question. |
|
8. |
How many instances of an
abstract class can be created? |
|||||||
Answer: Option D Explanation: No answer description available
for this question. |
|
9. |
Which of the following cannot
be friend? |
|||||||
Answer: Option C Explanation: No answer description available
for this question. |
|
10. |
Which of the following concepts
of OOPS means exposing only necessary information to client? |
|||||||
Answer: Option C Explanation: No answer description available
for this question. |
|
11. |
Why reference is not same as a
pointer? |
|||||||
Answer: Option D Explanation: No answer description available
for this question. |
|
12. |
cout is a/an __________ . |
|||||||
Answer: Option C Explanation: No answer description available
for this question. |
|
13. |
Which of the following concepts
provides facility of using object of one class inside another class? |
|||||||
Answer: Option C Explanation: No answer description available
for this question. |
|
14. |
How many types of polymorphisms
are supported by C++? |
|||||||
Answer: Option B Explanation: The two main types of
polymorphism are run-time (implemented as inheritance and virtual functions),
and compile-time (implemented as templates). |
|
15. |
Which of the following is an
abstract data type? |
|||||||
Answer: Option D Explanation: No answer description available
for this question. |
|
16. |
Which of the following concepts
means adding new components to a program as it runs? |
|||||||
Answer: Option D Explanation: No answer description available
for this question. |
|
17. |
Which of the following
statement is correct? |
|||||||
Answer: Option A Explanation: No answer description available
for this question. |
|
18. |
Which of the following
correctly describes overloading of functions? |
|||||||
Answer: Option C Explanation: No answer description available
for this question. |
|
19. |
Which of the following approach
is adapted by C++? |
|||||||
Answer: Option B Explanation: No answer description available
for this question. |
|
20. |
Which of the following is
correct about function overloading? |
|||||||
Answer: Option D Explanation: No answer description available for this question. |