Question

Question III This question carries 20% of the marks for this assignment. Given the following mix of tasks, task lengths and a
Question 11 This question carries 40% of the marks for this assignment. You are going to use the semaphores for process synch
Question This question carries 40% of the marks for this assignment. You are asked to develop a bash shell script program tha
0 0
Add a comment Improve this question Transcribed image text
Answer #1

ITFO Arrival rength Completion time Job Response time time sec) bo 0-0 = 0 60-20740 80-20=60 110 120 20 60 150 130-60 = 70 40RR ( quartum= 10) Job tength Arrival time Completion time Response time O 14 0-6 = 0 20 to 20-20-0 too 40 30-20= 10 110 60-60At time o only job o has come in Ready queue Ready, Pueue roto i lol413 1 10141310|4|0| 45 Gantt Chart 043lo 4 3 40 8 60 70 8SJF l shortest Job first) length Arrival time Completion time Response time 60 0-0=0 90 70-20250 70 To o- 20-40 ILO 20 go-60=As per Chegg guidelines, I am supposed to do the first question out of multiple questions if not mentioned the specific question no. I have provided solution for the first question. If you have any doubt, feel free to ask me in comment box and Please do like if you are satisfied with my solution. Thanks!

Add a comment
Know the answer?
Add Answer to:
Question III This question carries 20% of the marks for this assignment. Given the following mix...
Your Answer:

Post as a guest

Your Name:

What's your source?

Earn Coins

Coins can be redeemed for fabulous gifts.

Not the answer you're looking for? Ask your own homework help question. Our experts will answer your question WITHIN MINUTES for Free.
Similar Homework Help Questions
  • Question I This question carries 20% of the marks for this assignment. You are asked to...

    Question I This question carries 20% of the marks for this assignment. You are asked to develop a set of bash shell script: Write a script that asks for the user's salary per month. If it is less or equals to 800, print a message saying that you need to get another job to increase your income, what you earn is the Minim living cost. If the user's salary is higher than 800 and below 2000, print a message telling...

  • Question II This question carries 50% of the marks for this assignment. This question is about...

    Question II This question carries 50% of the marks for this assignment. This question is about avoiding race condition by using synchronization mechanism provided by the JAVA programming language. We provided you with a Netbeans JAVA project. The project idea is as follows: we want to merge the content of four files into a single file, as follows. Below is the content of all four files: F1 content: 1 1 1 1 F2 content: 2 2 2 2 F3 content:...

  • operating system engineering , please read the question and solve on the given skeleton code ....

    operating system engineering , please read the question and solve on the given skeleton code . Write a multi-threaded program with Semaphores as counters and pthread_mutex_t mutex to solve the producer-consumer problem: A bounded buffer is simply a global integer array of size N (2) which can be accessed by multiple threads. • Create two types of threads - Producer (2) and Consumer (2). Producers will write to the buffer, and the consumers will read the buffer. In this scenario,...

  • Description In this homework, you are asked to implement a multithreaded program that will allow ...

    Description In this homework, you are asked to implement a multithreaded program that will allow us to measure the performance (i.e, CPU utilization, Throughput, Turnaround time, and Waiting time in Ready Queue) of the four basic CPU scheduling algorithms (namely, FIFO, SJE PR, and RR). Your program will be emulating/simulating the processes whose priority, sequence of CPU burst time(ms) and I'O burst time(ms) will be given in an input file. Assume that all scheduling algorithms except RR will be non-preemptive,...

  • UNIX QUESTION Exercise #1. [8 Marks] Create a script that does the following: a. Takes 4...

    UNIX QUESTION Exercise #1. [8 Marks] Create a script that does the following: a. Takes 4 input parameters b. Using the shell special variables print the following: i. The command you executed ii. First input iii. Second input iv. Third input v. Fourth Input vi. Process Id vii. Total number of input parameters [ by querying the system for it ] Exercise #2. [8 Marks] Creates a script that does the following: a. Takes two input parameters b. Using the...

  • ONLY REQUIRE C Problem statement: You are to write a program that manages student marks for...

    ONLY REQUIRE C Problem statement: You are to write a program that manages student marks for a class. Student marks are stored as a 2D array. Each row represents the marks of one student. Each column represents one assessment. For example, if we have two students and 3 assessment items with the marks for student1 being (67.6,88.5, 75.4} and student2 being (77.5, 76.2,78.3} our 2D array would look like: 67.6, 38.5,75.4 77.5, 76.2,78.3 You are to write a script/main function...

  • hello i was given an assignment on object orientated programming and we were asked to use...

    hello i was given an assignment on object orientated programming and we were asked to use Microsoft word, Comments for significant parts should be coloured green. And can you recommend some videos too so i can understand it better with your help. i have some questions about this assignment given and was told to create in Microsoft word Name your file with your full name, e.g.. Jessica_Jones.docx or (arth). • Programs/codes must be properly indented and free of compile-time errors....

  • Please help me create this CLI CPU Scheduling Simulator in java: First Come First Serve (FCFS)...

    Please help me create this CLI CPU Scheduling Simulator in java: First Come First Serve (FCFS) Round Robin (RR) Process information The process information will be read from an input file. The format is: pid arrival_time burst_time All of fields are integer type where: pid is a unique numeric process ID arrival_time is the time when the task arrives in the unit of milliseconds burst_time the is the CPU time requested by a task, in the unit of milliseconds The...

  • Solve it for java Question Remember: You will need to read this assignment many times to...

    Solve it for java Question Remember: You will need to read this assignment many times to understand all the details of the you need to write. program Goal: The purp0se of this assignment is to write a Java program that models an elevator, where the elevator itself is a stack of people on the elevator and people wait in queues on each floor to get on the elevator. Scenario: A hospital in a block of old buildings has a nearly-antique...

ADVERTISEMENT
Free Homework Help App
Download From Google Play
Scan Your Homework
to Get Instant Free Answers
Need Online Homework Help?
Ask a Question
Get Answers For Free
Most questions answered within 3 hours.
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT