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

11/27

Page

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

The number 5.5e3 is a _____ constant

Select an option to see the answer and solution.

The compiler determines the type used in a template function via ___________

Select an option to see the answer and solution.

Simple routines that programmers use as place holders while a system is being tested are called _____

Select an option to see the answer and solution.

You can place function templates

Select an option to see the answer and solution.

The two operators && an || are

Select an option to see the answer and solution.

The arguments that determine the state of the cout object are called _____

Select an option to see the answer and solution.

Static variables are sometimes called

Select an option to see the answer and solution.

The variables declared in a statement block or listed in a function header's parameterlist are considered _____ variables

Select an option to see the answer and solution.

An expression

Select an option to see the answer and solution.

In the C language, the character type of constant is delimited by using

Select an option to see the answer and solution.

One way in which a structure differs from an array is that _____

Select an option to see the answer and solution.

A default constructor _____

Select an option to see the answer and solution.

The number 125.35 is a _____

Select an option to see the answer and solution.

When a class serves as a base class to others, _____

Select an option to see the answer and solution.

Storing a class definition in a separate file is an example of

Select an option to see the answer and solution.

Which is true?

Select an option to see the answer and solution.

A class named student must have a constructor whose name is

Select an option to see the answer and solution.

The statement double val[15]={44.123456};

Select an option to see the answer and solution.

Which of the following C++ expressions will find the square root of the number 16?

Select an option to see the answer and solution.

It is illegal to make objects of one class members of another class

Select an option to see the answer and solution.