Operating System

121. Amount of work that a system is able to do per unit time is called as:
किसी system द्वारा प्रति unit time किया जाने वाला कार्य क्या कहलाता है?
(HTET PGT C.S. 2023)
A. Response Time
B. Turnaround Time
C. Throughput
D. Input Time

Correct Answer: C

Explanation (EN): Work completed per unit time is called throughput.

Explanation (HI): प्रति unit time किया गया कार्य throughput कहलाता है।

122. _____ is the program in execution.
Program in execution को क्या कहा जाता है?
(HTET PGT C.S. 2023)
A. Process
B. Thread
C. Operating system
D. Application software

Correct Answer: A

Explanation (EN): A program when loaded and executing is called a process.

Explanation (HI): जब program load होकर execute होता है, तो उसे process कहा जाता है।

123. Which of the following need not be saved on a context switch between processes?
Processes के बीच context switch के समय निम्न में से किसे save करना आवश्यक नहीं है?
(CGPSC C.S. 2020 Set-A)
A. General purpose registers
B. Translation look-aside buffer
C. Program counter
D. All of the above

Correct Answer: B

Explanation (EN): TLB need not be saved because it is a cache and can be flushed/refilled.

Explanation (HI): TLB को save करना आवश्यक नहीं है क्योंकि वह cache है और उसे flush/refill किया जा सकता है।

124. If only one job of 10 time units is present in a ready queue, and the time quantum is 1 time unit in round robin scheduling, then
यदि ready queue में केवल एक ही job हो जिसकी length 10 time units है और round robin scheduling में time quantum 1 unit हो, तो
(Haryana PGT C.S. Asstt. Prof. 2024)
A. 4 context switches will occur
B. Only 1 context switch will occur
C. 9 context switches will occur
D. No context switch will occur

Correct Answer: C

Explanation (EN): According to the given source, the answer is 9 context switches.

Explanation (HI): दिए गए source के अनुसार सही उत्तर 9 context switches है।

125. Turnaround time in operating systems is
Operating systems में turnaround time क्या है?
(Haryana PGT C.S. Asstt. Prof. 2024)
A. The sum of periods spent in waiting to get into memory, waiting in the ready queue, executing on the CPU, and doing I/O.
B. The amount of time a job spends waiting in the ready queue.
C. The time from the submission of a request until the first response is produced.
D. The amount of time spent waiting in the device queue.

Correct Answer: A

Explanation (EN): Turnaround time is the total time a process spends in the system from arrival to completion.

Explanation (HI): Turnaround time किसी process के system में आने से लेकर complete होने तक का कुल समय है।

126. For each of the following transitions, between process states, which transition is not possible?
Process states के बीच निम्न transitions में से कौन-सा संभव नहीं है?
(CGPSC C.S. 2020 Set-A)
A. Running → Ready
B. Blocked → Suspended
C. Ready → Ready/Suspended
D. Blocked → Running

Correct Answer: D

Explanation (EN): A blocked process cannot directly become running; it must first become ready.

Explanation (HI): Blocked process सीधे running state में नहीं जा सकता; पहले उसे ready state में आना होता है।

127. Consider the following statements regarding the term 'aging' used in operating systems. (i) Aging is a technique used to preempt currently executing job if a new job with a shorter next CPU burst arrives. (ii) It is a technique that gradually increases the life-time of high-priority jobs. (iii) Aging is used to solve the problem of starvation of low-priority jobs. (iv) Aging is a technique that is used to gradually increase the priority of high-priority jobs. Which of the statements given above are correct?
Operating systems में 'aging' के बारे में दिए गए statements में कौन-सा सही है?
(Haryana PGT C.S. Asstt. Prof. 2024)
A. (i) and (ii) only
B. (ii) and (iii) only
C. (iii) only
D. (i) and (iv) only

Correct Answer: C

Explanation (EN): Aging is used to prevent starvation of low-priority jobs.

Explanation (HI): Aging low-priority jobs की starvation रोकने के लिए उपयोग होती है।

128. Consider the following reference string and a memory with three frames: 7, 0, 2, 0, 0, 7, 1. How many page faults will be produced by the LRU page replacement algorithm?
तीन frames वाली memory और reference string 7, 0, 2, 0, 0, 7, 1 के लिए LRU page replacement algorithm से कितने page faults होंगे?
(Haryana PGT C.S. Asstt. Prof. 2024)
A. 3
B. 4
C. 5
D. 7

Correct Answer: B

Explanation (EN): LRU simulation gives 4 page faults.

Explanation (HI): LRU simulation के अनुसार 4 page faults आते हैं।

129. In addition to the signal() operation, which other standard atomic operation can be used to access a semaphore?
signal() operation के अतिरिक्त semaphore access करने के लिए कौन-सी standard atomic operation उपयोग होती है?
(Haryana PGT C.S. Asstt. Prof. 2024)
A. Block()
B. Fork()
C. Wait()
D. Exec()

Correct Answer: C

Explanation (EN): The standard atomic operations on semaphores are wait() and signal().

Explanation (HI): Semaphore पर standard atomic operations wait() और signal() होती हैं।

130. The technique of operating system to temporarily remove inactive programs from memory of computer system:
Computer system की memory से inactive programs को temporary रूप से हटाने की OS technique क्या कहलाती है?
(HTET PGT C.S. 30.07.2025)
A. Scheduling
B. Slicing
C. Swapping
D. Kernel

Correct Answer: C

Explanation (EN): Swapping temporarily moves inactive processes out of main memory.

Explanation (HI): Swapping inactive processes को अस्थायी रूप से main memory से बाहर ले जाती है।