Consider the following sequence of page references:
1 2 3 4 4 2 1 4 1 3 4
Determine how many page faults will occur for the "Optimal" algorithms, assuming there are only "2 frames".
Page Replacement Algorithms
Quiz
•
Computers
•
University
•
Hard
Salmiah Amin
Used 77+ times
FREE Resource
15 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
15 mins • 1 pt
Consider the following sequence of page references:
1 2 3 4 4 2 1 4 1 3 4
Determine how many page faults will occur for the "Optimal" algorithms, assuming there are only "2 frames".
10 page faults
8 page faults
6 page faults
4 page faults
2.
MULTIPLE CHOICE QUESTION
15 mins • 1 pt
Consider the following sequence of page references:
1 2 3 4 4 2 1 4 1 3 4
Determine how many page faults will occur for the "FIFO" algorithms, assuming there are only "2 frames".
9 page faults
7 page faults
5 page faults
3 page faults
3.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
Which of the following page replacement algorithms suffer from “Belady’s anomaly?
Second Chance
FIFO
LRU
Optimal
4.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
Which of the algorithms requires future knowledge of the reference string?
FIFO
Random
LRU
Optimal
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Second chance algorithm is actually a FIFO replacement algorithm with a small modification that causes it to be similar to least recently used
True
False
6.
MULTIPLE CHOICE QUESTION
15 mins • 1 pt
Consider the following sequence of page references:
7 0 1 2 0 3 0 4 2 3 0
Determine how many page faults will occur for the "FIFO" algorithms, assuming there are only "3 frames".
12 page faults
10 page faults
8 page faults
6 page faults
7.
MULTIPLE CHOICE QUESTION
15 mins • 1 pt
Consider the following sequence of page references:
7 0 1 2 0 3 0 4 2 3 0
Determine how many page faults will occur for the "LRU" algorithms, assuming there are only "3 frames".
10 page faults
9 page faults
8 page faults
7 page faults
10 questions
Post-Test CoR AdvProg
Quiz
•
University
20 questions
Creating Algorithms through Pseudocodes and Flowcharts
Quiz
•
10th Grade - University
18 questions
Data Structures Quiz 1
Quiz
•
12th Grade - University
10 questions
Demand Paging and Page Replacement
Quiz
•
University
15 questions
Operating Systems
Quiz
•
University
15 questions
OS 2023-24
Quiz
•
University
10 questions
Analysis of Algorithms Quiz
Quiz
•
University
10 questions
PDS - 04225 Week 2 - Phases of Software Development - Chapter 1
Quiz
•
University
15 questions
Character Analysis
Quiz
•
4th Grade
17 questions
Chapter 12 - Doing the Right Thing
Quiz
•
9th - 12th Grade
10 questions
American Flag
Quiz
•
1st - 2nd Grade
20 questions
Reading Comprehension
Quiz
•
5th Grade
30 questions
Linear Inequalities
Quiz
•
9th - 12th Grade
20 questions
Types of Credit
Quiz
•
9th - 12th Grade
18 questions
Full S.T.E.A.M. Ahead Summer Academy Pre-Test 24-25
Quiz
•
5th Grade
14 questions
Misplaced and Dangling Modifiers
Quiz
•
6th - 8th Grade