Write a program to perform non-preemptive SJF scheduling. Consider four processes. The digits of your roll number will be the burst times of the processes. Do the above coding in your computer using C programming and submit a lab report describing your code. Note: - Variables should be similar to your name. For example, if your name is R, your used variables will be rl, r2, r3,. - If your roll number is 1983, then the burst times of 4 processes will be 1, 9, 8 and 3 ms. - Do not copy from others. Do the coding as well as the lab report in your own computer. - Late submission and copying will cause penalty.

C++ for Engineers and Scientists
4th Edition
ISBN:9781133187844
Author:Bronson, Gary J.
Publisher:Bronson, Gary J.
Chapter5: Repetition Statements
Section5.6: Nested Loops
Problem 2E
icon
Related questions
Question

please answer this question very quickly

Description
Write a program to perform non-preemptive SJF scheduling. Consider four processes. The digits of your roll number will be the
burst times of the processes.
Do the above coding in your computer using C programming and submit a lab report describing your code.
Note:
- Variables should be similar to your name. For example, if your name is R, your used variables will be rl, r2, r3,.
- If your roll number is 1983, then the burst times of 4 processes will be 1, 9, 8 and 3 ms.
- Do not copy from others. Do the coding as well as the lab report in your own computer.
- Late submission and copying will cause penalty.
Transcribed Image Text:Description Write a program to perform non-preemptive SJF scheduling. Consider four processes. The digits of your roll number will be the burst times of the processes. Do the above coding in your computer using C programming and submit a lab report describing your code. Note: - Variables should be similar to your name. For example, if your name is R, your used variables will be rl, r2, r3,. - If your roll number is 1983, then the burst times of 4 processes will be 1, 9, 8 and 3 ms. - Do not copy from others. Do the coding as well as the lab report in your own computer. - Late submission and copying will cause penalty.
Expert Solution
steps

Step by step

Solved in 2 steps

Blurred answer
Knowledge Booster
Computational Systems
Learn more about
Need a deep-dive on the concept behind this application? Look no further. Learn more about this topic, computer-science and related others by exploring similar questions and additional content below.
Similar questions
  • SEE MORE QUESTIONS
Recommended textbooks for you
C++ for Engineers and Scientists
C++ for Engineers and Scientists
Computer Science
ISBN:
9781133187844
Author:
Bronson, Gary J.
Publisher:
Course Technology Ptr
Programming Logic & Design Comprehensive
Programming Logic & Design Comprehensive
Computer Science
ISBN:
9781337669405
Author:
FARRELL
Publisher:
Cengage