1. Which symbol is used to make comments ?  | 
			
			
			| // | 
			
			
			| # | 
			
			
			| !! | 
			
			
			<!--
 
  | 
			
			
			
			2. How would you insert pre-written code into a current program ?  | 
			
			
			| #read <file> | 
			
			
			| #get <file> | 
			
			
			| #include <file> | 
			
			
			#pre <file>
 
  | 
			
			
			
			3. Which symbols represent a block of code ?  | 
			
			
			| { ... code here } | 
			
			
			| ( ... code here ) | 
			
			
			| [ ... code here ] | 
			
			
			< ... code here >
 
  | 
			
			
			
			4. In which standard library file is the function printf() located ?  | 
			
			
			| stdlib.h | 
			
			
			| stdio.h | 
			
			
			| stdout.h | 
			
			
			stdoutput.h
 
  | 
			
			
			
			5. In order to properly use a variable...  | 
			
			
			| The variable must have a valid type. | 
			
			
			| The variable name can not be a keyword (part of the C syntax). | 
			
			
			| The variable name must begin with a letter. | 
			
			
			All of the above.
 
  | 
			
			
			
			6. Which mathematical operators are in the correct order ?  | 
			
			
			| Addition, Division, Modulus | 
			
			
			| Division, Multipication, Modulus | 
			
			
			| Modulus, Multipication, Subtraction | 
			
			
			Modulus, Addition, Division
 
  | 
			
			
			
			7. Which of the following are NOT relational operators ?  | 
			
			
			| > | 
			
			
			| < | 
			
			
			| == | 
			
			
			>=
 
  | 
			
			
			
			8. The first expression in a for loop is  | 
			
			
			| The test expression. | 
			
			
			| The step value of the loop. | 
			
			
			| The value of our counter variable. | 
			
			
			None of the above.
 
  | 
			
			
			
			9. What is the break statement used for ?  | 
			
			
			| To quit the program. | 
			
			
			| To quit the current iteration. | 
			
			
			| To stop the current iteration and begin the next iteration. | 
			
			
			None of the above.
 
  | 
			
			
			
			10. What is the continue statement used for ?  | 
			
			
			| To continue to the next line of code. | 
			
			
			| To stop the current iteration and begin the next iteration from the beginning. | 
			
			
			| As an alternative to the else statement. | 
			
			
			 None of the above.
 
  | 
			
			
			
			11. A function prototypes are useful  | 
			
			
			| Because they tell the compiler that a function is declared later. | 
			
			
			| Because they make the program more readable. | 
			
			
			| Because they allow the programmer to see a quick list of functions in the program along with the arguments for each function. | 
			
			
			All of the above.
 
  | 
			
			
			
			12. Because of variable scope  | 
			
			
			| Variables created in a function cannot be used another function. | 
			
			
			| Variables created in a function can be used in another function. | 
			
			
			| Variables created in a function can only be used in the main function | 
			
			
			None of the above.
 
  | 
			
			
			
			13. Which symbol is used to declare a pointer ?  | 
			
			
			| & | 
			
			
			| @ | 
			
			
			| * | 
			
			
			$
 
  | 
			
			
			
			14. Which symbol is used to reference a pointer ?  | 
			
			
			| * | 
			
			
			| & | 
			
			
			| @ | 
			
			
			$
 
  | 
			
			
			
			15. Adding to a pointer that points to an array will  | 
			
			
			| Cause an error. | 
			
			
			| Increase the value of the element that the pointer is pointing to. | 
			
			
			| Cause the pointer to point to the next element in the array. | 
			
			
			None of the above.
 
  | 
			
			
			
			16. To access the members of a structure, which symbol is used ?  | 
			
			
			| * | 
			
			
			| - | 
			
			
			| , | 
			
			
			.
 
  | 
			
			
			
			17. A member is a  | 
			
			
			| Variable in a structure. | 
			
			
			| Structure's datatype. | 
			
			
			| Pointer to a structure. | 
			
			
			None of the above.
 
  | 
			
			
			
			18. Structures can...  | 
			
			
			| Hold many variables of different types. | 
			
			
			| Have pointers to structures. | 
			
			
			| Be assigned to one another, given they are the same type. | 
			
			
			All of the above.
 
  | 
			
			
			
			19. In a C program, the first statement that will be executed is:  | 
			
			
			| The first executable statement of the program. | 
			
			
			| The first executable statement of the main() function. | 
			
			
			| The first executable statment after the comment /*start here*/ | 
			
			
			The first executable statement of the end function.
 
  | 
			
			
			
			20. The statement: int *jack  | 
			
			
			| Declares that all variables ending with jack are ints. | 
			
			
			| Is a pointer declaration. jack is a pointer to an int variable. | 
			
			
			| Declares that jack is the address of a variable and that the address is an int. | 
			
			
			Declares that all variables starting with jack are ints.
 
  |