Microproject OSY
Microproject OSY
“FCFS Algorithm”
NBA ACCREDIATED
M.S.B.T.E.
Evolution sheet for Micro Project
CO 1 Apply Scheduling algorithms to calculate turnaround time and average waiting time.
Marks out of
Marks out of 6 Total
4 for
for mars
Roll No Name of students performance
performance in out
in oral/
group activity of 10
Presentation
Name and
Signature of
faculty
SVERI’s COLLEGE OF ENGINEERING (POLYTECHNIC), PANDHARPUR.
CERTIFICATE
is a bonafide work carried out by above students, under the guidance of Miss. M.B.Patil and it is
submitted towards the fulfillment of requirement of MSBTE, Mumbai for the award of Diploma in
Computer Engineering at SVERI’s COE (Polytechnic), Pandharpur during the academic year 2022-2023.
(Miss. M.B.Patil)
Guide
(Mr. P.S. Bhandare) (Dr.N.D.Misal)
HOD Principal
Place: Pandharpur
Date: / /
Acknowledgement
“FCFS Algorithm” has been developed successfully with a great contribution of two students in
a period of two months. We like to appreciate their guidance, encouragement and willingness since
without their support the project would not have been a success. We would like to give our heartfelt
gratitude to Principal Dr. N. D. Misal, Guide & HOD Mr. P.S. Bhandare who is the supervisor of our
project for helping and encouraging us in many ways to make our project a success. We would never
been able to finish our work without great support and enthusiasm from friends and support from our
family. We would like to thank the department of Computer Engineering, for giving us permission to
initiate this project and successfully finish it.
Introduction:-
In the realm of operating systems and process management, scheduling algorithms play a crucial
role in determining the order in which processes are executed on a computer's CPU (Central Processing
Unit). One of the simplest and most intuitive scheduling algorithms is known as FCFS, which stands
for First-Come, First-Served.
FCFS is a non-preemptive scheduling algorithm, which means it operates on the principle of "first in,
first out." In other words, the order in which processes arrive in the system determines the order in
which they are scheduled for execution. The process that arrives earliest is given CPU time first, and
subsequent processes are scheduled in the order they enter the system.
This scheduling approach is akin to waiting in line at a service counter, where the customer who
arrives first is served first. While FCFS is straightforward to understand and implement, it has both
advantages and drawbacks.
Example : -
P1 9
P2 7
P3 3
P4 7
P1 P2 P3 P4
0 9 16 19 26
Waiting Time:
P1=0
P2=9
P3=16
P4=19
Average waiting time=Waiting time of all processes / Number of processes =
(0+9+16+19) /4 =44/4 =11 milli seconds (ms)
Turnaround time:
P1=9
P2=16
P3=19
P4=26
// Driver code
int main()
{
//process id's
int processes[] = { 1, 2, 3};
int n = sizeof processes / sizeof processes[0];
findavgTime(processes, n, burst_time);
return 0;
}
Resources Used
Sr. No. Specification Remark
1 Intel Core i7, RAM 16GB As per requirement
2 Operating System – Windows 11 As per requirement
3 Application – Microsoft Word 2021 As per requirement
Advantages
1. Skill Enhanced
2. Practical application
3. Error Handling
4. Mathematical logic
5. Responsive design
6. Customization
Disadvantages
1. Limited Complexity
2. Overused project
3. Maintenance
4. Learning Curve
5. Complexity Management
CO 1 Demonstrate the ability to create structured and semantic HTML to build the user
interface of a calculator.
CO 2 Implement JavaScript functions to handle user interactions, perform arithmetic
operations, and display results dynamically.
CO 3 Learn to debug JavaScript code effectively to identify and resolve issues in their
calculator application.
Output
Conclusion
References
www.google.com