Free computer quiz Online Test - MeritNotes

No. of Questions :10
Remaining Time :
1. The name of constructor must be ___
 
  • (a) 
  • (b) 
  • (c) 
  • (d) 

2. The destructor is prefixed by the character ___
 
  • (a) 
  • (b) 
  • (c) 
  • (d) 

3. When an instance of a class comes into scope, the function that executed is ____
 
  • (a) 
  • (b) 
  • (c) 
  • (d) 

4. How many destructors a class can have?
 
  • (a) 
  • (b) 
  • (c) 
  • (d) 

5. Constructor should be declared under the scope ___
 
  • (a) 
  • (b) 
  • (c) 
  • (d) 

6. When an object is passed by reference to constructor, the constructor that is executed is _____
 
  • (a) 
  • (b) 
  • (c) 
  • (d) 

7. Which of the following cannot have arguments?
 
  • (a) 
  • (b) 
  • (c) 
  • (d) 

8. Which one of the following is automatically executed when an object is created?
 
  • (a) 
  • (b) 
  • (c) 
  • (d) 

9. The constructors defined by the computers in the absence of user defined constructor is called as ____
 
  • (a) 
  • (b) 
  • (c) 
  • (d) 

10. Which of the following do not return any value ____
 
  • (a) 
  • (b) 
  • (c) 
  • (d)