Question 11
EasyIn CPU scheduling, what is throughput?
- A.
The time a process waits in the queue
Popular companies
Prepare company by company
Hiring pattern, syllabus, past questions and mocks for each company.
All companiesPractice by subject
Operating Systems
In CPU scheduling, what is throughput?
The time a process waits in the queue
The amount of memory used
The number of processes completed per unit of time
The speed of the CPU clock
Sign up free to see the answer and a step-by-step explanation.
What is response time in CPU scheduling?
The total time a process takes to finish
The time from a request being submitted until the first response is produced
The time the CPU is idle
The time to save a file
Sign up free to see the answer and a step-by-step explanation.
What is CPU utilisation?
The percentage of time the CPU is busy doing work
The temperature of the CPU
The amount of memory used by the CPU
The number of CPUs in a computer
Sign up free to see the answer and a step-by-step explanation.
In Round Robin scheduling, what is a time quantum?
The fixed slice of CPU time each process gets before it is moved to the back of the queue
The total running time of all processes
The priority number of a process
The time taken to load the OS
Sign up free to see the answer and a step-by-step explanation.
What does non-preemptive scheduling mean?
Once a process gets the CPU, it keeps it until it finishes or blocks
Every process runs for exactly 1 ms
Processes never get the CPU
The OS can take the CPU away at any time
Sign up free to see the answer and a step-by-step explanation.
What is the convoy effect?
Short processes wait a long time behind one long process
Many processes finish at the same moment
Processes move between CPUs
The CPU runs faster with more processes
Sign up free to see the answer and a step-by-step explanation.
What does the dispatcher do?
Chooses which process runs next
Gives control of the CPU to the process chosen by the scheduler
Sends data over the network
Deletes finished processes
Sign up free to see the answer and a step-by-step explanation.
What is dispatch latency?
The time the dispatcher takes to stop one process and start another
The time to boot the OS
The time between two key presses
The time a process waits for I/O
Sign up free to see the answer and a step-by-step explanation.
P1 (5 ms), P2 (2 ms) and P3 (4 ms) arrive at time 0 and run in FCFS order P1, P2, P3. At what time does P3 finish?
11 ms
7 ms
4 ms
9 ms
Sign up free to see the answer and a step-by-step explanation.
Processes with CPU bursts of 4, 6 and 2 ms arrive at time 0 in that order and are scheduled FCFS. How long does the second process wait?
6 ms
0 ms
10 ms
4 ms
Sign up free to see the answer and a step-by-step explanation.