Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8936887
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 15, 20262026-06-15T10:18:46+00:00 2026-06-15T10:18:46+00:00

Process Burst Time Arrival Time Priority P1 5 0 1 P2 1 0 3

  • 0
Process     Burst Time     Arrival Time     Priority
P1          5              0                1
P2          1              0                3
P3          2              2                1
P4          4              4                2
P5          2              4                2
P6          3              5                3
P7          4              5                3

Hi guys. We’re given an assignment about Preemptive Priority Scheduling and I really don’t know how to do this given two or more processes having the same priority number.

I have to make a gantt chart, compute turn-around time, and average waiting time.

If possible, can you guys post a step-by-step solution on how to do it so that I can study how it’s done.

Thanks for the help guys.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-15T10:18:47+00:00Added an answer on June 15, 2026 at 10:18 am

    Firstly: two processes with the same priority will generally be sorted according to their arrival time: so first come first serve.

    Turn around time: generally refers to the amount of time required for the process to produce output. Your course may use a different or simpler definition to make your calculations easier. From what I can see you are probably being asked to compute the amount of time it takes for each process to complete. This is equal to: finish_time - time_first_scheduled_on_CPU (not finish_time - arrival_time).

    Average waiting time: Based on the Gantt chart you develop which shows exactly when and for how long a process is on the CPU, you can compute the total amount of time each process was waiting to get on the CPU.

    This consists of:

    1. Amount of time between arrival and when it is first scheduled on the CPU
    2. If the process has a longer execution time than a single quantum then you need to sum all of the time spent off the CPU
    3. Add the two quantities together and you have the total waiting time for the process
    4. Repeat steps 1-3 for each process and take the average.
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

When using Priority Preemptive Scheduling, does a higher priority yield way to a process
Current Process: I have a tar.gz file. (Actually, I have about 2000 of them,
A process to quickly detect whether there is data in a given worksheet or
Process the data handed to an html page from a form. This is my
Process.Start(IExplore.exe); Does this always work, on every machine ? If not, how to do
what I am trying to do is to have a process (this is just
I'm about to put this design into use in an application, but I'm fairly
This process has been working fine in Chrome, but in Firefox 7.0.1 there are
I was writing this code for FCFS scheduling. But in Linux this is giving
I am executing this command on my system get-process $Processname -computername $Computername but in

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.