[solved]-1 True False Write Pseudocode Program Read Many Time Cards Time Hours Output Total Regular Q38996746
1) True|False: You are about to write your pseudocodefor the program that will read many time cards (with time in &out hours), and output the total regular hours and total overtimehours. The first step of your pseudocode can be “Set Total_regular_hours to zero”.
2)True|False: You are about to write your pseudocode forthe program that will read many time cards (with time in & outhours), and output the total regular hours and total overtimehours. The last step of your pseudocode can be “Output Total_regular_hours and Total_overtime_hours”.
3)
True|False: You are about to write your pseudocode forthe program that will read many time cards (with time in & outhours), and output the total regular hours and total overtimehours. The following pseudocode is complete and correct.
- Set Total_regular_hours to zero;
- Set Total_overtime_hours to zero;
- Get client’s Time_in and Time_out;
- Let Regular_hours be (Time_out –Time_in);
- If Regular_hours is more than 8 hours
then Overtime_hours is (Regular_hours – 8)
and
Regular_hours is only 8 ;
else Overtime_hoursis zero;
- Add Overtime_hours toTotal_overtime_hours;
- Add Regular_hours to Total_regular_hours;
- If there is more time cards to read, then go to step3;
- Output Total_regular_hours andTotal_overtime_hours;
4)True|False
You are about to write pseudocode to compute the resultvalue of the formula:
( X * Y / Z + P + R )
The following pseudocode is complete andcorrect.
- Compute X * Y, and put its result to T1 ;
- Compute Z + P, and put its result to T2 ;
- Compute T1 / T2 , and put its result to T3;
- Compute T3 + R, and put its result to T4;
- The final result value is in T4 ;
Expert Answer
Answer to 1) True|False: You are about to write your pseudocode for the program that will read many time cards (with time in & out… . . .
OR

