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 6542847
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 25, 20262026-05-25T11:16:34+00:00 2026-05-25T11:16:34+00:00

I am reading topic on scheduling algorithm analysis: suppose we have the four jobs

  • 0

I am reading topic on scheduling algorithm analysis:

suppose we have the four jobs and associated running times shown
below. One possible schedule j1, j2, j3, and j4 Because j1 finishes
in 15 (time units), j2 in 23, j3 in 26, and j4 in 36, the average
completion time is 25. A better schedule, which yields a mean
completion time of 17.75, is j3, j2, j4 and j1.

Job Time


j1 15

j2 8

j3 3

j4 10

My question how author calculated average completion time i.e., how we got 25 and 17.75 in above text?

Thanks!

  • 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-05-25T11:16:35+00:00Added an answer on May 25, 2026 at 11:16 am

    The jobs run serially (one at a time).

    Hence with order j1-j2-j3-j4, j1 finishes at 15, j2 finishes at 15+8=23, j3 finishes at 15+8+3=26 and j4 finishes at 15+8+3+10=36. They then average 15, 23, 26 and 36 to get 25 using your standard sum/count formula:

      (15 + 23 + 26 + 36) / 4
    =         100         / 4
    =                25
    

    In other words, the completion time they’re talking about is not how long a job took from when it started but how long it took from the start of the first job (ie, a point in time rather than a duration). I’m not sure how useful such a metric is, but that’s what they’re doing, based on the figures.

    With order j3-j2-j4-j1, j3 finishes at 3, j2 finishes at 3+8=11, j4 finishes at 3+8+10=21 and j1 finishes at 3+8+10+15=36. The average of that (3, 11, 21 and 36) is 17.75.

    The optimum (lowest) solution for the average finishing time is to do the jobs in order of increasing duration.

    That’s because the last job in a set of four will always finish at the same time, regardless of order (36 in this case).

    So, in order to reduce the average finishing point, the finishing points of the other three jobs should be as low as possible.

    And, the same rule that applies to four jobs also applies to three jobs (once the longest-running j1 is taken out of the mix). Then two jobs, once you’ve removed j4.

    Once you’ve removed three jobs, the only one standing is the one you should choose (of course).

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I am reading algorithm analysis topic. Here is the text snippet from the book
I have been reading the many posts on this topic and have been trying
Good day! I am reading Manning's struts2 book and one of the topic is
i was reading this topic http://ftp.icm.edu.pl/packages/socks/socks4/SOCKS4.protocol What I'm trying to do is: I have
I was reading this article about Double-Checked locking and out of the main topic
Lately I have been reading a lot of blog topics about big sites(facebook, twitter,
Reading on another forum I've came across the world of CSS Frameworks. The one
After reading the topic Is MD5 really that bad , I was thinking about
I have 3 classes-> video { nameVideo, id, description, user... } topic {nameTopic, topicID,
Reading online about this topic is confusing. Is there a way to cut around

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.