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

9/27

Page

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

Which of the following is the fourth problem-solving step?

Select an option to see the answer and solution.

Within parentheses, catch blocks can have _____

Select an option to see the answer and solution.

The while loop is referred to as a(n) _____ loop because the loop condition is tested at the beginning of the loop

Select an option to see the answer and solution.

The word case used in the switch statement represents a

Select an option to see the answer and solution.

Function templates _____________

Select an option to see the answer and solution.

The statement int num[2][3]={{3,8,6}, {9,4,7}};

Select an option to see the answer and solution.

Private data can be accessed by

Select an option to see the answer and solution.

The store of memory available to programs is the _____

Select an option to see the answer and solution.

The most common operation used in constructors is _____

Select an option to see the answer and solution.

When a function performs tasks based on a decision, it has _____

Select an option to see the answer and solution.

To create a template class, you begin with _________

Select an option to see the answer and solution.

Which of the following is a C++ object?

Select an option to see the answer and solution.

A variable is _____

Select an option to see the answer and solution.

A function can

Select an option to see the answer and solution.

The statement float values[]={3.14, -7.86, 36.96, 4.87};

Select an option to see the answer and solution.

A constructor initialization list is preceded by _____

Select an option to see the answer and solution.

When the compiler places a copy of a small function's statements directly into a program, the function is said to be _____

Select an option to see the answer and solution.

A group of related fields that contain all of the data about a specific person, place, or thing is called a

Select an option to see the answer and solution.

To send output to a file, you need to include the _____ header file in your program

Select an option to see the answer and solution.

A C++ _____ is a program that runs in a DOS window

Select an option to see the answer and solution.