Q.1.

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

Q.2.

Adding a derived class to a base class requires fundamental changes to the base class

Q.3.

You _____ write your own container classes

Q.4.

A static data member is given a value

Q.5.

When a function includes a throw statement for errors, the call to the potentially offending function should be placed within a _____ block

Q.6.

When a child class function is called, the compiler looks first for a matching function name in the _____

Q.7.

Which of the following while clause will stop the loop when the value in the age variable is less than the number 0?

Q.8.

Redirection redirects

Q.9.

If container classes are carefully constructed, then these tools are available to work with structures that are not ______

Q.10.

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

Q.11.

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

Q.12.

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

Q.13.

When you pass a variable _____, C++ passes only the contents of the variable to the receiving function

Q.14.

A widget is to the blueprint for a widget as an object is to

Q.15.

An array name is a _____

Q.16.

The first element in a string is

Q.17.

A function that changes the state of the cout object is called a(n) _____

Q.18.

Format flags may be combined using

Q.19.

If an integer object is thrown with a throw statement, then a subsequent catch block has a usable match if the type of the catch argument is

Q.20.

You must provide a constructor for a derived class

Q.21.

The scope resolution operator is

Q.22.

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

Q.23.

The most efficient data type for a variable that stores the number 4.6eis the _____ data type

Q.24.

You mark the beginning of a function's block of code with the _____

Q.25.

Header files often have the file extension _____

Q.26.

C++ allows you to define the same functions more than once in the same program _____

Q.27.

To enter a comment in a C++ program, you begin the comment with _____

Q.28.

Variables declared outside a block are called _____

Q.29.

A C++ program contains a function with the header int function(double d, char c). Which of the following function headers could be used within the same program?

Q.30.

The use of the break statement in a switch statement is

Q.31.

The highest level of cohesion is

Q.32.

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

Q.33.

"C++" is a _____ constant

Q.34.

Which of the following is a C++ object?

Q.35.

The compiler converts your C++ instructions into _____

Q.36.

You separate a derived class name from its access specifier with

Q.37.

To use one of the C++ built-in mathematical functions, you must include the _____ header file in your program

Q.38.

In a C++ program, which of the following can be thrown?

Q.39.

A fundamental type such as int or double is a _____

Q.40.

Files whose names end in .h are called _____ files

Q.41.

Functions that returns information about an object's state can be classified as ________

Q.42.

Which of the following calls a function named displayName, passing it no actual arguments?

Q.43.

The function whose prototype is Item getData(void); returns _____

Q.44.

When accessing a structure member, the identifier to the left of the dot operator is the name of

Q.45.

The name of a function ends with

Q.46.

An auxiliary function _____

Q.47.

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

Q.48.

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.49.

The feature that allows you to use the same function name for separate functions that have different argument lists is called _____

Q.50.

Using new may result in less _____ memory than using an array