Operating Systems MCQs

Practice Operating System MCQs covering Windows, Linux, Android, booting, multitasking and multiprocessing concepts with answers and explanations.

510 Total
Question #31 Report Error
Which structural type of kernel minimizes kernel responsibilities by running most non-essential services in user space?
A. Exokernel
B. Microkernel
C. Hybrid Kernel
D. Monolithic Kernel

Correct Answer: Option B


Explanation:
A microkernel structure keeps the kernel minimal, implementing services like file systems and device drivers in user space to maximize stability.

This question belongs to: Computer Operating Systems
Question #32 Report Error
Which file system format was introduced with Windows NT to support file permissions, encryption, and reliability features?
A. FAT32
B. NTFS
C. HPFS
D. FAT16

Correct Answer: Option B


Explanation:
NTFS (New Technology File System) added security features, access control lists, encryption, and file journaling which were missing in FAT file systems.

This question belongs to: Computer Operating Systems
Question #33 Report Error
What is the name of the specialized Linux command used to search for a specific text string or pattern within files?
A. locate
B. grep
C. find
D. cat

Correct Answer: Option B


Explanation:
The 'grep' command (Global Regular Expression Print) searches through files for lines matching a specified text pattern and prints them.

This question belongs to: Computer Operating Systems
Question #34 Report Error
Which term describes the operational condition where a CPU is constantly swapping memory pages between RAM and disk, leading to massive system slowdown?
A. Paging
B. Multiprocessing
C. Caching
D. Thrashing

Correct Answer: Option D


Explanation:
Thrashing occurs when virtual memory resources are overused, causing the OS to spend more time moving data between disk and RAM than executing actual application instructions.

This question belongs to: Computer Operating Systems
Question #35 Report Error
Which of the following is a classic example of a single-user, single-tasking operating system?
A. Linux Ubuntu
B. Windows 95
C. Android
D. MS-DOS

Correct Answer: Option D


Explanation:
MS-DOS (Microsoft Disk Operating System) is a historical command-line operating system that natively supported only one user and one running task at a time.

This question belongs to: Computer Operating Systems
Question #36 Report Error
What mechanism does an OS use to instantly notify the CPU that an event requiring immediate attention has occurred?
A. Thread
B. Interrupt
C. System Call
D. Spooling

Correct Answer: Option B


Explanation:
An interrupt is a hardware or software signal sent to the CPU, causing it to temporarily suspend current tasks to execute an Interrupt Service Routine (ISR).

This question belongs to: Computer Operating Systems
Question #37 Report Error
Which of the following describes cooperative multitasking?
A. The operating system forcibly stops tasks using timer interrupts.
B. Tasks are shared across multiple physical computers on a local area network.
C. Each running process must explicitly yield control to let other processes run.
D. Hardware automatically manages scheduling without any operating system code.

Correct Answer: Option C


Explanation:
In cooperative multitasking, the operating system never forces a context switch; instead, processes must manually yield CPU execution time back to the system scheduler.

This question belongs to: Computer Operating Systems
Question #38 Report Error
What type of operating system kernel combines the architecture of both monolithic and microkernel designs to achieve a balance of performance and modularity?
A. Exokernel
B. Hybrid Kernel
C. Asymmetric Kernel
D. Nano-kernel

Correct Answer: Option B


Explanation:
A hybrid kernel layout (used by Windows NT family) balances performance and modularity by putting certain services in kernel space while keeping concepts modular.

This question belongs to: Computer Operating Systems
Question #39 Report Error
Which of the following commands in Linux is used to create a completely new, empty directory?
A. touch
B. mv
C. rmdir
D. mkdir

Correct Answer: Option D


Explanation:
The 'mkdir' (make directory) command is used across Unix-like environments to create fresh directory structures.

This question belongs to: Computer Operating Systems
Question #40 Report Error
What is the primary function of the Master Boot Record (MBR) on a storage drive?
A. To contain the initial boot sector code and partition table needed to locate and load the operating system.
B. To manage real-time internet connections.
C. To run continuous hardware diagnostics while applications are open.
D. To hold user profile pictures and account settings.

Correct Answer: Option A


Explanation:
The MBR is the first sector of a partitioned storage device that contains the boot loader code and the partition table layout.

This question belongs to: Computer Operating Systems