Q.1.

An object is a(n) _____ of a class

Q.2.

The word case used in the switch statement represents a

Q.3.

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

Q.4.

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

Q.5.

The most common operation used in constructors is _____

Q.6.

_____ variables are declared outside of any statement block

Q.7.

Function templates _____________

Q.8.

The C++ expression p --> val means the same thing as

Q.9.

Two access specifiers in C++ are

Q.10.

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

Q.11.

"Rohan Motors" is a _____

Q.12.

To use the this pointer with a member function, you _____

Q.13.

A function that is called automatically each time an object is destroyed is a

Q.14.

The end of string is recognized by

Q.15.

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

Q.16.

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

Q.17.

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

Q.18.

Which of the following are valid characters for a numeric literal constant?

Q.19.

Which of the following statements opens a file named temp.dat for output?

Q.20.

When the function char someFunction(int x) is executed,

Q.21.

A(n) _____ is a numeric variable used for counting something

Q.22.

To create a template class, you begin with _________

Q.23.

Which of the following is a C++ object?

Q.24.

The logical NOT operator represented by is a

Q.25.

A programming structure that contains data and a pointer to the next object is a

Q.26.

A variable declared in a function is called a(n) _____ variable

Q.27.

A function that is prototype as int calculate(int num); may

Q.28.

We can output text to an object of class ofstream using the insertion operator « because

Q.29.

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

Q.30.

Private data can be accessed by

Q.31.

Code that has already been tested is said to be _____

Q.32.

Within parentheses, catch blocks can have _____

Q.33.

Any #include files may contain

Q.34.

Which of the following will store the letter H in a Character variable named initial?

Q.35.

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

Q.36.

Variables that hold memory addresses are called _____

Q.37.

The element of an array is

Q.38.

A variable is _____

Q.39.

When variables refer to attributes of an entity (such as name, address, and phone number of a person), those attributes form a _____

Q.40.

When you write to a file rather than the screen, you use the C++ class _____

Q.41.

A do-while loop contains

Q.42.

The operator that allocates new memory is _____

Q.43.

Whis is true?

Q.44.

The store of memory available to programs is the _____

Q.45.

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

Q.46.

When a break statement is used in a loop, the control skips the rest of the statements in the loop after it and jumps

Q.47.

Compared with the classes from which they are derived, inherited classes may have _____

Q.48.

The general form of do-while statement is

Q.49.

When the function void someFunction(int x) throw(char) is executed,_____

Q.50.

A derived class _____ override attributes of a parent class