अपरेटिङ सिस्टम – Operating System MCQ
अपरेटिङ सिस्टम – कम्प्युटर र IT
Operating System · Computer & IT (Technical) · ४०९ प्रश्न
४०९ प्रश्न उपलब्ध। मोड छान्नुहोस्:
अपरेटिङ सिस्टम: प्रश्न र उत्तर
सही लागेको विकल्पमा थिच्नुहोस्। सही भए हरियो, गलत भए रातो देखिन्छ; ३ सेकेन्डपछि सही उत्तर र व्याख्या देखिन्छ।
सही: ० / ०
-
LRU (Least Recently Used) को नजिकको एल्गोरिदमलाई कसरी अनुमानित गरिन्छ र यसमा कस्तो सूची प्रयोग गरिन्छ?
सही उत्तर: क) Reference Bit and a Circular List
LRU को नजिकको एल्गोरिदममा रेफरेन्स बिट (reference bit) र साइकल सूची (circular list) प्रयोग गरिन्छ। रेफरेन्स बिट प्रत्येक पेजको प्रयोगको बारेमा जानकारी दिन्छ, र साइकल सूचीले हाल प्रयोग भइरहेको पेजको क्रम राख्छ। Optimal Page Replacement ले प्रत्येक पटक सबैभन्दा कम प्रयोग भएको पेजलाई बदलेरैमा हुन्छ, FIFO ले पहिले आएको पेजलाई पहिले प्रोसेस गर्छ, र LRU ले हाल प्रयोग भएको पेजलाई बदलेरैमा हुन्छ।
💬 टिप्पणी / गल्ती रिपोर्ट (०)
-
फिक्स्ड टाइम क्वान्टम (fixed time quantum) प्रयोग गर्ने CPU शेड्युलिङ एल्गोरिदममा कस्तो विशेषता हुन्छ?
सही उत्तर: घ) Fixed Time Quantum
फिक्स्ड टाइम क्वान्टममा प्रत्येक प्रोसेसलाई पूर्वनिर्धारित समय अवधि (time quantum) सम्मको लागि मात्र CPU प्रयोग गर्न दिइन्छ। यदि प्रोसेसले क्वान्टमको समयमा आफ्नो कार्य समाप्त गर्न सकेन भने, उसको कार्य सूचीमा पछि राखिन्छ। Round Robin प्रत्येक प्रोसेसलाई समान समय दिन्छ, Priority Scheduling प्राथमिकताको आधारमा प्रोसेसलाई चलाउँछ, र First-Come, First-Served ले पहिले आएको प्रोसेसलाई प्राथमिकता दिन्छ।
💬 टिप्पणी / गल्ती रिपोर्ट (०)
-
SCAN (Seek Time Calculation Algorithm) ले मुख्य रूपमा कस्तो डिस्क क्रमबद्धता (disk scheduling algorithm) को रूप हो?
सही उत्तर: घ) SCAN (Seek Time Calculation Algorithm)
SCAN ले डिस्कमा डेटा खोज्दा डिस्कको केन्द्रबाट सुरु हुन्छ र त्यसपछि डिस्कको घेरामा घुमेर क्रमबद्धता अनुसार डेटा खोज्छ। FIFO ले पहिले आएको डेटालाई पहिले प्रोसेस गर्छ, SSTF ले कम सेकम Seek Time भएको डेटालाई प्राथमिकता दिन्छ, र EDF समयको आधारमा प्राथमिकता दिन्छ। SCAN ले डिस्कको केन्द्रबाट सुरु भइन्त्यसैले यसलाई Seek Time Calculation Algorithm भनिन्छ।
💬 टिप्पणी / गल्ती रिपोर्ट (०)
-
In a two-level paging scheme for 32-bit logical addresses with 4 KB pages, the inner page-table index uses 10 bits. How many bits are used for the outer page-table index?
सही उत्तर: ख) 10
Offset = 12 bits (4 KB), so the page number is 20 bits; with 10 bits for the inner index, the outer index has 20 - 10 = 10 bits.
💬 टिप्पणी / गल्ती रिपोर्ट (०)
-
In Linux, the C library function printf() eventually outputs its text by invoking which system call?
सही उत्तर: ख) write()
printf() formats the text in user space and then calls the write() system call on standard output (file descriptor 1).
💬 टिप्पणी / गल्ती रिपोर्ट (०)
-
The area of a disk used by the operating system to hold pages or processes moved out of main memory is called:
सही उत्तर: क) Swap space
Swap space (a swap partition or page file) extends RAM by holding inactive pages on disk.
💬 टिप्पणी / गल्ती रिपोर्ट (०)
-
Using a memory area to hold data temporarily while it is transferred between two devices that work at different speeds is called:
सही उत्तर: घ) Buffering
A buffer smooths out the speed mismatch between producer and consumer of data, such as a fast CPU and a slow printer.
💬 टिप्पणी / गल्ती रिपोर्ट (०)
-
Repeatedly checking a device's status register to see whether it is ready, instead of waiting for an interrupt, is called:
सही उत्तर: ग) Polling
In polling (busy waiting) the CPU keeps testing the device status, which wastes CPU time if the device is slow.
💬 टिप्पणी / गल्ती रिपोर्ट (०)
-
A hypervisor that runs directly on the hardware without a host operating system, such as VMware ESXi, is a:
सही उत्तर: ख) Type 1 (bare-metal) hypervisor
Type 1 hypervisors run on bare hardware; Type 2 hypervisors such as VirtualBox run as applications on a host OS.
💬 टिप्पणी / गल्ती रिपोर्ट (०)
-
In a microkernel operating system design:
सही उत्तर: क) Only minimal services run in kernel mode, while drivers and file systems run as user-space servers
A microkernel keeps only essentials (IPC, basic scheduling, memory) in the kernel, improving reliability at some cost in performance.
💬 टिप्पणी / गल्ती रिपोर्ट (०)
यी अभ्यास प्रश्न हुन्, आधिकारिक प्रश्न होइनन्। पाठ्यक्रम, विज्ञापन र नतिजाका लागि सम्बन्धित निकायको आधिकारिक वेबसाइट हेर्नुहोस्। उत्तरमा गल्ती भेटे प्रश्नमुनिको "टिप्पणी / गल्ती रिपोर्ट" मा लेख्नुहोस्।
नमस्ते! पाठ्यक्रम, सामान्य ज्ञान, भाषा परीक्षा वा कुनै प्रश्नको उत्तर बुझ्न सोध्नुहोस्।
AI ले गल्ती गर्न सक्छ। महत्वपूर्ण कुरा आधिकारिक स्रोतमा जाँच्नुहोस्।