2nd puc computer science chapter 9 mcq

2nd puc computer science chapter 9 mcq,2nd puc computer science chapter 9 mcq online test,2nd puc computer science chapter 9 mcq questions,2nd puc computer science chapter 9 mcq with answers,2nd puc computer science mcq questions,2nd puc computer science mcq with answers,2nd puc computer science multiple choice questions,2nd puc computer science multiple choice questions with answers,2nd puc computer science multiple choice questions with answers pdf,2nd puc computer science multiple choice questions pdf,

1. Constructor does not take any arguments is a _____________.





ANSWER= A) Zero arguments constructor

 

2. Constructor that takes one or more arguments is called _________.





ANSWER= B) Parameterized constructor

 

3. ______constructor can be invoked by explicit or implicit call.





ANSWER= B) Parametrized constructor

 

4. _____are being member functions that destroy an object automatically.





ANSWER= D) Destructor

 

5. Destructor is preceded by a ______symbol.





ANSWER= C) ~

 

6. _________is the class whose properties are inherited to another class.





ANSWER= A) Base class

 

7. _________is the class that inherits properties from base class (es).





ANSWER= B) Derived class

 

8. _____is a default visibility mode in inheritance.





ANSWER= C) private

 

9. A derived class with only one base class is known as____________ .





ANSWER= A) Single inheritance

 

10. The class can also be derived from the classes that are already derived is called____.





ANSWER= B) Multilevel inheritance

 

11. Name the keyword used to define the inline function.





ANSWER= B) inline

 

12. Friend function is a ___________function.





ANSWER= B) Non-member

 

13. There are __________types of constructor.





ANSWER= D) 3

 

14. A___________is a special member function that is used in classes to initialize the objects of a class automatically.





ANSWER= A) Constructor

 

15. ________ are member functions that destroy an object automatically.





ANSWER= B) Destructor

 

16. A constructor that does not take any arguments is a______________.





ANSWER= C) Default constructor

 

17. A constructor that takes one or more arguments is a called___________.





ANSWER= C) Parameterized constructor

 

18. Parameterized constructor can be invoked by ____________.





ANSWER= C) Both a & b

 

19. constructor should have either ________ access





ANSWER= A) public

2nd puc computer science chapter 9 mcq  2nd puc computer science chapter 9 mcq Reviewed by Vision Academy on March 05, 2023 Rating: 5

No comments:

CheckOut

Powered by Blogger.