Q.1.

Which of the following numerical value(s) is(are) invalid constant(s)?

Q.2.

The braces that surround the code in a 'C program

Q.3.

A comment

Q.4.

The keyword used to define a structure is

Q.5.

The function that takes arguments to set the bits of count is _____

Q.6.

A class named Student must have a constructor whose name is

Q.7.

The measure of how well the operations in a function relate to one another is _____

Q.8.

Which of the following is NOT included in the header of a function?

Q.9.

Which of the following is false?

Q.10.

The indirection operator is the

Q.11.

Which of the following is(are) valid identifier(s)?

Q.12.

When two types are used in a function template and one is labeled T, the other

Q.13.

To write data that contains variables of type float, to an object of type ofstream, you should use

Q.14.

If you want only one memory location to be reserved for a class variable, no matter how many objects are instantiated, you should declare the variable as________

Q.15.

A function's single most important role is to

Q.16.

An address is a _____ , while a pointer is a _____

Q.17.

The actual arguments cannot he

Q.18.

A class hierarchy

Q.19.

The _____ function returns the uppercase equivalent of a character

Q.20.

Procedural cohesion is similar to sequential cohesion, except that with procedural cohesion _____

Q.21.

The statement double total = 0.performs _____

Q.22.

The function stricmp("Jose", "JOSE") will return _____

Q.23.

Which of the following C++ expressions is equivalent to the mathematical expression 53 ?

Q.24.

The best-written classes have

Q.25.

When you instantiate a derived class object, a constructor for the derived class _____

Q.26.

Typing the function's name as Main, rather than main, is an example of

Q.27.

One drawback to returning an error code from a function is _____

Q.28.

Recursive Functions

Q.29.

Which of the following creates an animal object named dog?

Q.30.

The getline() function reads a line of text until _____

Q.31.

The two parts of a function are the

Q.32.

The general principle underlying object-oriented error handling is that a called function should __________

Q.33.

Which is true?

Q.34.

A predefined function that may be used to handle memory allocation errors is

Q.35.

The right shift operator is represented by the symbol

Q.36.

In C++, class definitions are most often

Q.37.

Making class members inaccessible to nonmember functions is an example of

Q.38.

Providing two or more constructors for the same class _____

Q.39.

A constructor may be _____

Q.40.

When the compiler cannot differentiate between two overloaded constructors, they are called______

Q.41.

Assuming the following three operators appear in an expression (without parentheses), which of the operators will be performed first?

Q.42.

The purpose of a conditional operator is to

Q.43.

The extraction operator >> is a(n)

Q.44.

Which of the following is false?

Q.45.

A function in a derived class that has the same name as a function in the parent class _____

Q.46.

3 is a _____ constant

Q.47.

Software that can be used in applications other than the one for which it was originally written is called

Q.48.

A function argument is

Q.49.

The code that you enter into a C++ program is called _____

Q.50.

Which of the following, if any, are valid names for variables?