कम्प्युटर / सूचना प्रविधि कम्प्युटर अधिकृत (सातौँ तह) – प्राविधिक पत्र
कम्प्युटर / सूचना प्रविधि – कम्प्युटर अधिकृत (सातौँ तह)
Computer Officer – 7th Level · Computer & IT Posts
२,५७७ प्रश्न उपलब्ध। मोड छान्नुहोस्:
प्राविधिक पत्र: प्रश्न र उत्तर
सही लागेको विकल्पमा थिच्नुहोस्। सही भए हरियो, गलत भए रातो देखिन्छ; ५ सेकेन्डपछि सही उत्तर र व्याख्या देखिन्छ।
सही: ० / ०
-
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.
💬 टिप्पणी / गल्ती रिपोर्ट (०)
-
P1, P2, P3 with burst times 24, 3 and 3 ms arrive at time 0. Using Round Robin with time quantum 4 ms, the average waiting time is about:
सही उत्तर: ग) 5.67 ms
Waiting times are 6, 4 and 7 ms, so average = 17/3 ≈ 5.67 ms.
💬 टिप्पणी / गल्ती रिपोर्ट (०)
-
Four processes arrive at time 0 with burst times 6, 8, 7 and 3 ms. Using non-preemptive SJF, the average waiting time is:
सही उत्तर: क) 7 ms
Order 3,6,7,8 gives waits 0,3,9,16, so average = 28/4 = 7 ms.
💬 टिप्पणी / गल्ती रिपोर्ट (०)
-
The convoy effect, where short processes wait behind a long process, is associated with:
सही उत्तर: ग) FCFS scheduling
In FCFS a long CPU-bound process holds the CPU and short processes queue behind it.
💬 टिप्पणी / गल्ती रिपोर्ट (०)
यी अभ्यास प्रश्न हुन्, आधिकारिक प्रश्न होइनन्। पाठ्यक्रम, विज्ञापन र नतिजाका लागि सम्बन्धित निकायको आधिकारिक वेबसाइट हेर्नुहोस्। उत्तरमा गल्ती भेटे प्रश्नमुनिको "टिप्पणी / गल्ती रिपोर्ट" मा लेख्नुहोस्।
नमस्ते! पाठ्यक्रम, सामान्य ज्ञान, भाषा परीक्षा वा कुनै प्रश्नको उत्तर बुझ्न सोध्नुहोस्।
AI ले गल्ती गर्न सक्छ। महत्वपूर्ण कुरा आधिकारिक स्रोतमा जाँच्नुहोस्।