Evaluate the given pseudocode to calculate the payment (pmt) with the following test values: The total number of hours worked (working_hours) = 50
The rate paid for hourly work (rate) = 10
Input working_hours
Input rate
Pmt = working_hours * rate
If working_hours > 40 then
Extra_hours = working_hours - 40
Extra_pmt = extra_hours * rate
Pmt = pmt + extra_pmt
End of if
Output pmt
What is the final output?
A) 540
B) 580
C) 500
D) 600
Correct Answer:
Verified
Q68: What term is used to refer to
Q76: What term is used to refer to
Q88: Evaluate the given pseudocode to calculate the
Q89: A step sequence that contains precise instructions
Q90: A step sequence is unambiguous when _
A)
Q94: A step sequence is executable when _
A)
Q95: A step sequence that eventually comes to
Q96: Evaluate the given pseudocode to calculate the
Q97: A step sequence that can be carried
Q98: Evaluate the given pseudocode to calculate the
Unlock this Answer For Free Now!
View this answer and more for free by performing one of the following actions
Scan the QR code to install the App and get 2 free unlocks
Unlock quizzes for free by uploading documents