Operating System

41. On a system with 2^24 bytes of memory and fixed partitions, all of size 65,536 bytes, how many bits must the limit register have?
2^24 bytes memory और 65,536 bytes के fixed partitions वाले system में limit register में कितने bits होने चाहिए?
(RPSC C.S. 2016 (PAPER-I))
A. 8
B. 16
C. 24
D. 32

Correct Answer: B

Explanation (EN): Since each partition size is 65,536 = 2^16 bytes, the limit register must be 16 bits.

Explanation (HI): क्योंकि प्रत्येक partition size 65,536 = 2^16 bytes है, इसलिए limit register 16 bits का होना चाहिए।

42. Size of virtual memory depends on the size of?
Virtual memory का size किस पर depend करता है?
(RPSC C.S. 2016 (PAPER-I))
A. Data bus
B. Address bus
C. Main memory
D. None of these

Correct Answer: B

Explanation (EN): Virtual memory size depends on the size of the address bus, which determines how many unique addresses can be generated.

Explanation (HI): Virtual memory का size address bus पर depend करता है, क्योंकि वही बताता है कि कितने unique addresses generate किए जा सकते हैं।

43. In round robin CPU scheduling, as the time quantum is increased, the average turnaround time–
Round Robin CPU scheduling में time quantum बढ़ाने पर average turnaround time क्या होता है?
(RPSC C.S. 2016 (PAPER-I))
A. Increases
B. Decreases
C. Remain constant
D. Varies irregularly

Correct Answer: D

Explanation (EN): The average turnaround time may increase or decrease depending on the job mix and scheduling pattern.

Explanation (HI): Average turnaround time job mix और scheduling pattern पर depend करता है, इसलिए यह irregularly vary कर सकता है।

44. In operating system which one of the following is not a scheduling algorithm?
Operating system में निम्न में से कौन-सा scheduling algorithm नहीं है?
(RPSC C.S. 2016 (PAPER-I))
A. FCFS
B. SJF
C. Round Robin
D. Starvation

Correct Answer: D

Explanation (EN): Starvation is a scheduling problem, not a scheduling algorithm.

Explanation (HI): Starvation scheduling की एक problem है, algorithm नहीं।

45. Fence register is used for?
Fence register का उपयोग किसलिए किया जाता है?
(RPSC C.S. 2016 (PAPER-I))
A. Memory Protection
B. File Protection
C. CPU Protection
D. All of these

Correct Answer: A

Explanation (EN): A fence register is used to protect memory by preventing a program from accessing restricted regions.

Explanation (HI): Fence register memory protection के लिए उपयोग होता है और program को restricted memory region तक पहुँचने से रोकता है।

46. Amount of work completed in a unit of time is?
एक unit time में पूरा किया गया कार्य क्या कहलाता है?
(RPSC C.S. 2016 (PAPER-I))
A. Throughput
B. Response
C. Turn Around
D. Latency

Correct Answer: A

Explanation (EN): Throughput is the amount of work completed per unit time.

Explanation (HI): Throughput, unit time में completed work की मात्रा है।

47. Which one of the following is a technique to prevent starvation?
निम्न में से starvation रोकने की technique कौन-सी है?
(RPSC C.S. 2016 (PAPER-I))
A. Context Switching
B. Flooding
C. Aging
D. Dispatching

Correct Answer: C

Explanation (EN): Aging gradually increases the priority of waiting processes to prevent starvation.

Explanation (HI): Aging waiting processes की priority धीरे-धीरे बढ़ाकर starvation को रोकता है।

48. Which of the following is not a memory allocation method?
निम्न में से कौन-सा memory allocation method नहीं है?
(RPSC C.S. 2016 (PAPER-I))
A. First fit
B. Best fit
C. Worst fit
D. Not fit

Correct Answer: D

Explanation (EN): First fit, best fit and worst fit are valid allocation methods; not fit is not.

Explanation (HI): First fit, best fit और worst fit valid memory allocation methods हैं; not fit नहीं है।

49. Which of the following system objects that are neither files nor directories?
निम्न में से कौन-से system objects न तो files हैं और न ही directories?
(RPSC C.S. 2016 (PAPER-I))
A. Semaphore
B. Monitor
C. Both Semaphore and Monitor
D. None of these

Correct Answer: C

Explanation (EN): Semaphore and monitor are synchronization objects, not files or directories.

Explanation (HI): Semaphore और monitor synchronization objects हैं, files या directories नहीं।

50. Solution to critical section problem?
Critical section problem के solution के लिए कौन-सी conditions आवश्यक हैं?
(RPSC C.S. 2016 (PAPER-I))
A. Mutual exclusion, Progress, Bounded waiting
B. Mutual exclusion, Progress, Race Condition
C. Bounded Waiting, Progress, Unbounded Buffer
D. Race Condition, Unbounded buffer, Progress

Correct Answer: A

Explanation (EN): A correct solution to the critical section problem must satisfy mutual exclusion, progress, and bounded waiting.

Explanation (HI): Critical section problem के सही solution के लिए mutual exclusion, progress और bounded waiting आवश्यक हैं।