Question 1.1. (TCO 4) Which pseudocode keyword is not included in a selection with a single action? (Points : 2) If Then Else End If
Question 2.2. (TCO 4) In C#, which of the following is not a logical operator? (Points : 2) && || Set All of the above
Question 3.3. (TCO 4) Both conditions must be false in order for the _____ operator to evaluate to false. (Points : 2) && || != ==
Question 4.4. (TCO 4) Which Boolean expression would be used to select all employees who make between $10 and $12 per hour? (Points : 2) rate < 10 || rate 12 rate < 10 && rate 12 rate = 10 || rate <= 12 rate = 10 && rate <= 12
Question 5.5. (TCO 4) Evaluate each of the following conditions (as being true or false). Assume A = 3, B = 6, C = 3, and D = 18. NOT (D 20) OR C < A (Points : 2) True False
Question 6.6. (TCO 4) Evaluate each of the following conditions (as being true or false). Assume A = 3, B = 10, and Z = “five”. A * 2 < B / 2 OR Z < “two” (Points : 2) True False
Question 7.7. (TCOs 3 and 4) Given the following If structure, assume B = 4. Which will be the output?
(Points : 2) 7 B Dr. Evil Howdy
Question 8.8. (TCOs 3 and 8) Which will be displayed after the following process is completed? Start Set x = 3 Set y = 2 Set z = 3 If ((x = 1) OR (y = 1) OR (z = 1)) then Set ans = “True” Else Set ans = “False” End if Display ans Stop (Points : 2) True False
Question 9.9. (TCO 8) Which will be displayed after the following process is completed?
Start Set w = 0 Set x = 1 Set y = 2 Set z = 3 If ((w = 0 OR x = 1) AND (y = 2 AND z = 3)) then Set ans = “T” Else Set ans = “F” End if Display ans Stop (Points : 2) True False
Question 10.10. (TCO 8) Which will be displayed after the following process is completed?