Computer Science 101 Quiz 8 Name ______________________ 1. Suppose table[k] = 22 and table[k] = 44 and the following statements are executed: table[k + 1] = table[k]; table[k] = table[k + 1]; After these two statments are executed what values will be held in: table[k] = table[k + 1] = 2. Suppose table[k] = 22 and table[k] = 44 and the following statements are executed: temp = table[k + 1]; table[k] = table[k + 1]; table[k + 1] = temp After these two statments are executed what values will be held in: table[k] = table[k + 1] = 3. Suppose table[k] = 22 and table[k] = 44 and the following statements are executed: temp = table[k]; table[k] = table[k + 1]; table[k + 1] = temp After these two statments are executed what values will be held in: table[k] = table[k + 1] = 4. Considering the "swapping" problem in which the program proceeds from index 0 comparing each adjacent pair of values in the array and swapping values if table[k] > table[k + 1]. What is the correct output for this input: 4 19 3 4 25 1 7 5. Which of the following is NOT a technique which you should plan on using for debugging programs for the rest of your life: a. playing "human" computer b. using diagnostic prints c. use gdb d. e-mail Dr. Westall