
OS - CPU Scheduling
Quiz
•
Computers
•
University
•
Practice Problem
•
Easy
Jericho Pasco
Used 1+ times
FREE Resource
Enhance your content in a minute
7 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
10 mins • 2 pts
Which of the following best describes Preemptive Scheduling?
The CPU executes a process until it finishes or waits for I/O.
The CPU executes a process only if it is the shortest.
The CPU can interrupt a running process to start another.
The CPU gives priority to user-level threads.
2.
MULTIPLE CHOICE QUESTION
10 mins • 2 pts
In a non-preemptive Shortest Process First (SPF) Algorithm, what is considered a major drawback?
It is too complex to implement.
It uses more CPU time compared to other algorithms.
Long processes might starve if short ones keep arriving.
It doesn’t handle I/O operations effectively.
3.
MULTIPLE CHOICE QUESTION
10 mins • 2 pts
The Round Robin scheduling algorithm ensures that every process gets an equal time slice for execution.
True
False
4.
MULTIPLE CHOICE QUESTION
10 mins • 2 pts
In the Priority Scheduling algorithm, a low-priority process might never get a turn to execute if high-priority tasks keep arriving.
True
False
5.
MULTIPLE CHOICE QUESTION
10 mins • 2 pts
The Dispatcher in CPU scheduling is responsible for determining which process should be executed next.
True
False
6.
MULTIPLE CHOICE QUESTION
15 mins • 5 pts
Consider three processes with the following burst times: P1 = 5ms, P2 = 8ms, and P3 = 12ms. If the processes are scheduled using the First-Come, First-Served (FCFS) algorithm, calculate the average waiting time.
3 ms
10 ms
6 ms
2 ms
7.
MULTIPLE CHOICE QUESTION
15 mins • 5 pts
Calculate the Average Waiting Time Using Shortest Job First (SJF) Algorithm:
Consider three processes with the following burst times: P1 = 6ms, P2 = 2ms, and P3 = 8ms. If the processes are scheduled using the Shortest Job First (SJF) algorithm, calculate the average waiting time.
3.29
3.31 ms
3.33 ms
10.0 ms
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?
Similar Resources on Wayground
10 questions
Web-II-Loop and Function
Quiz
•
University
11 questions
Workshop_1
Quiz
•
University
10 questions
Neural Networks Quiz
Quiz
•
University
10 questions
Abhyudaya coding class - Grade 7
Quiz
•
6th Grade - University
10 questions
WN-CELLULAR CONCEPT
Quiz
•
University
10 questions
Algorithm analysis: divide & conquer theory
Quiz
•
University
10 questions
Information systems concepts
Quiz
•
University
8 questions
Overview of IT
Quiz
•
6th Grade - University
Popular Resources on Wayground
15 questions
Fractions on a Number Line
Quiz
•
3rd Grade
20 questions
Equivalent Fractions
Quiz
•
3rd Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
22 questions
fractions
Quiz
•
3rd Grade
20 questions
Main Idea and Details
Quiz
•
5th Grade
20 questions
Context Clues
Quiz
•
6th Grade
15 questions
Equivalent Fractions
Quiz
•
4th Grade
20 questions
Figurative Language Review
Quiz
•
6th Grade
