Computer AwarenessVery hardIBPS SO IT · IBPS PO Mains
A process has 3 page frames, all empty at first, and refers to pages in the order 5, 0, 3, 5, 1, 0, 5, 2, 0, 1, 3. How many page faults occur under FIFO and under LRU replacement?
- A. FIFO 8, LRU 9
- B. FIFO 9, LRU 9
- C. FIFO 9, LRU 8
- D. FIFO 6, LRU 8
Correct answer: C. FIFO 9, LRU 8
FIFO faults on 5, 0, 3, 1, 5, 2, 0, 1, 3 = 9. LRU keeps 5 and 0 longer because they were just used and faults on 5, 0, 3, 1, 0, 2, 1, 3 = 8. Six is the count for the optimal policy.
हिंदी में
एक प्रक्रिया के पास 3 पेज फ़्रेम हैं, जो शुरू में सब खाली हैं, और वह पेजों का संदर्भ इस क्रम में देती है: 5, 0, 3, 5, 1, 0, 5, 2, 0, 1, 3। FIFO और LRU प्रतिस्थापन में कितने पेज फ़ॉल्ट होंगे?
- A. FIFO 8, LRU 9
- B. FIFO 9, LRU 9
- C. FIFO 9, LRU 8
- D. FIFO 6, LRU 8
उत्तर: C. FIFO में 5, 0, 3, 1, 5, 2, 0, 1, 3 पर फ़ॉल्ट = 9। LRU 5 और 0 को अधिक देर तक रखता है क्योंकि वे अभी प्रयोग हुए थे और 5, 0, 3, 1, 0, 2, 1, 3 पर फ़ॉल्ट = 8। छह इष्टतम नीति की गिनती है।
More Computer Awareness questions
- Arrange these networks from the smallest to the largest geographical coverage.
- Under classful addressing, what is the default subnet mask of the host 150.10.5.7?
- A host has the address 192.168.10.77/26. What are the network address and the broadcast address of its subnet?
- Which protocol transfers files securely by running over an SSH connection?
- A bank clerk logs in with a valid password but finds he can only view loan files, not approve them. The rule that limits what he may do…
- An outsider without an access card walks into a bank's server room by closely following an employee through the secured door. This…