अपरेटिङ सिस्टम – Operating System MCQ
अपरेटिङ सिस्टम – कम्प्युटर र IT
Operating System · Computer & IT (Technical) · ४०९ प्रश्न
४०९ प्रश्न उपलब्ध। मोड छान्नुहोस्:
अपरेटिङ सिस्टम: प्रश्न र उत्तर
सही लागेको विकल्पमा थिच्नुहोस्। सही भए हरियो, गलत भए रातो देखिन्छ; ३ सेकेन्डपछि सही उत्तर र व्याख्या देखिन्छ।
सही: ० / ०
-
In Linux, if the umask is 022, a newly created regular file normally gets which permission?
सही उत्तर: ख) rw-r--r-- (644)
Regular files start from 666; removing the umask bits 022 gives 644, i.e. rw-r--r--.
💬 टिप्पणी / गल्ती रिपोर्ट (०)
-
In Linux, a hard link differs from a symbolic (soft) link because a hard link:
सही उत्तर: क) Points directly to the same inode as the original file
A hard link is another directory entry for the same inode, so the data stays accessible until all hard links are removed.
💬 टिप्पणी / गल्ती रिपोर्ट (०)
-
The directory structure that allows files and subdirectories to be shared, but does not permit cycles, is the:
सही उत्तर: क) Acyclic-graph directory
An acyclic graph lets the same file appear in several directories through links while forbidding cycles, which simplifies traversal and deletion.
💬 टिप्पणी / गल्ती रिपोर्ट (०)
-
A major disadvantage of linked file allocation is that:
सही उत्तर: घ) Direct (random) access to a particular block is inefficient
To reach the i-th block, the system must follow pointers from the first block, so random access is slow.
💬 टिप्पणी / गल्ती रिपोर्ट (०)
-
The SCAN disk scheduling algorithm is also known as the:
सही उत्तर: घ) Elevator algorithm
Like a lift, the head moves to one end servicing requests and then reverses direction.
💬 टिप्पणी / गल्ती रिपोर्ट (०)
-
The disk scheduling algorithm that services requests while moving in one direction and, on reaching the end, returns to the beginning without servicing requests on the return trip is:
सही उत्तर: क) C-SCAN
Circular SCAN treats the cylinders as a circular list, giving more uniform waiting times than SCAN.
💬 टिप्पणी / गल्ती रिपोर्ट (०)
-
Head at cylinder 50, moving upward; pending requests 82, 170, 43, 140, 24, 16 and 190. If the LOOK algorithm is used (reversing at the last request instead of the disk end), the total head movement is:
सही उत्तर: ख) 314 cylinders
LOOK goes 50 to 190 (140 cylinders), then reverses down to 16 (174 cylinders): 140 + 174 = 314.
💬 टिप्पणी / गल्ती रिपोर्ट (०)
-
A disk has cylinders 0 to 199. The head is at cylinder 50 moving towards higher cylinders, and the request queue is 82, 170, 43, 140, 24, 16, 190. What is the total head movement using SCAN?
सही उत्तर: ग) 332 cylinders
SCAN goes 50 to the end at 199 (149 cylinders), then reverses to 16 (183 cylinders): 149 + 183 = 332.
💬 टिप्पणी / गल्ती रिपोर्ट (०)
-
Which page replacement algorithm approximates LRU by using a reference bit and a circular list of pages?
सही उत्तर: ख) Second-chance (Clock) algorithm
The clock algorithm skips a page whose reference bit is 1 (clearing it) and replaces the first page found with reference bit 0.
💬 टिप्पणी / गल्ती रिपोर्ट (०)
-
The tendency of a program to access the same and nearby memory locations repeatedly over a short period is called:
सही उत्तर: ख) Locality of reference
Locality of reference (temporal and spatial) is why caching and paging work well.
💬 टिप्पणी / गल्ती रिपोर्ट (०)
यी अभ्यास प्रश्न हुन्, आधिकारिक प्रश्न होइनन्। पाठ्यक्रम, विज्ञापन र नतिजाका लागि सम्बन्धित निकायको आधिकारिक वेबसाइट हेर्नुहोस्। उत्तरमा गल्ती भेटे प्रश्नमुनिको "टिप्पणी / गल्ती रिपोर्ट" मा लेख्नुहोस्।
नमस्ते! पाठ्यक्रम, सामान्य ज्ञान, भाषा परीक्षा वा कुनै प्रश्नको उत्तर बुझ्न सोध्नुहोस्।
AI ले गल्ती गर्न सक्छ। महत्वपूर्ण कुरा आधिकारिक स्रोतमा जाँच्नुहोस्।