CIS 115 Final Exam 3 Sets of Answers CIS 115 Final Exam 3 | Page 2
Input cost
Set _____
Display “50% of the cost is: “ + total (Points : 4)
11. (TCO 3 & 4) Review the pseudocode below. What will be displayed when this algorithm
executes?
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) OR () OR (C <= 15)="">
Set
Else
Set
EndIf
Display X (Points : 4)
13. (TCO 3 & 4) In the following pseudocode, what percentage raise will an employee in
Department 5 receive?
If department < 3="">
Set