Operating Systems Basics MCQs (Part-8)

What is the primary difference between user mode and kernel mode in an operating system?

A Process Scheduling
B Memory Allocation
C Resource Access
D Task Prioritization

Which of the following is true about kernel mode?

A Full Hardware Control
B Limited Resource Access
C Safe for User Applications
D Cannot Access Memory

What does the boot process involve when starting an operating system?

A Scheduling Processes
B Managing I/O Devices
C Allocating Memory
D Loading the Kernel

What is the main purpose of interprocess communication (IPC)?

A Share Resources
B Share Data Between Processes
C Process Synchronization
D Process Creation

Which of the following methods is commonly used for interprocess communication?

A Task Scheduling
B Page Swapping
C Message Passing
D File Allocation

What happens in kernel mode that is not allowed in user mode?

A Device I/O
B Memory Access
C Network Communication
D File Access

Which of the following is an example of interprocess communication using shared memory?

A Message Queues
B Semaphores
C Shared Variables
D Pipes

What is the role of the system call exec() in the operating system?

A Terminate a Process
B Execute a Program
C Create a New Process
D Allocate Memory

How does the operating system ensure safety between processes in kernel mode?

A Task Scheduling
B Resource Allocation
C Process Isolation
D Memory Swapping

What is the purpose of the fork() system call?

A Create a New Process
B Terminate a Process
C Execute a Program
D Read Data

Which of the following is a key aspect of interprocess communication in a distributed system?

A Shared Memory
B File Allocation
C Resource Scheduling
D Message Passing

What is the main advantage of using semaphores in interprocess communication?

A Data Synchronization
B Task Scheduling
C File Management
D Resource Allocation

What happens when a process transitions from user mode to kernel mode?

A The OS Allocates Resources
B A System Call is Made
C The Process Terminates
D Memory is Released

How does the boot process handle device drivers?

A Loads Device Drivers into Memory
B Allocates Resources for Devices
C Configures Device Settings
D Executes System Calls

What is the role of a process scheduler in an operating system?

A Manage System Resources
B Handle Memory Allocation
C Assign CPU Time to Processes
D Control I/O Operations