CIS 115 Final Exam 1 CIS 115 Final Exam 1 | Page 3
13. (TCO 3 & 4) In the following pseudocode, what raise will an employee in Department 6
receive?
If department < 2="">
Set
Else
If department < 6="">
Set
Else
Set
EndIf
EndIf (Points : 4)
14. (TCO 3 & 4) Which of the selection structures determines if the user enters a number
between 20 and 45? (Points : 4)
15. (TCO 3 & 4) What value gets displayed for the variable Z?
Set
Set
Set
If ((balance <> 800) OR (stateCode<> 6) OR (creditCode<> 7) then
Set
Else
Set
EndIf
Display Z (Points : 4)
1. (TCO 5) The variable used to create an expression controlling the loop is known as the _____.
(Points : 4)