Question
Easy
Calculate number of page faults for reference string 3, 2, 4, 1, 3, 5, 2, 1, 7, 3, 0 considering four frames and eight pages of equal size and LRU page replacement technique :
1
3
2
4
3
5
4
6
Question Details
Time to Solve: 12
Exam: HTET
Level/Paper: Level 3
Chapter: Computer System & Hardware Fundamentals
Topic: Memory
Correct Answer
Option C
Explanation
The correct option is (3): The number of page faults is calculated by tracking the state of the four available memory frames against the reference string (3, 2, 4, 1, 3, 5, 2, 1, 7, 3, 0) using the Least Recently Used (LRU) algorithm. LRU is a demand paging strategy where a fault occurs if the requested page is not in any of the four frames, and the page that…Read More
Similar Questions from HTET Exam - Level 3 - Year 2022
Question 1
Easy
Source :
HTET 2022
In directed graph G(V, E) where $V=\{P,Q,R,S,T\}$ and $E=\{PQ, RS, TP, PS, QR, PT, ST, QP, RQ, TS\}$, the vertex with maximum in-degree is _______…
Chapter :
Data Structures (Through C++)
Topic :
Data Structure Concepts
Question 2
Easy
Source :
HTET 2022
Consider Column-I and Column-II in context of C++: Column-I - Column-II i. Private - a. Data type modifier ii. Sizeof - b. Visibility specifier iii.…
Chapter :
Object-Oriented Programming (C++)
Topic :
OOP Concepts
Question 3
Easy
Source :
HTET 2022
In context of semaphores choose the option with valid codes for wait() and signal() functions:
Chapter :
Operating Systems & Software Concepts
Topic :
MS Window
Question 4
Easy
Source :
HTET 2022
1000 of 8421 binary coding system is equal to 1011 in ........ binary coding.
Chapter :
Computer System & Hardware Fundamentals
Topic :
Encoding Schemes and Number System