Computer AwarenessHardIBPS SO IT · IBPS PO Mains
A user program needs to read a file from disk, which only the operating system may do. How does it get the OS to do this?
- A. By making a system call, which switches the CPU into kernel mode
- B. By writing directly to the disk controller's registers
- C. By calling the BIOS from user mode
- D. By raising its own process priority
Correct answer: A. By making a system call, which switches the CPU into kernel mode
Protected operations run in kernel mode; a user program requests them through a system call (trap). Direct hardware access from user mode is blocked by the OS.
हिंदी में
किसी उपयोगकर्ता प्रोग्राम को डिस्क से फ़ाइल पढ़नी है, जो केवल ऑपरेटिंग सिस्टम कर सकता है। वह OS से यह कैसे करवाता है?
- A. सिस्टम कॉल करके, जो CPU को कर्नेल मोड में ले जाता है
- B. डिस्क कंट्रोलर के रजिस्टरों में सीधे लिखकर
- C. यूज़र मोड से BIOS को कॉल करके
- D. अपनी प्रक्रिया प्राथमिकता बढ़ाकर
उत्तर: A. संरक्षित संक्रियाएँ कर्नेल मोड में चलती हैं; उपयोगकर्ता प्रोग्राम उन्हें सिस्टम कॉल (ट्रैप) के माध्यम से माँगता है। यूज़र मोड से सीधी हार्डवेयर पहुँच को OS रोक देता है।
More Computer Awareness questions
- Which pairing of memory-management scheme and the kind of fragmentation it suffers from is correct?
- A process has 3 page frames, all empty at first, and refers to pages in the order 5, 0, 3, 5, 1, 0, 5, 2, 0, 1, 3. How many page faults…
- Arrange these networks from the smallest to the largest geographical coverage.
- Under classful addressing, what is the default subnet mask of the host 150.10.5.7?
- A host has the address 192.168.10.77/26. What are the network address and the broadcast address of its subnet?
- Which protocol transfers files securely by running over an SSH connection?