
CSCI 114 (01): HW3 (Ch.7-8)
Authored by Mayuka Nozaki
Computers
3rd Grade
Used 3+ times

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 BLANKS QUESTION
3 mins • 1 pt
What is the 1st blank?
(a)
2.
FILL IN THE BLANKS QUESTION
3 mins • 1 pt
What is the 2nd blank?
(a)
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 BLANKS QUESTION
3 mins • 1 pt
What is the 3rd blank?
(a)
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 BLANKS QUESTION
3 mins • 1 pt
What is the 4th blank?
(a)
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 BLANKS QUESTION
3 mins • 1 pt
What is the 5th blank?
(a)
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 BLANKS QUESTION
3 mins • 1 pt
What is the 1st blank?
(a)
7.
FILL IN THE BLANKS QUESTION
3 mins • 1 pt
What is the 2nd blank?
(a)
Access all questions and much more by creating a free account
Create resources
Host any resource
Get auto-graded reports

Continue with Google

Continue with Email

Continue with Classlink

Continue with Clever
or continue with

Microsoft
%20(1).png)
Apple
Others
Already have an account?