Vidyalelo
Computer Science · all questions

Object Oriented Programming Using C++
practice.

Practice every MCQ with options. Use Show answers when you want the correct option and solution.

535

Questions

4/27

Page

Pick an option on a question to see the right answer and solution.

A normal C++ operator that acts in special ways on newly defined data types is said to be

Select an option to see the answer and solution.

A function in a derived class that has the same name as a function in the parent class

Select an option to see the answer and solution.

In which statements, does a 'continue' statements cause the control to go directly to the test condition and then continue the looping process?

Select an option to see the answer and solution.

Which of the following statements is false?

Select an option to see the answer and solution.

In a class specifier, data or functions designated private are accessible

Select an option to see the answer and solution.

When a function includes a throw statement for errors, the call to the potentially offending function should be placed within a _____ block

Select an option to see the answer and solution.

The scope resolution operator is

Select an option to see the answer and solution.

"C++" is a _____ constant

Select an option to see the answer and solution.

In a C++ program, which of the following can be thrown?

Select an option to see the answer and solution.

The items listed in the function header are called _____

Select an option to see the answer and solution.

A translator that notes whether you have used a language correctly may be called a _____

Select an option to see the answer and solution.

The feature in object-oriented programming that allows the same operation to be carried out differently, depending on the object, is_____

Select an option to see the answer and solution.

When an argument is passed by reference,

Select an option to see the answer and solution.

The process of extracting the relevant attributes of an object is known as

Select an option to see the answer and solution.

Which of the following statements uses the computer's clock to initialize the random number generator?

Select an option to see the answer and solution.

A static data member is given a value

Select an option to see the answer and solution.

You must provide a constructor for a derived class

Select an option to see the answer and solution.

If you want to override constructor default values for an object you are instantiating, you must also override

Select an option to see the answer and solution.

To use one of the C++ built-in mathematical functions, you must include the _____ header file in your program

Select an option to see the answer and solution.

Errors in a program are called

Select an option to see the answer and solution.