प्रति process 3 frames वाली memory के लिए reference string 7, 0, 1, 2, 0, 3, 0, 4, 2, 3 पर विचार कीजिए। FIFO page replacement policy में page faults की संख्या क्या होगी?
(NVS PGT Computer Science 15.12.2022 (Shift-II))
Correct Answer: C
Explanation (EN): For the given reference string with 3 frames, FIFO results in 9 page faults.
Explanation (HI): दिए गए reference string और 3 frames के लिए FIFO में 9 page faults होते हैं।
निम्न में से कौन-सा statement सही नहीं है?
(NVS PGT Computer Science 15.12.2022 (Shift-II))
Correct Answer: C
Explanation (EN): Contiguous allocation may suffer from fragmentation issues, so the statement that there is no internal fragmentation is considered incorrect in the provided source.
Explanation (HI): Contiguous allocation fragmentation की समस्या से प्रभावित हो सकता है, इसलिए दिया गया statement incorrect माना गया है।
निम्न में से कौन-सा page replacement algorithm page references के बारे में future information की आवश्यकता रखता है?
(LT Grade Computer Science 2018)
Correct Answer: D
Explanation (EN): The Optimal page replacement algorithm requires knowledge of future page references.
Explanation (HI): Optimal page replacement algorithm को future page references की जानकारी चाहिए होती है।
एक process 5 pages A, B, C, D, E को क्रम A, B, C, D, A, B, E, A, B, C, D, E में refer करता है। यदि page replacement algorithm FIFO हो और initial store 3 empty frames का हो, तो कितनी बार pages transfer होंगी?
(LT Grade Computer Science 2018)
Correct Answer: C
Explanation (EN): Following FIFO for the given page sequence results in 9 page transfers/page faults.
Explanation (HI): दिए गए page sequence पर FIFO लगाने से 9 page transfers/page faults होते हैं।
Cylinder requests 98, 183, 37, 122, 14, 124, 65, 67 वाली disk queue पर विचार कीजिए। यदि disk head प्रारंभ में 53 पर है, तो FCFS scheduling में total head movements कितनी होंगी?
(BPSC TRE 3.0 Exam 22.07.2024 (11-12))
Correct Answer: A
Explanation (EN): Adding the absolute head movements in FCFS order gives 640 cylinders.
Explanation (HI): FCFS क्रम में सभी absolute head movements जोड़ने पर 640 cylinders मिलते हैं।
MFU page replacement algorithm उपयोग करने का कारण क्या है?
(BPSC TRE 3.0 22.07.2024 (6-10))
Correct Answer: B
Explanation (EN): MFU assumes that pages used very frequently in the past may have outlived their usefulness, while less used pages may be needed again.
Explanation (HI): MFU यह मानता है कि जो pages बहुत अधिक उपयोग हो चुकी हैं वे अब कम उपयोगी हो सकती हैं, जबकि कम उपयोग हुई pages भविष्य में फिर काम आ सकती हैं।
यदि 3 disks को stand A से stand C पर stand B की सहायता से ले जाना हो, तो Tower of Hanoi का valid move sequence क्या होगा?
(RPSC Computer Science 2016 (Paper-I))
Correct Answer: D
Explanation (EN): The correct 7-step solution for 3 disks is A→C, A→B, C→B, A→C, B→A, B→C, A→C.
Explanation (HI): 3 disks के लिए सही 7-step solution है: A→C, A→B, C→B, A→C, B→A, B→C, A→C।
Memory में process के साथ heap section भी होती है। Heap section का उपयोग क्या है?
(UGC NET Computer Science December 2022)
Correct Answer: B
Explanation (EN): Heap section is used for dynamic memory allocation during program execution.
Explanation (HI): Heap section program execution के दौरान dynamic memory allocation के लिए उपयोग होती है।
चार frames के साथ reference string 1, 2, 3, 4, 5, 3, 4, 1, 6, 7, 8, 7, 8 के लिए optimal algorithm में कितने page faults होंगे?
(UGC NET Computer Science December 2022)
Correct Answer: A
Explanation (EN): According to the provided solution, the optimal algorithm results in 8 page faults.
Explanation (HI): दिए गए solution के अनुसार optimal algorithm में 8 page faults होते हैं।
Page reference string 1, 2, 3, 4, 2, 1, 5, 6, 2, 1, 2, 3, 7, 6, 3, 2, 1, 2, 3, 6 पर विचार कीजिए। यदि 5 page frames हों और सभी initially empty हों, तो LRU, FIFO और Optimal page replacement algorithms के page faults क्रमशः कितने होंगे?
(UGC NET Computer Science August 2016 (Paper-III))
Correct Answer: B
Explanation (EN): For the given string, LRU gives 8, FIFO gives 10, and Optimal gives 7 page faults.
Explanation (HI): दिए गए string के लिए LRU में 8, FIFO में 10, और Optimal में 7 page faults आते हैं।