2. (TCOs 3, 4, and 8) In the following pseudocode, which raise will an employee
ID: 641962 • Letter: 2
Question
2. (TCOs 3, 4, and 8) In the following pseudocode, which raise will an employee in Department 9 receive?
If department < 5 then
Set raise = 100
Else
If department < 9 then
Set raise = 250
Else
Set raise = 375
EndIf
EndIf
(Points : 5) 100
375
250
0
(Points : 5) If commission <> 45
If commission <= 45
If (commission >= 20) && (commission <=45)
If (commission < 20) || (commission > 45)
Explanation / Answer
2) b(375)
3) d
4) b(3)
5) a
6) b
7) b(3)
8) b(1)
9) c
10) b
11) d
12) c(98)
13) d
14) d(RETURN)
Related Questions
Hire Me For All Your Tutoring Needs
Integrity-first tutoring: clear explanations, guidance, and feedback.
Navigate
Integrity-first tutoring: explanations and feedback only — we do not complete graded work. Learn more.