1) Which is the correct value of x assigned by the following statements: x = 9 MOD 2 a) 4.5 b) 18 c) 1 d) 2 e) 0 f) 3 2) Which is the correct value of x assigned by the following statements: x = 7 DIV 3 a) 4.5 b) 18 c) 1 d) 2 e) 0 f) 3 3) Which is the correct value of x assigned by the following statements: x = 9 MOD 3 a) 4.5 b) 18 c) 1 d) 2 e) 0 f) 3 4) Given that a = 7 and b = 6 which Boolean value will the following statement return? a >= 7 AND b < 6 a) True b) False 5) Given that a = 7 and b = 6 which Boolean value will the following statement return? a > 7 OR b <= 6 a) True b) False 6) Given that a = 7 and b = 6 which Boolean value will the following statement return? NOT(a > 7) AND b <= 6 a) True b) False 7) Which of the following is the correct definition of selection a) Repeating a series of steps b) Choosing a route through a program depending on a condition c) Storing a value in a variable d) Finding the number of characters in a string e) The order in which programming statements are executed 8) Which of the following is the correct definition of iteration a) Repeating a series of steps b) Choosing a route through a program depending on a condition c) Storing a value in a variable d) Finding the number of characters in a string e) The order in which programming statements are executed 9) Which of the following is the correct definition of assignment a) Repeating a series of steps b) Choosing a route through a program depending on a condition c) Storing a value in a variable d) Finding the number of characters in a string e) The order in which programming statements are executed 10) Which of the following is the correct definition of sequence a) Repeating a series of steps b) Choosing a route through a program depending on a condition c) Storing a value in a variable d) Finding the number of characters in a string e) The order in which programming statements are executed

Leaderboard

Visual style

Options

Switch template

Continue editing: ?