In an operating system, what is a 'Deadlock'? MCQ with Answer and Explanation

In an operating system, what is a 'Deadlock'?
A. A condition where two or more processes are permanently blocked because each is waiting for a resource held by the other.
B. The safe closing down procedure of the kernel during a reboot.
C. A situation where a process finishes its execution earlier than expected.
D. A software bug that permanently crashes the hardware system motherboard.
Answer: Option A
Solution (By JKSSB Mock Tests)
A deadlock is a specific state where a set of processes are stalled because each process holds a resource and waits for another resource held by a different process.

Discuss this Question (0)

No comments yet. Be the first to start the discussion!

Practice More Operating Systems Questions

Question #1
Which file allocation table structure uses an index block to store pointers to all distinct file data sectors, allowing efficient random access without fragmentation bottlenecks?
A. Indexed Allocation
B. Linear Block Mapping
C. Linked Method
D. Contiguous Method

Correct Answer: Option A


Explanation:
Indexed allocation consolidates all block pointers into a single dedicated index block, enabling direct access to any block without linear scanning.

This question belongs to: Computer Operating Systems
Question #2
In Android, what is the name of the application framework that allows apps to interact with system services?
A. Android Framework
B. Dalvik Virtual Machine
C. ART (Android Runtime)
D. Linux Kernel

Correct Answer: Option A


Explanation:
The Android Framework provides APIs for apps to access system services like location, sensors, and notifications.

This question belongs to: Computer Operating Systems
Question #3
Which of the following is a type of scheduler that decides which processes are admitted to the system?
A. Short-term scheduler
B. Long-term scheduler
C. Medium-term scheduler
D. I/O scheduler

Correct Answer: Option B


Explanation:
The long-term scheduler controls the degree of multiprogramming by selecting processes from the job queue for execution.

This question belongs to: Computer Operating Systems