Professional Documents
Culture Documents
Sohan Osy-1
Sohan Osy-1
Sohan Osy-1
COMPUTER ENGINEERING
submitted for the partial fulfillment of the requirement in curriculum of fifth
Semester in “I” – scheme
SUBMITTED BY :
1. Sohan Irkullawar[2115430414]
UNDER THE GUIDANCE OF:
1
CERTIFICATE
2
ACKNOWLEDGEMENT
It is our great pleasure to present this project report with all our efforts to fulfill it in all aspects.
We would like to thank our Micro Project Guide Prof. MISS. PRIYANKA MOGRE Assistant
Professor, Department of Science for her valuable guidance and all his support.
We would like to thank Prof. Aarti Vaidya mam Head, Department of Consistent supervision
for his/her consistent supervision.
We would like to thank PROF.SHRIKANT. S. GOJE , Principal of our institute for motivation
and inspiration.
Lastly we would like to thank all the group members who took great efforts and worked hard to
complete it.
MICRO PROJECT
MEMBER:
1. Sohan Irkullawar[2115430414]
3
INDEX:
Sr.
Particulars Page Number
No.
Introduction
3 8
4 Information:
8-15
4
TEACHER EVALUATION SHEET FOR MICRO-PROJECT
Course Title and Code: CO – 5I
Semester: Fifth Semester
Title of the Micro Project: Make a comparative chart to calculate total waiting
and turnaround time of n processes with different CPU scheduling algorithm
A)
B)
C)
Major Learning outcome achieved by the students by doing the micro project:
a) Practical outcomes:
Marks:
(A) Marks for work
(B) Marks obtained by the individual based on viva
(C) Total Marks (A+B)
Signature
5
Progressive Assessment for Micro-Project
Title of Micro Project: Make a comparative chart to calculate total waiting and
turnaround time of n processes with different CPU scheduling algorithm
1 informed us about
Micro-project
4
internet
Discussed about collected data
5
with prof. Priyanka Mogre
I collected may more data other
6
7 Internet
8
to model
6
Then I go to market and
9
11 On (LDR)
12 THEN I CHECKED my
micro –project from the prof.
Priyanka Mogre
13 Make a corrections in micro
project
Report
1. Sohan Irkullawar[2115430414]
7
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. The selection process
will be carried out by the CPU scheduler. It selects one of the processes in
memory that are ready for execution.
8
Process ID
• The Process ID is the first Thing is to be written while solving
the problem. The Process ID acts like the name of the process. It
is usually represented with numbers or P letter with numbers
1. Arrival Time
• The time which is required for the Process to enter the ready
queue or the time when the Process is ready to be executed by
the CPU. This Arrival Time can be represented as AT in short
form. The Arrival Times is always positive or also zero
2. Burs time
• The time taken by the CPU since the Process has been ready to
execute or since the process is in Ready Queue is known as Turn
Around Time. The Turn Around Time can be calculated with
the help of Completion Time and Arrival Time. The Turn
Around Time can be represented as TAT in short form.
1.Pre-emptive Approach
10
• In Pre Emptive-Approach the process once starts its execution
then the CPU is allotted to the same process until the completion
of process. There would be no shift of Processes by the Central
Processing Unit. The complete CPU is allocated to the Process
and there would be no change of CPU allocation until the
process is complete.
Advantages
Disadvantages
12
2. Shortest job first
Advantages
• SJF is used because it has the least average waiting time than the
other CPU Scheduling Algorithms
• SJF can be termed or can be called as long term CPU scheduling
algorithm
Disadvantages
13
3. Priority CPU Scheduling
Advantages
Disadvantages
Example:
14
4. Round Robin CPU Scheduling
• Round Robin is a CPU scheduling mechanism those cycles around
assigning each task a specific time slot. It is the First come, First served
CPU Scheduling technique with preemptive mode. The Round Robin
CPU algorithm frequently emphasizes the Time-Sharing method.
Examples:
15
Conclusion:
The treatment of shortest process in SJF Scheduling tends to result in increased
waiting time for long processes. And the long process will never get served,
though it produces minimum average waiting time and average turnaround time.
It is recommended that any kind of simulation for any CPU scheduling
algorithm has limited accuracy
Reference:
• https://www.bizandbyte.com/documents/Amandeep%20Singh.pdf
• https://www.scaler.com/topics/operating-system/cpu-scheduling/
• https://www.geeksforgeeks.org/cpu-scheduling-in-operating-systems/
16