0% found this document useful (0 votes)
2 views2 pages

CSC520-Tutorial 5-Part 1 True Answer

The document discusses CPU scheduling, which allows processes to efficiently utilize the CPU while managing resource availability. It outlines the aims of CPU scheduling, the role of short-term schedulers, and the advantages of effective scheduling, including maximizing CPU utilization. Additionally, it explains key concepts such as dispatch latency, CPU-I/O burst cycles, and the differences between preemptive and non-preemptive scheduling.

Uploaded by

nik
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
2 views2 pages

CSC520-Tutorial 5-Part 1 True Answer

The document discusses CPU scheduling, which allows processes to efficiently utilize the CPU while managing resource availability. It outlines the aims of CPU scheduling, the role of short-term schedulers, and the advantages of effective scheduling, including maximizing CPU utilization. Additionally, it explains key concepts such as dispatch latency, CPU-I/O burst cycles, and the differences between preemptive and non-preemptive scheduling.

Uploaded by

nik
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 2

NIK MOHAMAD HAZIQ HAIKAL BIN MAZLAN (2025128381)

CDCS2513A

CSC520

PRINCIPLES OF OPERATING SYSTEMS

TUTORIAL #5

(PART 1)

1. What is CPU Scheduling?


- The process which allows one process to use the CPU while the execution of
another process in on hold due to unavailability of any resource like I/O, thereby
making full use of CPU.

2. What is the aim of CPU scheduling?


- To make the system efficient, fast and fair

3. What is short-term scheduler?


- Short-term scheduler is the scheduling involves in the OS which it selects from
among the processes in ready queue, and allocates the CPU to one of them

4. Short-term scheduler is also known as CPU Scheduler.

5. CPU scheduling is the base for multiprogrammed operating systems.

6. What is the main advantage of having a good and efficient CPU scheduling?
- By having a good CPU scheduling, multiprogramming environment is possible, thus
maximum CPU utilized can be obtained

7. Define the term ‘dispatch latency’.


- The tume it takes for the dispatcher to stop one process and start another

8. CPU scheduling decisions may take place when:


- Switches from running to waiting state
- Switches from running to ready state
- Switches from waiting to ready
- Terminates

9. List all the scheduling criteria:


- CPU utilization
- Throughput
- Turnaround time
- Waiting time
- Response time

10. List the scheduling algorithm optimization criteria:


- Max CPU utilization
- Max throughput
- Min turnaround time
- Min waiting time
- Min response time

11. What is CPU-I/O Burst Cycle?


- Process execution consists of a cycle of CPU execution and I/O wait.
- CPU burst followed by I/O burst

12. What is the advantage of CPU-I/O overlap?


- Maximize the CPU utilization
- For efficiency

13. What is preemptive scheduling?


- The scheduling which a running process can be interrupted if a high priority process
enters the queue and is allocated to the CPU
- Takes place when a process switches from running state to ready state or from
waiting state to ready state

14. What is non-preemptive scheduling?


- The scheduling in which a process cannot be interrupted by any other process.
- Takes place when a process terminates or switches from running to waiting st

15. What is the main difference between preemptive and non-preemptive scheduling?
- Preemptive scheduling can be preempted and the process can be interrupted while
non preemptive scheduling, the process cannot be interrupted

You might also like