Operating System MCQs with Answers
Practice important Operating System MCQs with answers and explanations.
Multiple Choice Questions
Q101: In UNIX/Linux, the root directory is denoted by which symbol?
- A: /
- B: ~
- C: $
- D: &
View Answer
A
Q102: Which directory in Linux holds essential system boot files, including the kernel image?
- A: /bin
- B: /boot
- C: /dev
- D: /home
View Answer
B
Q103: Which directory in Linux contains configuration files for system setup?
- A: /boot
- B: /etc
- C: /lib
- D: /sbin
View Answer
B
Q104: What is the purpose of the /mnt directory in Linux?
- A: To store system configurations
- B: To mount temporary filesystems
- C: To store executable files
- D: To store shared libraries
View Answer
B
Q105: Which Linux directory is used for storing system utilities and administrative commands?
- A: /boot
- B: /bin
- C: /sbin
- D: /home
View Answer
C
Q106: What does the /home directory in Linux contain?
- A: Temporary files
- B: User-specific files
- C: Kernel files
- D: Executable files
View Answer
B
Q107: Fill in the blank: The __________ approach to OS design simplifies debugging and verification by modularizing the system.
- A: Layered
- B: Microkernel
- C: Monolithic
- D: Virtual Machine
View Answer
A
Q108: Fill in the blank: The __________ approach to OS design involves structuring the system by adding more services to user space rather than modifying the kernel.
- A: Microkernel
- B: Monolithic
- C: Layered
- D: Virtual Machine
View Answer
A
Q109: In a microkernel OS, the user-level processes typically interact with the kernel through __________.
- A: memory management
- B: communication facilities
- C: networking protocols
- D: file system management
View Answer
B
Q110: Which command is used to display the contents of a directory in UNIX/Linux?
- A: ls
- B: cd
- C: mkdir
- D: pwd
View Answer
A