Anshuman Yadav's repositories
Code-Snippets-Mock-API
Code Snippets Mock API
Pokemon-Cards
Search your favorite Pokemon Cards
JavaScript-Projects
This repository contains small JavaScript projects that I have made to practice and strengthen my JavaScript skills
JavaScript---Higher-Order-Function
Learning JavaScript - Higher Order Functions
JavaScript-OOPS
Learning JavaScript OOPS concepts
Music_Player
Music Player
Music-Player
Music Player
OS18
A uniprocessor system has n number of CPU intensive processes, each process has its own requirement of CPU burst.The process with lowest CPU burst is given the highest priority. A late arriving higher priority process can preempt a currently running process with lower priority. Simulate a scheduler that is scheduling the processes in such a way that higher priority process is never starved due to the execution of lower priority process. What should be its average waiting time and average turnaround time if no two processes are arriving at same time.
Os9
Write a program in C which reads input CPU bursts from a the first line of a text file named as CPU_BURST.txt. Validate the input numbers whether the numbers are positive intergers or not. Consider the numbers as CPU burst.If there are 5 positive integers in the first line of the text file then the program treat those argument as required CPU bust for P1, P2, P3, P4, and P5 process and calculate average waiting time and average turn around time. Consider used scheduling algorithm as SJF and same arrival time for all the processes.