Hi, I have been creating a round robin. This is similar idea to speed dating except everyone has to talk to everyone. Whilst I have been able to create this, there is a lot of repetition in my code and I wondering if any of you have recommendations for removing some of that, particularly around the push and pops. The code below I tested within the js.do website. I will add the output below the code, so you get an idea of what this looks like. Any help will be appreciated. <p style="line-height: 18px; font-size: 18px; font-family: times;"> <br> Round …

Member Avatar
Member Avatar
+0 forum 3

Hi, so I have this assignment to create a scheduling algorithm, I tried looking everywhere for help on how to create one and the closest one was here, where I found a great source code, yet I tried to modify it with my assignment variables and I created some nasty errors and I was wondering is someone could help me: 1) create it using the variables: process id, arrival time, cpu burst, priority 1 0 5 3 2 2 3 0 3 5 5 2 4 6 2 1 5 6 7 3 2) change quantum from 1 to 3(I …

Member Avatar
Member Avatar
+0 forum 1

In simulating round-robin scheduling algorithm, is it possible to have more than one time slice, say two time slices. If so, how will it be simulated? For example, I have Q1 = 10 milliseconds and Q2 = 20 milliseconds. In my opinion, it is like this: a) I'll use the first quantum for the first job and use the second quantum for the second job, or b) I'll sum up the two quanta and use them like it was one quantum. I do not know how to use the two quanta given. The two items above are just my ideas. …

Member Avatar
+0 forum 0

Hi I have attached a copy of a round robin schedule I have produced, can someone check this is correct. Process Arrival time Service time 1 0 4 2 1 3 3 3 2 4 5 8 5 7 2 If any errors can someone advise where please

Member Avatar
Member Avatar
+0 forum 2

The End.