OSY Project
OSY Project
A Project
Submitted in partial fulfilment of the requirement for the award of
Diploma in
Computer Engineering Discipline
Submitted To
Submitted by:-
CERTIFICATE
This is to certify that….
“Operating System”
As prescribed by Maharashtra State Board of Technical Education,
Mumbai as a part of syllabus for the partial fulfilment in Diploma in
Computer Engineering for Academic year 2024-25.
GUIDE H.O.D
Prof.M.M.Goswami Prof. S.B. Thakre
EXAMINER PRINCIPAL
--------------------- Dr. S.B.Wesley
GOVERNMENT POLYTECHNIC,
NANDURBAR, DIST– NANDURBAR (MSBTE CODE: 1432)
CERTIFICATE OF APPROVAL
1 Abstract 05
2 Introduction 06
CONCEPT
1.1) FCFS
3 07-13
1.2) Round Robin Algorithm
1.3) Example with solution
4 Use Case Diagram 14
Class Diagram
6
7 Output
8 Conclusion
9 References
ABSTRACT
FIFO simply queues processes in the order that they arrive in the ready
queue. This is commonly used for a task queue, for example as
illustrated in this section.
First Come, First Served (FCFS)
P1 25
P2 4
P3 3
The processes arrive in the order P1, P2, P3 and are served as per
the FCFS algorithm. The Gantt chart is as shown:
P1 P2 P3
0 25 29 32
Advantage:
Implementation:
//scheduling
#include<iostream>
//processes
wt[0]=0;
bt[i] + wt[i]
for(int i = 0; i < n; i++)
1 10 0 10
2 5 10 15
3 8 15 23
rem_bt[i]=quantum;
}
//If burst time is smaller than or equal to
//quantum.Last cycle for this process
Else
{
//Increase the value of t i.e., shows
//how much time a process has been processed
t=t+rem_bt[i];
//Waiting time is current time minus time
//used by this process
wt[i]=t-bt[i];
1 10 13 23
2 5 10 15
3 8 13 21
System Output:
Use case Diagram of Round Robin
Data flow Diagram of Round Robin
Conclusion