Computer AwarenessHardSBI PO · IBPS Clerk · SSC CGL
In which situation does an operating system suffer from 'thrashing'?
- A. The hard disk develops bad sectors
- B. Two processes wait forever for resources held by each other
- C. A low-priority process never gets the CPU
- D. It spends more time swapping pages between memory and disk than executing processes
Correct answer: D. It spends more time swapping pages between memory and disk than executing processes
Thrashing is excessive paging when processes do not have enough frames. Processes waiting on each other is deadlock; a process never getting the CPU is starvation.
हिंदी में
किस स्थिति में ऑपरेटिंग सिस्टम ‘थ्रैशिंग’ से ग्रस्त होता है?
- A. हार्ड डिस्क में खराब सेक्टर आ जाते हैं
- B. दो प्रक्रियाएँ एक-दूसरे द्वारा रखे गए संसाधनों की अनंत प्रतीक्षा करती हैं
- C. कम प्राथमिकता वाली प्रक्रिया को कभी CPU नहीं मिलता
- D. वह प्रक्रियाओं को निष्पादित करने की अपेक्षा मेमोरी और डिस्क के बीच पेज अदला-बदली में अधिक समय लगाता है
उत्तर: D. थ्रैशिंग अत्यधिक पेजिंग है, जो तब होती है जब प्रक्रियाओं के पास पर्याप्त फ़्रेम नहीं होते। प्रक्रियाओं का एक-दूसरे की प्रतीक्षा करना डेडलॉक है; किसी प्रक्रिया को कभी CPU न मिलना स्टार्वेशन है।
More Computer Awareness questions
- In a class C network with subnet mask 255.255.255.0, how many usable host addresses are available?
- Which program combines several object files and library routines into a single executable file?
- TCP and UDP are protocols of which OSI layer, and which of them guarantees ordered, reliable delivery?
- The Excess-3 code of the decimal digit 4 is:
- A processor negates the 8-bit value 00101100 using two's complement. Which bit pattern does it produce?
- The binary number 1011 converted into Gray code is: