Q.1.

A data member holds a 1 or 0 depending on whether taxes have been paid. The best identifier for this member is _____

Q.2.

The switch variable can be of

Q.3.

Which of the following statements creates a named constant called driverAge whose value is 16?

Q.4.

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

Q.5.

The function whose prototype is void getData(Item *thing); receives

Q.6.

A constructor initialization list produces similar results to

Q.7.

A program will have one function prototype for each function defined in the programmer-defined section of the program. (Assume that the programmer-defined section is located below the main function.)

Q.8.

To include the double quotes as part of the control string we use the symbol

Q.9.

The difference between a return and a throw is that _____

Q.10.

You can use the C++ _____ function to assign a value to a String variable

Q.11.

Which of the following is a valid condition for an if statement? (The condition should be both syntactically and logically valid.)

Q.12.

Any output manipulator function you create _____

Q.13.

Which of the following formulas can be used to generate random integers between 1 and 10?

Q.14.

An expression contains relational, assignment and arithmetic operators. In the absence of parentheses, the order of evaluation will be

Q.15.

The number of structures than can be declared in a single statement is

Q.16.

The rules of a programming language are called its _____

Q.17.

The C++ keyword for declaring a variable that contains a decimal point is _____

Q.18.

A pointer is

Q.19.

Inheritance is the principle that

Q.20.

A function that uses variable types is called __________

Q.21.

Assume a class Derv that is privately derived from class Base. An object of class Derv located in main() can access

Q.22.

Reference variables and const class members _____

Q.23.

Which functions do not have a this pointer?

Q.24.

In the statement template<class T>,

Q.25.

Variables that are declared in a block are known as _____ variables to that block

Q.26.

The standard input stream, which refers to the keyboard, is called

Q.27.

A C++ statement must end in a

Q.28.

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

Q.29.

A measure of the strength of the connection between two functions is

Q.30.

A pattern for creating an object is called a(n) _____

Q.31.

To pass an array by reference, you

Q.32.

Format flags may be combined using the _____

Q.33.

You have declared an integer pointer called point You have also declared an integer called number. Which statement is the correct format?

Q.34.

The keyword virtual indicates that

Q.35.

The cout << sales[+ sales[1]; statement will______

Q.36.

An array element is accessed using

Q.37.

Having more than one function with the same name is called

Q.38.

Which of the following is an access specifier?

Q.39.

You can code a default exception handler by creating a catch block

Q.40.

The null character is represented by

Q.41.

The pow and sqrt functions return a(n) _____ type number

Q.42.

You can throw _____

Q.43.

A static data member is given a value

Q.44.

If the code and fee arrays are parallel, the fee that corresponds to the code stored in the code[element is located in the _____ element

Q.45.

Local variables _____

Q.46.

Student senior(); is a(n)_________

Q.47.

One of the valid escape sequences used in the C language is

Q.48.

Programmer-defined functions can be

Q.49.

The string HELLO WORLD needs

Q.50.

If you want to override constructor default values for an object you are instantiating, you must also override