Operating System MCQs with Answers
Practice important Operating System MCQs with answers and explanations.
Multiple Choice Questions
Q291: Which of the following key presses suspends a process in UNIX/Linux?
- A:
- B:
- C:
- D:
View Answer
B
Q292: The bg command in UNIX/Linux is used to _________.
- A: Move a process to the foreground
- B: Resume a process in the background
- C: Suspend a process
- D: Terminate a process
View Answer
B
Q293: In UNIX/Linux, what is the default signal sent by the kill command if no signal is specified?
- A: SIGTERM
- B: SIGINT
- C: SIGKILL
- D: SIGSEGV
View Answer
A
Q294: What is the primary purpose of the jobs command in UNIX/Linux?
- A: Terminate processes
- B: Background processes
- C: Move processes to foreground
- D: Display status of background and suspended processes
View Answer
D
Q295: The kill command in UNIX/Linux sends a signal to a process identified by its _________.
- A: Job ID
- B: Thread ID
- C: Process ID
- D: Signal ID
View Answer
C
Q296: The fg command assumes the current job if _________.
- A: %job_id is specified
- B: %job_id is omitted
- C: Signal ID is specified
- D: PID is omitted
View Answer
B
Q297: A thread is a basic unit of _________.
- A: Memory usage
- B: CPU utilization
- C: File handling
- D: Network communication
View Answer
B
Q298: In a multi-threaded process, multiple threads share the _________.
- A: Stack
- B: Memory and resources
- C: Registers
- D: Process ID
View Answer
B
Q299: Which of the following is an advantage of multithreading?
- A: Single-threaded processes are faster
- B: Threads cannot share resources
- C: Threads consume less memory
- D: Threads can run simultaneously on multiple CPUs
View Answer
D
Q300: Which of the following is a disadvantage of multithreading?
- A: Resource sharing
- B: Improved CPU utilization
- C: Parallel execution on multiple processors
- D: Increased memory usage
View Answer
A