Computer Science 215 Quiz 2 Name ______________________ 1. The floating point constant 2.5e+2 means a. 2.5 squared b. 2.5 * 2 squared c. 2.5 * 2 to the 10th power d. 2.5 * 10 squared 2. To read an integer value into the variable defined as char c; which of the following should be used: a. scanf("%c", &c); b. scanf("%d", &c); c. scanf("%c", c); d. scanf("%d", c); 3. To print the ASCII character (A, B, C, etc.) of the value declared as int c; which should be used: a. printf("%c", &c); b. printf("%d", &c); c. printf("%c", c); d. printf("%d", c); 4. Suppose the following is executed: int i, j; scanf("%3d %3d", &i, &j); and the input that is typed in is: 1234567 89 0 What values will be assiged to i and j i = j = 5. Suppose the following code is executed: is: int i, j; scanf("%d %d", &i, &j); 2 A 4 a. i will be set to 2 b. i will be set to 2 j will be set to 65 j will be set to 4 c. i will be set to 2 d. neither i nor j will j will not be set at all be set