Professional Documents
Culture Documents
BSSE
S22
Table of Contents
INTRODUCTION: 3
SCNERIOS: 3
SCENERIO 1(FCFS): 3
SCENERIO 2(SJF): 3
SCENERIO 3(RR) 3
Methodology 3
Tools 3
Screen Shots of Code 4
screen shots of code 4
screen shots of code 5
INTRODUCTION:
CPU Scheduling is a process of determining which process will own CPU for execution while
another process is on hold. The main task of CPU scheduling is to make sure that whenever the
CPU remains idle, the OS at least select one of the processes available in the ready queue for
execution.
SCNERIOS:
SCENERIO 1(FCFS):
In banking system, customers came for submission of utility bills and school fees for this
purpose a we use fcfs because a long line of customers for submissions.
SCENERIO 2(SJF):
Distribute incoming emails fairly across your entire team, getting responses to your customers as
fast as possible. Let Loop's Round Robin automation rules manage the email queue in your
shared inbox.
Methodology
• FIRST COME FIRST SERVE
• SHORTEST REMAING TIME FIRST
• ROUND ROBIN
Tools
● DEV C/C++
Result