Object Oriented Programming Using C++ - Part 1 Online Exam Quiz
Object Oriented Programming Using C++ - Part 1 GK Quiz. Question and Answers related to Object Oriented Programming Using C++ - Part 1. MCQ (Multiple Choice Questions with answers about Object Oriented Programming Using C++ - Part 1
You can use C++ as a procedural, as well as an object-oriented, language
Options
A : True
B : False
C : -
D : -
A default catch block catches
Options
A : all thrown objects
B : no thrown objects
C : any thrown object that has not been caught by an earlier catch block
D : all thrown objects that have been caught by an earlier catch block
Adding a derived class to a base class requires fundamental changes to the base class
Options
A : True
B : False
C : -
D : -
Format flags may be combined using
Options
A : the bitwise OR operator (|)
B : the logical OR operator (||)
C : the bitwise AND operator (&)
D : the logical AND operator (&&)
The use of the break statement in a switch statement is
Options
A : optional
B : compulsory
C : not allowed. It gives an error message
D : to check an error
To expose a data member to the program, you must declare the data member in the _____ section of the class
Options
A : common
B : exposed
C : public
D : unrestricted
Evaluate the following expression: 3 >6&&7>4
Options
A : True
B : False
C : -
D : -
A function that changes the state of the cout object is called a(n) _____
Options
A : member
B : adjuster
C : manipulator
D : operator
A C++ program contains a function with the header int function(double d, char c). Which of the following function headers could be used within the same program?
Options
A : char function(double d, char c)
B : int function(int d, char c)
C : both (a) and (b)
D : neither (a) nor (b)
When the compiler cannot differentiate between two overloaded constructors, they are called
Options
A : overloaded
B : destructed
C : ambiguous
D : dubious
Artificial Intelligence - Part 1 more Online Exam Quiz
Electronic Principles - Part 1
Management Information Systems - Part 1
Operating Systems Concepts - Part 1