Suppose that a program runs for a while, then prints "Hit any key to continue," waits for a key to be pressed, and then prints the results and terminates. Which of the following three numbers output by the Unix/Linux/Posix time command would be most affected by the user of that program taking a while to figure-out that there is no "any" key and thus not pressing any key until 5 minutes later, after discussing this with an IT support person? Group of answer choices a) User time b) Real time c) System time
Suppose that a program runs for a while, then prints "Hit any key to continue," waits for a key to be pressed, and then prints the results and terminates. Which of the following three numbers output by the Unix/Linux/Posix time command would be most affected by the user of that program taking a while to figure-out that there is no "any" key and thus not pressing any key until 5 minutes later, after discussing this with an IT support person?
Real time - It is basically the actual time taken that is it is difference between the start and stop of call.
It is actual wall clock time.
User time- Amount of CPU time for Processing purpose.
System time - Amount of CPU time for Operating System Services.
Here It waits for an Input and their is no any key.
Here service is not provided for 5 minutes so System time is incorrect answer.
Now we are left with option a and b
option a is incorrect as processing can take place only after input is received(Here it is idle).
So Answer is
b) Real time
Step by step
Solved in 2 steps