Computer Fundamentals for Placements – Operating System (OS) MCQs with Answers
Q. 1 Which component of the Operating System acts as an interface between the user and the hardware?
Check Solution
Ans: B
The kernel is the core component of the OS. It manages all essential tasks like process management, memory management, and disk management, acting as the bridge between user applications and the hardware.
Q. 2 What is the primary function of a process scheduler?
Check Solution
Ans: C
The process scheduler is responsible for selecting a process from a queue and allocating the CPU to it. This is a crucial part of multiprogramming.
Q. 3 Which of the following scheduling algorithms can lead to a ‘starvation’ problem?
Check Solution
Ans: D
In a priority-based scheduling algorithm, a low-priority process may never get to run if there is a continuous stream of high-priority processes waiting to be executed, leading to starvation.
Q. 4 What is a deadlock in an Operating System?
Check Solution
Ans: B
A deadlock occurs when two or more processes are holding a resource and are waiting for another resource that is held by another process in the same group.
Q. 5 Which memory management technique divides the logical address space into fixed-size blocks called ‘pages’?
Check Solution
Ans: B
Paging is a memory management scheme that avoids external fragmentation. It divides the logical address space of a process into equal-sized blocks called pages.
Q. 6 What is the role of the System Call in an Operating System?
Check Solution
Ans: A
System calls provide the means for a user program to request services from the operating system, such as creating a process, accessing files, or performing I/O operations.
Q. 7 Which of the following is an example of an external fragmentation?
Check Solution
Ans: B
External fragmentation occurs when there is enough total free memory to satisfy a request, but the memory is not contiguous. The free space is broken up into small, scattered pieces.
Q. 8 What is the primary purpose of a mutex”?”
Check Solution
Ans: A
A mutex (Mutual Exclusion) is a synchronization primitive used to protect shared resources from simultaneous access by multiple threads or processes. It ensures that only one thread can be in a critical section at a time.
Q. 9 Which concept allows a single CPU to appear to be executing multiple processes or threads concurrently?
Check Solution
Ans: C
Multitasking is the ability of an operating system to manage multiple tasks (processes) at once, appearing to execute them concurrently by rapidly switching between them.
Q. 10 What is the purpose of a virtual memory?
Check Solution
Ans: B
Virtual memory is a memory management technique that allows a program to execute partially. It gives the illusion that the program has access to a larger address space than is physically available in the main memory.
Next Topic: Python MCQs with Answers for Placements
Practice Aptitude Questions for Placements
Crack Placement Tests: Faster & Smarter
Adaptive Practice | Real Time Insights | Resume your Progress
