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 आते हैं।
Page reference string 1, 2, 3, 2, 4, 1, 3, 2, 4, 1 पर विचार कीजिए। यदि तीन page frames हों और वे शुरुआत में empty हों, तो निम्न में से कौन-सा expression सही है?
(DSSSB PGT Computer Science (Male) 27.07.2018 (Shift-II))
Correct Answer: D
Explanation (EN): For the given sequence, Optimal gives the fewest faults, FIFO is in between, and LRU gives the most faults.
Explanation (HI): दिए गए sequence में Optimal सबसे कम faults देता है, FIFO उससे अधिक, और LRU सबसे अधिक faults देता है।
निम्न disk scheduling graph पर विचार कीजिए और बताइए कि यह किस disk scheduling algorithm को दर्शाता है।
(UGC NET Computer Science December 2024)
Correct Answer: D
Explanation (EN): The graph represents C-LOOK scheduling, where the head moves in one direction and then jumps back without servicing on return.
Explanation (HI): यह graph C-LOOK scheduling को दर्शाता है, जिसमें head एक दिशा में चलता है और फिर बिना service किए वापस jump करता है।
Reference string 0, 1, 2, 3, 0, 1, 4, 0, 1, 2, 3, 4 पर विचार कीजिए। यदि FIFO page replacement algorithm उपयोग किया जाए, तो तीन page frames और चार page frames के लिए page faults क्रमशः कितने होंगे?
(UGC NET Computer Science June 2016 (Paper-II))
Correct Answer: D
Explanation (EN): For the given reference string, FIFO gives 9 page faults with 3 frames and 10 page faults with 4 frames.
Explanation (HI): दिए गए reference string पर FIFO, 3 frames के लिए 9 और 4 frames के लिए 10 page faults देता है।
यदि disk head प्रारंभ में track 32 पर हो, तो FCFS scheduling में I/O block requests 98, 37, 14, 124, 65, 67 के लिए कुल disk moves कितनी होंगी?
(UGC NET Computer Science June 2016 (Paper-II))
Correct Answer: C
Explanation (EN): Adding the head movements in FCFS order gives 321 disk moves.
Explanation (HI): FCFS क्रम में head movements जोड़ने पर 321 disk moves मिलती हैं।
एक scheduling algorithm process की waiting time के proportional priority assign करता है। प्रत्येक process zero priority (lowest) से शुरू होती है। Scheduler हर 'T' time units पर priority का पुनर्मूल्यांकन करता है और अगले process को schedule करता है। यदि किसी process में I/O operation नहीं है और सभी time zero पर आते हैं, तो scheduler कौन-सा criteria implement करता है?
(UGC NET Computer Science June 2016 (Paper-II))
Correct Answer: B
Explanation (EN): This behavior is equivalent to Round Robin with quantum T.
Explanation (HI): यह व्यवहार quantum T वाले Round Robin Scheduling के equivalent है।