Search Header Logo

CSCI 114 (01): HW3 (Ch.7-8)

Authored by Mayuka Nozaki

Computers

3rd Grade

Used 3+ times

CSCI 114 (01): HW3 (Ch.7-8)
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

18 questions

Show all answers

1.

FILL IN THE BLANK QUESTION

3 mins • 1 pt

Media Image

What is the 1st blank?

2.

FILL IN THE BLANK QUESTION

3 mins • 1 pt

Media Image

What is the 2nd blank?

Answer explanation

Process #0 is the 3rd priority level because priority is "3".

If add the execution time from 1st priority level to 3rd one:

1st priority + 2nd priority + 3rd priority

= Process #1 + Process #4 + Process #0

= 20 + 50 + 80

= "150"

3.

FILL IN THE BLANK QUESTION

3 mins • 1 pt

Media Image

What is the 3rd blank?

Answer explanation

Process #2 is the 4th priority level because priority is "4".

If add the execution time from 1st priority level to 4th one:

1st priority + 2nd priority + 3rd priority + 4th priority

= Process #1 + Process #4 + Process #0 + Process #2

= 20 + 50 + 80 + 10

= "160"

4.

FILL IN THE BLANK QUESTION

3 mins • 1 pt

Media Image

What is the 4th blank?

Answer explanation

Process #3 is the 5th priority level because priority is "5".

The waiting time means the total # of waiting time until the previous priority.

If add the execution time from 1st priority level to 4th one:

1st priority + 2nd priority + 3rd priority + 4th priority

= Process #1 + Process #4 + Process #0 + Process #2

= 20 + 50 + 80 + 10

= "160"

5.

FILL IN THE BLANK QUESTION

3 mins • 1 pt

Media Image

What is the 5th blank?

Answer explanation

Add each priority's waiting time:

--> total # of execution time from the 1st priority to the previous one.

1st priority = Process #1 = "0"

2nd priority = Process #4 = 0 + 20 = "20"

3rd priority = Process #0 = 20 + 50 = "70"

4th priority = Process #2 = 70 + 80 = "150"

5th priority = Process #3 = 150 + 10 = "160"

total # of waiting time / priority #

= (0+20+70+150+160) / 5

= 400 / 5

= "80"

6.

FILL IN THE BLANK QUESTION

3 mins • 1 pt

Media Image

What is the 1st blank?

7.

FILL IN THE BLANK QUESTION

3 mins • 1 pt

Media Image

What is the 2nd blank?

Access all questions and much more by creating a free account

Create resources

Host any resource

Get auto-graded reports

Google

Continue with Google

Email

Continue with Email

Classlink

Continue with Classlink

Clever

Continue with Clever

or continue with

Microsoft

Microsoft

Apple

Apple

Others

Others

Already have an account?