Free computer quiz Online Test - MeritNotes

No. of Questions :10
Remaining Time :
1. Data abstraction in C++ is achieved by
 
  • (a) 
  • (b) 
  • (c) 
  • (d) 

2. Data hiding refers to _____
 
  • (a) 
  • (b) 
  • (c) 
  • (d) 

3. Which of the following statements in NOT true?
 
  • (a) 
  • (b) 
  • (c) 
  • (d) 

4. The private data of a class can be accessed
 
  • (a) 
  • (b) 
  • (c) 
  • (d) 

5. The member functions declared under which scope can be accessed by the objects.
 
  • (a) 
  • (b) 
  • (c) 
  • (d) 

6. void sum:: input ()The above line tells
 
  • (a) 
  • (b) 
  • (c) 
  • (d) 

7. Declaration and function definitions are two specifications of which of the following
 
  • (a) 
  • (b) 
  • (c) 
  • (d) 

8. The body of the class starts and ends with
 
  • (a) 
  • (b) 
  • (c) 
  • (d) 

9. The class members declared _____ can be accessed only within the class and the members of the inherited classes.
 
  • (a) 
  • (b) 
  • (c) 
  • (d) 

10. Declaration of class member are declared as private can be accessed only
 
  • (a) 
  • (b) 
  • (c) 
  • (d)