Computer AwarenessHardSSC CGL · RRB NTPC · IBPS PO · SBI Clerk
A process is waiting for a disk read to finish. Which state does it enter first, and where does it go when the read completes?
- A. Blocked (waiting), then Running
- B. Ready, then Running
- C. Blocked (waiting), then Ready
- D. Running, then Terminated
Correct answer: C. Blocked (waiting), then Ready
A process that requests I/O leaves the CPU and is blocked. When the I/O finishes it does not run at once; it returns to the ready queue and waits for the scheduler to dispatch it.
हिंदी में
एक प्रक्रिया डिस्क रीड पूरा होने की प्रतीक्षा कर रही है। वह पहले किस अवस्था में जाती है, और रीड पूरा होने पर कहाँ जाती है?
- A. ब्लॉक्ड (प्रतीक्षा), फिर रनिंग
- B. रेडी, फिर रनिंग
- C. ब्लॉक्ड (प्रतीक्षा), फिर रेडी
- D. रनिंग, फिर टर्मिनेटेड
उत्तर: C. I/O माँगने वाली प्रक्रिया CPU छोड़कर ब्लॉक्ड हो जाती है। I/O पूरा होने पर वह तुरंत नहीं चलती, बल्कि रेडी कतार में लौटती है और शेड्यूलर के चुनने की प्रतीक्षा करती है।
More Computer Awareness questions
- Which pairing of data-transmission mode and example is correct?
- A line signal changes 2400 times per second and every change carries 2 bits. What are its baud rate and bit rate?
- A bank needs to store a single 10 GB backup file on a Windows disk and also set separate access permissions on individual files. Which…
- A bank keeps its customer database in its own private data centre but rents public-cloud servers to handle the load of its website during…
- A developer uploads only the application code to a provider's service, which itself manages the servers, operating system, runtime and…
- The software layer that lets several virtual machines, each with its own operating system, run on one physical computer at the same time…