मान लें virtual address space में 8 pages हैं और physical memory में 4 page frames हैं। यदि LRU page replacement algorithm उपयोग किया जाए, तो reference string 0 2 1 3 5 4 6 3 7 4 7 3 3 5 5 3 1 1 1 7 2 3 4 1 के लिए कितने page faults होंगे?
(UGC NET C.S. August-2016 (Paper-II))
Correct Answer: D
Explanation (EN): "**Question Delete Kar diya tha exam me 13 option nhi tha Ans hoga 13 page faults
Explanation (HI):
पाँच jobs A, B, C, D और E Ready Queue में हैं। उनके expected runtimes क्रमशः 9, 6, 3, 5 और x हैं। सभी jobs time zero पर queue में आई हैं। यदि 3 < x < 5, तो average response time minimize करने के लिए उन्हें किस order में run होना चाहिए?
(UGC NET C.S. August-2016 (Paper-II))
Correct Answer: B
Explanation (EN): To minimize average response time, SJF order is used, giving C, E, D, B, A.
Explanation (HI): Average response time minimize करने के लिए SJF order लिया जाता है, इसलिए क्रम C, E, D, B, A होगा।
तीन CPU intensive processes P1, P2, P3 को क्रमशः 20, 10 और 30 units CPU time चाहिए और वे क्रमशः 1, 3 और 7 पर arrive करते हैं। यदि OS shortest remaining time first (preemptive scheduling) algorithm उपयोग कर रहा है, तो कितने context switches होंगे? (Ready queue की शुरुआत और अंत के context switch count न करें)
(UGC NET C.S. August-2016 (Paper-II))
Correct Answer: A
Explanation (EN): According to SRTF timeline, total counted context switches are 3.
Explanation (HI): SRTF timeline के अनुसार counted context switches की संख्या 3 है।
Processes को contiguous करने और free memory को एक block में लाने के लिए किसका उपयोग किया जाता है?
(BPSC TRE 1.0 2023 (11-12))
Correct Answer: B
Explanation (EN): Compaction moves processes so that free memory becomes one contiguous block.
Explanation (HI): Compaction processes को shift करके free memory को एक contiguous block में बदलता है।
Virtual memory environment में किसी running process को minimum कितने page frames मिलने चाहिए, यह किससे determine होता है?
(UGC NET C.S. Exam-24 June-2019 (Paper-II))
Correct Answer: C
Explanation (EN): The minimum number of frames depends on the instruction set architecture, i.e., how many pages one instruction may touch.
Explanation (HI): Minimum frame requirement instruction set architecture पर depend करती है, यानी एक instruction कितने pages access कर सकती है।
किस page replacement algorithm में वह page replace किया जाता है जो भविष्य में सबसे लंबे समय तक उपयोग नहीं होगा?
(HTET PGT C.S. 2022)
Correct Answer: B
Explanation (EN): The Optimal algorithm replaces the page that will not be used for the longest future time.
Explanation (HI): Optimal algorithm उस page को replace करता है जो भविष्य में सबसे लंबे समय तक उपयोग नहीं होगा।
Round Robin scheduling में context switch time 4 units है और blocking से पहले average process running time 6 units है। CPU efficiency क्या होगी?
(CGPSC C.S. 2020 Set-A)
Correct Answer: C
Explanation (EN): CPU efficiency = useful time / (useful time + overhead) = 6 / (6 + 4) = 0.6.
Explanation (HI): CPU efficiency = useful time / (useful time + overhead) = 6 / (6 + 4) = 0.6.
n tasks के set में जिनके run times ज्ञात हैं और जिन्हें uni-processor पर चलाना है, कौन-सा scheduling algorithm maximum throughput देगा?
(CGPSC C.S. 2020 Set-A)
Correct Answer: B
Explanation (EN): SJF maximizes throughput by completing shorter jobs first.
Explanation (HI): SJF छोटे jobs को पहले पूरा करके throughput maximize करता है।
चार pages वाले logical address space में, जहाँ प्रत्येक page 2048 words का है और mapping 32 physical frames पर है, logical address में कितने bits होंगे?
(CGPSC C.S. 2020 Set-A)
Correct Answer: C
Explanation (EN): Page number bits = 2 and offset bits = 11, so logical address bits = 13.
Explanation (HI): Page number bits = 2 और offset bits = 11, इसलिए logical address = 13 bits.
निम्न में से किस page replacement policy में Belady's anomaly हो सकती है?
(CGPSC C.S. 2020 Set-A)
Correct Answer: A
Explanation (EN): Belady's anomaly can occur in FIFO page replacement.
Explanation (HI): Belady's anomaly FIFO page replacement में हो सकती है।