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

14/27

Page

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

Assuming the following three operators appear in an expression (without parentheses), which of the operators will be performed first?

Select an option to see the answer and solution.

The code that you enter into a C++ program is called _____

Select an option to see the answer and solution.

If a base class member is private, then

Select an option to see the answer and solution.

Which of the following instructions tells C++ to merge the source code from the iostream.h file into the current file?

Select an option to see the answer and solution.

The statement double total = 0.0; performs _____

Select an option to see the answer and solution.

The two parts of a function are the

Select an option to see the answer and solution.

The general principle underlying object-oriented error handling is that a called function should __________

Select an option to see the answer and solution.

Which of the following is false?

Select an option to see the answer and solution.

Reference variables and const class member

Select an option to see the answer and solution.

The actual arguments cannot he

Select an option to see the answer and solution.

The function stricmp("Jose", "JOSE") will return _____

Select an option to see the answer and solution.

Which is true?

Select an option to see the answer and solution.

A predefined function that may be used to handle memory allocation errors is

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.

The _____ function returns the uppercase equivalent of a character

Select an option to see the answer and solution.

When you instantiate a derived class object, a constructor for the derived class _____

Select an option to see the answer and solution.

A constructor may be _____

Select an option to see the answer and solution.

Software that can be used in applications other than the one for which it was originally written is called

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.

Typing the function's name as Main, rather than main, is an example of

Select an option to see the answer and solution.