CIS 115 Final Exam 3 Sets of Answers CIS 115 Final Exam 3 | Page 3
Else
If department < 5="">
Set
Else
Set
EndIf
EndIf (Points : 4)
14. (TCO 3 & 4) Which of the selection structures determines whether 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) AND (stateCode<> 6) AND (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)
2. (TCO 5) Which of the following statements is false? (Points : 4)
3. (TCO 5) Which loop may not execute the body of the loop at all? (Points : 4)
4. (TCO 5) Repetition that loops a certain number of times is typically referred to as _____.
(Points : 4)