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

10/27

Page

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

A difference, between reference variables and pointers is that

Select an option to see the answer and solution.

A 'C' function does not contain

Select an option to see the answer and solution.

_____ variables remain in memory until the program ends

Select an option to see the answer and solution.

The outline or the definition of a function is called its

Select an option to see the answer and solution.

Which of the following is false?

Select an option to see the answer and solution.

A function stub typically contains

Select an option to see the answer and solution.

A variable's _____ indicates which portions of the program can use the variable

Select an option to see the answer and solution.

If an integer object is thrown with a throw statement, then a subsequent catch block has a usable match if the type of the catch argument is _____

Select an option to see the answer and solution.

_____ variables are declared outside of any statement block

Select an option to see the answer and solution.

The end of string is recognized by

Select an option to see the answer and solution.

Variable names known only to the procedure in which they are declared are ________

Select an option to see the answer and solution.

Whis is true?

Select an option to see the answer and solution.

The keyword used to define a structure is

Select an option to see the answer and solution.

If you omit any constructor argument when you instantiate an object, you must use default values

Select an option to see the answer and solution.

The C++ expression p → val means the same thing as

Select an option to see the answer and solution.

Which of the following tells C++ to display numbers with zero decimal places?

Select an option to see the answer and solution.

Code that has already been tested is said to be _____

Select an option to see the answer and solution.

If no constructors can specified for a derived class, objects of the derived class will use the constructors in the base class

Select an option to see the answer and solution.

The get() function returns _____

Select an option to see the answer and solution.

The most efficient data type for a variable that the number 20000 is the _____ data type

Select an option to see the answer and solution.