Professional Documents
Culture Documents
2015
ANSWERS
1. What is the result in New String after the following code has executed?
a) hello world!
b) hELLO wORLD!
c) HELLO WORLD!
d) hello world1
2. Which of the methods illustrated below will terminate the While Loop
when an error occurs?
a) I
b) II
c) III
d) IV
e) I & II
f) III & IV
3. What is the value in Feedback Answer after the following code has
executed?
a) 6
b) 8
c) 16
d) 32
4. What is the result in New Array after the following code has executed?
a) -7
b) An error will occur and the code will not execute because Number is
negative.
c) -99999, and a dialog box with an error message will display
d) 7
7. What is the value in Result after the following code has executed?
a) VOLTS DC +2
b) 50
c) 250
d) VOLTS DC +2.
8. Which of the following statements is not true regarding the figure below?
9. What is the result in Array after the following code has executed?
a) a 1-D array of {1, 2, 1, 0, 8, 6, 2}
b) a 1-D array of {1, 4, 3, 2, 1, 0, 8, 6, 2}
c) a 1-D array of {1, 3, 2, 1, 8, 6, 2}
d) a 1-D Array of {1, 8, 6, 2}
10. Which of the following could generate the following Waveform Graph?
a)
b)
c)
d)
ANS: A