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

17/27

Page

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

The difference between a return and a throw is that _____

Select an option to see the answer and solution.

Which is a good reason for passing a variable's address to a function?

Select an option to see the answer and solution.

The string HELLO WORLD needs

Select an option to see the answer and solution.

Library header files usually contain

Select an option to see the answer and solution.

A C++ term meaning "generic" is

Select an option to see the answer and solution.

Before object-oriented exception handling was practiced, _____

Select an option to see the answer and solution.

The preprocessor directive always ends with

Select an option to see the answer and solution.

A constructor initialization list produces similar results to

Select an option to see the answer and solution.

Which of the following stream manipulators advances the cursor to the next line on the computer screen?

Select an option to see the answer and solution.

6.5 is a _____ constant

Select an option to see the answer and solution.

The time and memory involved in calling a function represent the function's _____

Select an option to see the answer and solution.

Which function is most likely to have procedural cohesion?

Select an option to see the answer and solution.

A pointer is

Select an option to see the answer and solution.

The instruction "If it's raining outside, then take an umbrella to work" is an example of the _____ structure

Select an option to see the answer and solution.

Which of the following statements will assign the address of the age variable to the agePtr pointer?

Select an option to see the answer and solution.

The >> (extraction) operator stops reading characters from the keyboard as soon as the user _____

Select an option to see the answer and solution.

In the statement template <class T>,

Select an option to see the answer and solution.

The null character is represented by

Select an option to see the answer and solution.

The break statement is

Select an option to see the answer and solution.

A variable w with a value 67 may be defined with _______

Select an option to see the answer and solution.