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?

  1. A. Blocked (waiting), then Running
  2. B. Ready, then Running
  3. C. Blocked (waiting), then Ready
  4. 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.

हिंदी में

एक प्रक्रिया डिस्क रीड पूरा होने की प्रतीक्षा कर रही है। वह पहले किस अवस्था में जाती है, और रीड पूरा होने पर कहाँ जाती है?

  1. A. ब्लॉक्ड (प्रतीक्षा), फिर रनिंग
  2. B. रेडी, फिर रनिंग
  3. C. ब्लॉक्ड (प्रतीक्षा), फिर रेडी
  4. D. रनिंग, फिर टर्मिनेटेड

उत्तर: C. I/O माँगने वाली प्रक्रिया CPU छोड़कर ब्लॉक्ड हो जाती है। I/O पूरा होने पर वह तुरंत नहीं चलती, बल्कि रेडी कतार में लौटती है और शेड्यूलर के चुनने की प्रतीक्षा करती है।

More Computer Awareness questions

Exams that ask this topic