Operating System MCQs with Answers
Practice important Operating System MCQs with answers and explanations.
Multiple Choice Questions
Q81: The command-line interpreter in UNIX is commonly known as __________.
- A: shell
- B: dashboard
- C: terminal
- D: CLI shell
View Answer
A
Q82: Which of the following is NOT a category of system calls?
- A: Process control
- B: File management
- C: Device management
- D: Memory protection
View Answer
D
Q83: In the system call execution process, what does the trap instruction do?
- A: It changes the mode from user to kernel
- B: It stores parameters in registers
- C: It returns control to the user program
- D: It determines the service routine to execute
View Answer
A
Q84: A system call interface allows user processes to access system resources such as files and __________.
- A: Memory
- B: Devices
- C: Users
- D: Programs
View Answer
B
Q85: Which method is used to pass parameters between a user program and the operating system?
- A: Registers
- B: Table in memory
- C: Stack
- D: All of the above
View Answer
D
Q86: Which of the following is true regarding a timer interrupt in CPU protection?
- A: It allows the process to continue indefinitely
- B: Prevents the operating system from losing control
- C: Stops memory allocation
- D: Enables network communication
View Answer
B
Q87: Which of the following tasks is the operating system responsible for in connection with memory management?
- A: Allocating free disk space
- B: Deallocating memory space
- C: Interrupt handling
- D: Running programs
View Answer
B
Q88: The command-line interpreter is often referred to as the __________.
- A: shell
- B: CLI
- C: manager
- D: OS interface
View Answer
A
Q89: The OS is responsible for ensuring that a process does not __________ another process's memory.
- A: Overwrite
- B: Interrupt
- C: Wait
- D: Allocate
View Answer
A
Q90: Which approach to operating system design is based on breaking the OS into layers?
- A: Layered Approach
- B: Microkernels
- C: Virtual Machines
- D: Monolithic OS
View Answer
A