Home > C++ Programming > Quizzes > Object Oriented Programming Using C++ Practice Test
Object Oriented Programming Using C++ Practice Test
Fast practice, instant feedback. Timer auto-submits when time’s up.
Avg score: 0% Most missed: “Which of the following is not a feature of OOPs.”
Object Oriented Programming Using C++ Practice Test
Time left 00:00
25 Questions

1. Which feature in OOP allows reusing code?
2. ..... are the reserved words of the programming language.
3. A white space is :
4. A friend function for unary operator overloading takes .... .arguments.
5. A derived class with only one base class
6. Which of the following cannot be declared as virtual?
7. Which of the following is not correct
8. Which of the following statement is correct?
9. Which of the following statement is correct whenever an object goes out of scope?
10. A ........ is a memory portion of memory to store a determined value.
11. If the copy constructor receives its arguments by value, the copy constructor would
12. The class that derived from standard library ios contain output functions
13. How many objects can be created from an abstract class?
14. When following piece of code is executed, what happens?b = 3; a = b++;
15. To increase the value of c by one which of the following statement is wrong?
16. Which of the following statements is correct when a class is inherited publicly?
17. The pointer refers to an object that has called the member function currently
18. A stream of byte that is the interface between IO and IO devices
19. The function used to disply one character at a time
20. ..... refer to the names of variables, functions, arrays, classes, etc.
21. The function contain in the ios class to set width
22. What will be the values of x, m and n after the execution of the following statements? int x, m, n; m = 10; n = 15; x = ++m + n++;
23. Write the range of value of the data type ‘int’
24. Destructor has the same name as the constructor and it is preceded by ______ .
25. Consider the following statements: int x = 22,y=15; x = (x>y) ? (x+y) : (x.y); What will be the value of x after executing these statements?