| Term | Definition |
| formal parameter | A variable declared in the funtion heading is what? |
| actual parameter | A variable or expression listed in a call to a function. |
| function prototype | What is the function heading without the body of the function. |
| iostream fstream | When opening files you must include the header files <_____> and <_____>. |
| getline | In order to read a string containing blanks into a variable you use what function? |
| fin.close() | What code would you use to close the input file “fin” at the end of a program? |
| ifstream fin("input.dat") | How would you open the file input.dat at the beginning of a program? Use the ifstream variable fin. |
| improperly | If !fout.good () evaluates to true the file has opened properly or imporperly? |
| strVar.length() | How would you find the length of a string, where strVar is the variable for that string. |
| strVar.size() | How would you find the size of a string, where strVar is the variable for that string. |
| strVar.find('a') | If you wanted to find the char ‘a’ in the string strVar, what would you code? |
| toupper() | This function returns the uppercase version a character. |
| tolower() | This function returns the lowercase version of a character. |
| isalpha() | This function returns true if the character is a letter. |
| isdigit() | This function returns true if the character is a number. |
| isalnum() | This function returns true if the character is a digit or letter. |
| isspace() | This function returns true if the character is a whitespace. |
| ispunct() | This function returns true if the character is other than a letter, digit or a whitspace. |
| index | The ____ value specifies the position of the component in an array. |
| reference | Arrays are passed to functions by ____ only. |
| pointer variable | A variable whose content is a memory address. |
| dynamic variables | Variables that are created during program execution are called what? |
| dereferencing operator | The asterisk character * is called what when used as a unary operator? |
| dynamic arrays | Arrays created during the execution of a program are called what? |
| the content of the memory location pointed to by p | *p is read as… |
| dangling | Pointer variables that still contain the addresses of the deallocated memory spaces are said to be doing what? |
| automatic variable | A variable for which memory is allocated at block entry and deallocated at block exit is called a what? |
| static variable | A variable for which memory remains allocated as long as the program executes is called a what? |
| function overloading | Several functions with the same name is called what? |
| cctype | This header file is needed to use the character manipulation functions. |
| strcpy(str2,str1) | If you wanted to copy the C-style string str1 onto C-style str2 what function would you use? |
| strcmp(str1,str2) | If you wanted to compare the C-style strings str1 with str2, what function would be used? |
| strcat(str2,str1) | If you wanted to add the C-style str1 onto str2, what function would you use? |
| strlen(str) | If you wanted to find the length of the C-style string str, what function would be used? |
| str.c_str() | If you wanted to turn the string str into a c-style string what would you use? |