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

12/27

Page

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

Catch blocks must _____

Select an option to see the answer and solution.

An exception specification begins with the keyword _____

Select an option to see the answer and solution.

You construct a class in two sections, known as the _____

Select an option to see the answer and solution.

It is sometimes useful to specify a class from which no objects will ever be created

Select an option to see the answer and solution.

The statement i* = 3 is equivalent to

Select an option to see the answer and solution.

The complement operator is represented by the symbol

Select an option to see the answer and solution.

One of the relational operators in the C language is

Select an option to see the answer and solution.

Within a program, you can instantiate ________that have a class template type

Select an option to see the answer and solution.

The rules to any programming language are its _______

Select an option to see the answer and solution.

Which of the following backslash codes used for bell?

Select an option to see the answer and solution.

The last statement in a value-returning function is always _____

Select an option to see the answer and solution.

One of the logical operators in the C language is represented by the symbol

Select an option to see the answer and solution.

Which of the following declares and initializes an Integer variable named numltems?

Select an option to see the answer and solution.

Which of the following tells C++ to display numbers in fixed notation?

Select an option to see the answer and solution.

The #include instruction is called a

Select an option to see the answer and solution.

Another drawback to returning an error code from a function is that any error code returned by the function

Select an option to see the answer and solution.

Classes hold _____

Select an option to see the answer and solution.

In C++, the address operator is the following symbol _____

Select an option to see the answer and solution.

Which of the following is false?

Select an option to see the answer and solution.

The function that takes arguments to set the bits of cout is _____

Select an option to see the answer and solution.