C++ Online Exam-Quiz1

C++ Online Exam-Quiz1

1. Which of the following concepts of OOPS means exposing only necessary information to client?

 
 
 
 

2. Which of the following statements is correct?

 
 
 
 

3. Which of the following statement is correct?

 
 
 
 

4. Which of the following term is used for a function defined inside a class?

 
 
 
 

5. Which of the following approach is adapted by C++?

 
 
 
 

6. Which of the following concepts provides facility of using object of one class inside another class?

 
 
 
 

7. Which of the following correctly describes overloading of functions?

 
 
 
 

8. Which of the following concepts means adding new components to a program as it runs?

 
 
 
 

9. How many types of polymorphisms are supported by C++?

 
 
 
 

10. Which of the following is correct about function overloading?

 
 
 
 

11. cout is a/an __________ .

 
 
 
 

12. Which of the following statement is correct?

 
 
 
 

13. Which of the following concepts means determining at runtime what method to invoke?

 
 
 
 

14. Which of the following cannot be friend?

 
 
 
 

15. Which of the following is an abstract data type?

 
 
 
 

16. Which of the following is not the member of class?

 
 
 
 

17. How many instances of an abstract class can be created?

 
 
 
 

18. Which of the following concept of oops allows compiler to insert arguments in a function call if it is not specified?

 
 
 
 

19. Which of the following is not a type of constructor?

 
 
 
 

20. Why reference is not same as a pointer?

 
 
 
 

Question 1 of 20

error: Content is protected !!