CIS 115 (Devry) help Making Decisions/uophelp.com CIS 115 (Devry) help Making Decisions/uophelp.com | Page 17
10. (TCO 2) Review the partial pseudocode below. What is the correct
math expression to complete the algorithm and determine 50% of a cost?
Prompt “Enter total cost: “
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
Else
If department < 5="">
Set
Else
Set
EndIf
EndIf (Points : 4)