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

8/27

Page

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

When a variable exists or is accessible, it is said to be _____

Select an option to see the answer and solution.

The feature that allows the same operations to be carried out differently depending on the object is _____

Select an option to see the answer and solution.

Which of the following is a C++ class?

Select an option to see the answer and solution.

Precedence determines which operator

Select an option to see the answer and solution.

When using the standard files that come with the C++ compiler, you should surround the header file name with _____

Select an option to see the answer and solution.

The loop condition in a flowchart is represented by a(n) _____

Select an option to see the answer and solution.

Which of the following, if any, are invalid names for a variable?

Select an option to see the answer and solution.

Inheritance is the principle that

Select an option to see the answer and solution.

You typically initialize a String variable to _____

Select an option to see the answer and solution.

The set of instructions for how to tie a bow is an example of the _____ structure

Select an option to see the answer and solution.

If no exception is thrown ________

Select an option to see the answer and solution.

A program that predicts the exact sequence in which events will take place is said to be ________

Select an option to see the answer and solution.

A blueprint for creating an object in C++ is called _____

Select an option to see the answer and solution.

The prototype for a derived class constructor may include arguments for

Select an option to see the answer and solution.

Overloading involves writing two or more functions with ________

Select an option to see the answer and solution.

You ___________ overload function templates

Select an option to see the answer and solution.

You typically initialize Character variables to _____

Select an option to see the answer and solution.

One way pointers are useful is to refer to a memory address that has no _____

Select an option to see the answer and solution.

A member function uses the correct object when you call it because

Select an option to see the answer and solution.

Two access specifiers in C++ are

Select an option to see the answer and solution.