CIS 115 (Devry) help Making Decisions/uophelp.com CIS 115 (Devry) help Making Decisions/uophelp.com | Page 4
Set
If ((x > 10) AND (x < 20))="">
Display “the IF path executes”
Else
Display “the ELSE path executes”
EndIf (Points : 4)
12. (TCO 3 & 4) What value gets displayed for the variable X?
Set
Set
Set
If (B > 15) AND (() OR (C <= 15))="">
Set
Else
Set
EndIf
Display X (Points : 4)
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