You are on page 1of 2

1.

If the variable Hours = 10 , what is the value of the variable Salary after the following instruction has been executed: Set Salary = Hours * 8 Choose one answer. a. 10 b. 8 c. 80 d. 16 2. What is the value of the variable PayDay after the following statements have been executed: Set Hours = 5 Set PayDay = 30 Set PayDay = Hours * 6 Choose one answer. a. 30 b. 150 c. 180 d. 15 3. What is the value of the following expression: 22 % 5? Choose one answer. a. b. c. d. 4.5 2 4 110

4. What is the value of the following expression: 40 / 4 + 6 * 4 2 Choose one answer. a. b. c. d. 32 14 8 22

5. What is the value of the following expression: (36 % 4) + (12 / (3 * 2) ) Choose one answer. a. 8 b. 0 c. 11 d. 2 6. If X = 6 and Y = 2 , what is the value of the following expression: 4+(3^Y)*(X+2)/Y Choose one answer. a. 59 b. 52 c. 40 d. 26 7. Which of the following is not an integer Choose one answer. a. 150 b. 33 c. -344.444 d. 0 8. Which is the first step in the program development cycle Choose one answer. a. b. c. d. design a program analyze the problem code the program test the program

9. A flowchart is a pictorial representation of the flow of a Choose one answer. a. Program b. Language c. Software d. Testing 10. A diagram that uses special symbols to display pictorially the flow of execution of a program or program module is a Choose one answer. a. hierarchy chart b. pseudocode listing c. application chart d. flowchart