Operating System

21. What causes thrashing to occur?
Thrashing किस कारण होती है?
(BPSC TRE 3.0 Exam-22.07.2024 (11-12))
A. Excessive paging activity
B. Insufficient disk space
C. Hardware failures
D. More than one of the above

Correct Answer: A

Explanation (EN): Thrashing occurs when the system spends too much time paging instead of executing processes.

Explanation (HI): जब system paging में बहुत अधिक समय खर्च करता है और actual execution कम होती है, तब thrashing होती है।

22. Consider a system with a total physical memory of 8 GB and total virtual memory of 16 GB. If the system is using 6 GB of physical memory and 10 GB of virtual memory, how much memory is being swapped out?
एक system में total physical memory 8 GB और total virtual memory 16 GB है। यदि system 6 GB physical memory और 10 GB virtual memory उपयोग कर रहा है, तो कितनी memory swapped out हो रही है?
(BPSC TRE 3.0 Exam-22.07.2024 (11-12))
A. 2 GB
B. 4 GB
C. 6 GB
D. More than one of the above

Correct Answer: A

Explanation (EN): Out of 10 GB virtual memory in use, only 8 GB can be kept in physical memory, so 2 GB must be in swap space.

Explanation (HI): 10 GB virtual memory में से केवल 8 GB physical memory में रह सकती है, इसलिए 2 GB swap space में होगी।

23. A deadlock avoidance algorithm dynamically examines the ______ to ensure that a circular wait condition can never exist.
Deadlock avoidance algorithm dynamically किसकी जाँच करता है ताकि circular wait condition कभी उत्पन्न न हो?
(BPSC TRE 3.0 22.07.2024 (6-10))
A. Resource allocation state
B. Resources
C. System storage state
D. More than one of the above

Correct Answer: A

Explanation (EN): Deadlock avoidance checks the resource allocation state to ensure the system remains safe.

Explanation (HI): Deadlock avoidance, resource allocation state की जाँच करके system को safe रखता है।

24. The operating system maintains a _____ table that keeps track of how many frames have been allocated, how many are there and how many are available.
Operating system कौन-सी table maintain करता है जो यह track करती है कि कितने frames allocated हैं, कितने total हैं और कितने available हैं?
(BPSC TRE 3.0 22.07.2024 (6-10))
A. Frame
B. Mapping
C. Page
D. More than one of the above

Correct Answer: A

Explanation (EN): The operating system uses a frame table to track physical memory frames.

Explanation (HI): Operating system physical memory frames को track करने के लिए frame table का उपयोग करता है।

25. For real time operating systems, interrupt latency should be ______.
Real-time operating systems में interrupt latency कैसी होनी चाहिए?
(BPSC TRE 3.0 22.07.2024 (6-10))
A. Zero
B. Minimal
C. Maximum
D. More than one of the above

Correct Answer: B

Explanation (EN): Real-time systems require minimal interrupt latency for timely response.

Explanation (HI): Timely response के लिए real-time systems में interrupt latency minimal होनी चाहिए।

26. On systems where there are multiple operating system, the decision to load a particular one is done by _____.
जहाँ multiple operating systems हों, वहाँ किसी एक particular OS को load करने का निर्णय कौन करता है?
(BPSC TRE 3.0 22.07.2024 (6-10))
A. Process control block
B. File control block
C. Boot loader
D. More than one of the above

Correct Answer: C

Explanation (EN): The boot loader allows selection of which operating system to load.

Explanation (HI): Boot loader यह तय करने देता है कि कौन-सा operating system load किया जाए।

27. Thread shares with other threads belonging to the same process its
एक ही process के अन्य threads के साथ thread क्या share करता है?
(BPSC TRE 3.0 Exam-22.07.2024 (11-12))
A. thread ID
B. program counter
C. code section and data section
D. More than one of the above

Correct Answer: C

Explanation (EN): Threads of the same process share code and data sections, but have separate thread IDs and program counters.

Explanation (HI): एक ही process के threads code section और data section share करते हैं, लेकिन उनका thread ID और program counter अलग होता है।

28. What does OS X has?
OS X में किस प्रकार का kernel होता है?
(BPSC TRE 3.0 22.07.2024 (6-10))
A. Monolithic kernel with modules
B. Micro kernel
C. Hybrid kernel
D. More than one of the above

Correct Answer: C

Explanation (EN): OS X uses a hybrid kernel.

Explanation (HI): OS X में hybrid kernel होता है।

29. In a timeshare operating system, when the time slot assigned to a process is completed, the process switches from the current state to?
Time-sharing operating system में किसी process का allotted time slot पूरा होने पर वह किस state में चला जाता है?
(BPSC TRE 3.0 22.07.2024 (6-10))
A. Suspended state
B. Blocked state
C. Ready state
D. More than one of the above

Correct Answer: C

Explanation (EN): When a time quantum expires, the running process moves back to the ready state.

Explanation (HI): Time quantum समाप्त होने पर running process वापस ready state में चला जाता है।

30. Which one of the following is not true?
निम्न में से कौन-सा कथन सत्य नहीं है?
(BPSC TRE 3.0 22.07.2024 (6-10))
A. Kernel remains in the memory during the entire computer session
B. Kernel is made of various modules which cannot be loaded in running operating system
C. Kernel is the first part of the operating system to load into memory during booting
D. More than one of the above

Correct Answer: B

Explanation (EN): Kernel modules can be loaded at run time, so the statement saying they cannot be loaded in a running OS is false.

Explanation (HI): Kernel modules run time पर load किए जा सकते हैं, इसलिए यह कथन कि वे running OS में load नहीं हो सकते, गलत है।