Operating Systems Basics MCQs (Part-14)

What is the main purpose of thread synchronization?

A Process Scheduling
B Data Sharing
C Resource Protection
D Task Execution

Which CPU scheduling algorithm gives priority to the shortest job?

A Priority
B SJF
C FCFS
D Round Robin

What is the purpose of memory paging in an operating system?

A Increase CPU Speed
B Simplify Memory Access
C Avoid Memory Fragmentation
D Allocate More RAM

What does virtual memory allow an operating system to do?

A Allocate CPU Time
B Increase RAM
C Handle Interrupts
D Use Disk Space as Memory

What is deadlock avoidance in an operating system?

A Preventing Circular Waiting
B Detecting Cycles
C Handling I/O
D Allocating Resources

What is the role of a semaphore in interprocess communication?

A Synchronization
B Resource Allocation
C Process Creation
D Data Sharing

Which of the following is the best description of a file system?

A Task Scheduling
B Memory Allocation
C Data Storage and Retrieval
D Network Management

What does the Linux kernel manage?

A System Resources
B Task Scheduling
C File Systems
D User Applications

What is the main advantage of a microkernel architecture?

A High Performance
B Fast Execution
C Simple and Modular Design
D Large Size

What is a hypervisor used for in virtualization?

A Manage Memory
B Schedule Tasks
C Control Hardware
D Execute Multiple Operating Systems

What is the main benefit of fault tolerance in an operating system?

A System Reliability
B Increased Security
C Faster Boot Times
D Reduced Latency

What type of operating system is best suited for real time applications?

A Distributed OS
B Real Time OS
C Mobile OS
D Batch OS

Which of the following is a feature of an embedded operating system?

A Multi tasking Support
B High User Interaction
C Dedicated Functionality
D High Memory Usage

What is the key difference between a monolithic kernel and a microkernel?

A Complexity
B Memory Usage
C Performance
D Modularity

What is the purpose of shell scripting in an operating system?

A Control Processes
B Automate Tasks
C Manage Files
D Network Control