• Shuffle
    Toggle On
    Toggle Off
  • Alphabetize
    Toggle On
    Toggle Off
  • Front First
    Toggle On
    Toggle Off
  • Both Sides
    Toggle On
    Toggle Off
  • Read
    Toggle On
    Toggle Off
Reading...
Front

Card Range To Study

through

image

Play button

image

Play button

image

Progress

1/20

Click to flip

Use LEFT and RIGHT arrow keys to navigate between flashcards;

Use UP and DOWN arrow keys to flip the card;

H to show hint;

A reads text to speech;

20 Cards in this Set

  • Front
  • Back

EXIT_FAILURE and ________ are named constants that may be used to indicate success or failure when the exit( ) function is called.

EXIT_SUCCESS

When used as parameters, these types of variables allow a function to access the parameter's original argument.

reference

If a function is called more than once in a program, the values stored in the function's local variables do not ________ between function calls.

persist

A function ________ contains the statements that make up the function.

definition

This function causes a program to terminate, regardless of which function or control mechanism is executing.

exit()

The numeric data types in C++ can be broken into two general categories:

integer and floating point

These are used to declare variables that can hold real numbers.

floating point data types

The ________ causes a program to wait until information is typed at the keyboard and the Enter key is pressed.

cin object

Assuming dataFile is a file stream object,


the statement dataFile.close( ); ___________

closes a file

Input values should always be checked for:

reasonableness;



division by zero, if division is taking place;



appropriate range;

This statement lets the value of a variable or expression determine where the program will branch to.

switch

This means to increase a value by one.

increment

The do-while loop is a ________ loop that is ideal in situations where you always want the loop to iterate at least once.

post-test

These are operators that add and subtract one from their operands.

++ and --

This statement may be used to stop a loop's current iteration and begin the next one.

continue

This vector function returns true if the vector has no elements.

empty

An array can store a group of values, but the values must be:

the same data type

True or False: The amount of memory used by an array depends upon the array's data type and the number of elements in the array.

true

What is the last legal subscript that can be used with the following array? int values[5];

4

An array's size declarator must be a(n)________ with a value greater than ________.

constant integer expression; 0