My Report

C++ OOP Test – 3


Correct Answer: 2 points | Wrong: -1 point
Grades: A* (100% score) | A (80%-99%) | B (60%-80%) | C (40%-60%) | D (0%-40%)
advertisement

1. What happens if a class does not have a name?

2. Which of the following statement is true?
I) In Procedural programming languages, all function calls are resolved at compile-time
II) In Object Oriented programming languages, all function calls are resolved at compile-time

3. Which of the following is correct in C++?

4. Which concept is used to implement late binding?

5. Which of the following cannot be used with the virtual keyword?

6. Which of the following supports the concept that reusability is a desirable feature of a language?

7. Which of the following is a static polymorphism mechanism?

8. Which of the following is not a type of inheritance?

9. Which of the following is correct?

10. Which of the following is true?
I) All operators in C++ can be overloaded.
II) The basic meaning of an operator can be changed.

11. Which of the following is correct?

12. Which members are inherited but are not accessible in any case?

13. Which of the following is correct?

14. Which of the following is used to make an abstract class?

15. Which operator is overloaded for a cout object?


 

Start practicing “1000 MCQs on C++”, and once you are ready, you can take tests on all topics by attempting our “C++ Test Series”.

Manish Bhojasia - Founder & CTO at Sanfoundry
Manish Bhojasia, a technology veteran with 20+ years @ Cisco & Wipro, is Founder and CTO at Sanfoundry. He lives in Bangalore, and focuses on development of Linux Kernel, SAN Technologies, Advanced C, Data Structures & Alogrithms. Stay connected with him at LinkedIn.

Subscribe to his free Masterclasses at Youtube & discussions at Telegram SanfoundryClasses.