Top 150+ C++ Language Quiz Questions and Answers 2019-2020 - 1
Question: 1
The default visibility mode while inheriting members of a base class is ____
(A) Extended public
(B) Public
(C) Protected
(D) Private
Ans: D
Private
Question: 2
Single, multiple, multilevel, hybrid and hierarchical are all types of ____
(A) Overloading
(B) Encapsulation
(C) Inheritance
(D) Polymorphism
Ans: C
Inheritance
Question: 3
When a class is inherited by public visibility mode the public members of base class are derived as ____ of derived class.
(A) Public members
(B) Protected members
(C) Private members
(D) None
Ans: A
Public members
Question: 4
Classes used only for deriving other classes are called ___
(A) Abstract classes
(B) Derived classes
(C) Public classes
(D) Objects
Ans: A
Abstract classes
Question: 5
A derived class that inherits from multiple base class is known as ____
(A) Single inheritance
(B) Multiple inheritance
(C) Multilevel inheritance
(D) Hybrid inheritance
Ans: B
Multiple inheritance
DC Generator Questions and Answers Pdf More
Electromagnetic Induction Quiz Questions and Answers More
Basic Electronics Quiz Questions with Answers Pdf More
Wireless Communication MCQ Questions with Answers More
Digital Communication Quiz Questions and Answers Pdf More
Power Plant Engineering Multiple Choice Questions and Answers Pdf More
Verbal Ability Word Utilization Questions and Answers More
Questions on Prepositions for IBPS, SBI, RBI Banking More
Jumbled Sentences/Words Quiz Questions for School Students More
Top 1000+ Multimedia Online Test More