Programming

posted by .

Can you create a java program that will make a CPU SCHEDULER w/ First Come First Serve,Round Robin,Priority Scheduling(Preemptive & Non-Preemptive)& Shortest Job First(Preemptive & Non-Preemptive)
that will compute for Waiting time,Average waiting time,turnaround time and throughput

  • Programming-Java -

    If you have done threads with Java, you could programme each of the scheduling algorithms, and simulate the operation and obtain statistics using random data.

    If you have not done threads, you can still simulate the operation of the scheduling, by assuming a discrete (constant) time for each operation.

    We will be glad to help you with your work, but we do not write the programme for you.

Respond to this Question

First Name
School Subject
Your Answer

Similar Questions

  1. writing

    about the 9/11 incident what major changes had taken place in America and had these changes been beneficical or non benefical?
  2. visual basic

    Program that i am having trouble with having hard time how to figure out to assign non-zero digit to a variable! Create a variable first as integer  Assign first non‐zero digit of your V‐number to the variable first  …
  3. Operating Systems

    What mechanism would you implement in the process scheduler to automate the termination of a job that is in an infinite loop. Take into account jobs that legitimately use large amounts of cpu time for example on finding the first 10000 …
  4. operating system

    Process Management Exercise Given the following data, prepare a Gantt Chart to a system based on priority andinterrupts ("preemptive"), where priority 1 is the highest and 3 is the lowest. Process Priority Burst Time Tiempo de Llegada …
  5. books

    In the book In the Garden of Beasts, Chapter 18, it asks, At this point in Hitler’s rise to power no military action was taken to halt his ascension. What would have been the most likely outcome of preemptive military action?
  6. books

    I'm sorry to ask again but the answer has to come from Chapter 18 of the book "In the Garden on Beasts" And the question is At this point in Hitler’s rise to power no military action was taken to halt his ascension. What would have …
  7. programming

    Waiting time in the queue by the driver can be used as a criterion whether toll plazas customer centric or not. Assume there are 3 counter serving customers. Customers who come will get in the shortest line (based on the number of …
  8. statistics

    1. A professor measured the time (in seconds) required to catch a falling meter stick for 19 randomly selected students’ dominant and non-dominant hand. The professor claims that the reaction time in an individual’s dominant hand …
  9. math

    A professor measured the time (in seconds) required to catch a falling meter stick for 19 randomly selected students’ dominant and non-dominant hand. The professor claims that the reaction time in an individual’s dominant hand …
  10. 8th grade math

    I need to create a scatter plot using data for Old Faithful that includes waiting time between eruptions and the duration of the eruption. It's a data frame with 10 observations on 2 variables. eruptions numeric: eruption time in mins …

More Similar Questions