अपरेटिङ सिस्टम – Operating System MCQ
अपरेटिङ सिस्टम – कम्प्युटर र IT
Operating System · Computer & IT (Technical) · ३९३ प्रश्न
३९३ प्रश्न उपलब्ध। मोड छान्नुहोस्:
अपरेटिङ सिस्टम: प्रश्न र उत्तर
सही लागेको विकल्पमा थिच्नुहोस्। सही भए हरियो, गलत भए रातो देखिन्छ; ३ सेकेन्डपछि सही उत्तर र व्याख्या देखिन्छ।
सही: ० / ०
-
The circular wait condition can be prevented by:
सही उत्तर: ग) Imposing a total ordering on resource types and requesting them in increasing order
If resources are always requested in a fixed increasing order, a cycle of waiting cannot form.
💬 टिप्पणी / गल्ती रिपोर्ट (०)
-
In a resource allocation graph where each resource type has only one instance, a cycle means:
सही उत्तर: ख) A deadlock exists
With single-instance resources, a cycle is both necessary and sufficient for deadlock.
💬 टिप्पणी / गल्ती रिपोर्ट (०)
-
Banker's algorithm is used for deadlock:
सही उत्तर: घ) Avoidance
Banker's algorithm keeps the system in a safe state, which avoids deadlock.
💬 टिप्पणी / गल्ती रिपोर्ट (०)
-
Peterson's solution to the critical-section problem is designed for:
सही उत्तर: क) Two processes
Peterson's classic software solution handles mutual exclusion between two processes.
💬 टिप्पणी / गल्ती रिपोर्ट (०)
-
A situation where several processes access shared data concurrently and the result depends on the order of execution is called a:
सही उत्तर: घ) Race condition
When the outcome depends on the timing of concurrent access to shared data, it is a race condition.
💬 टिप्पणी / गल्ती रिपोर्ट (०)
-
A binary semaphore can take only the values:
सही उत्तर: ग) 0 and 1
A binary semaphore takes only 0 or 1 and acts like a mutex lock.
💬 टिप्पणी / गल्ती रिपोर्ट (०)
-
The two atomic operations defined on a semaphore are:
सही उत्तर: ग) wait (P) and signal (V)
A semaphore is accessed only through the atomic wait (P) and signal (V) operations.
💬 टिप्पणी / गल्ती रिपोर्ट (०)
-
Which of the following is NOT a requirement for a correct solution to the critical-section problem?
सही उत्तर: क) Circular wait
The three requirements are mutual exclusion, progress and bounded waiting; circular wait is a deadlock condition.
💬 टिप्पणी / गल्ती रिपोर्ट (०)
-
In CPU scheduling, throughput means:
सही उत्तर: क) Number of processes completed per unit time
Throughput measures how many processes finish per unit of time.
💬 टिप्पणी / गल्ती रिपोर्ट (०)
-
Turnaround time of a process is:
सही उत्तर: घ) Completion time minus arrival time
Turnaround time is the total time from submission (arrival) to completion.
💬 टिप्पणी / गल्ती रिपोर्ट (०)
यी अभ्यास प्रश्न हुन्, आधिकारिक प्रश्न होइनन्। पाठ्यक्रम, विज्ञापन र नतिजाका लागि सम्बन्धित निकायको आधिकारिक वेबसाइट हेर्नुहोस्। उत्तरमा गल्ती भेटे प्रश्नमुनिको "टिप्पणी / गल्ती रिपोर्ट" मा लेख्नुहोस्।
नमस्ते! पाठ्यक्रम, सामान्य ज्ञान, भाषा परीक्षा वा कुनै प्रश्नको उत्तर बुझ्न सोध्नुहोस्।
AI ले गल्ती गर्न सक्छ। महत्वपूर्ण कुरा आधिकारिक स्रोतमा जाँच्नुहोस्।