Question

Which of the following statements is true about deadlocks in an operating system?

A Deadlocks occur when multiple processes are competing for a single CPU core in a multithreaded environment
B Deadlocks can be avoided by ensuring that no process holds resources while waiting for additional ones.
C Deadlocks can only occur when using the Round Robin CPU scheduling algorithm
D Deadlocks are resolved by the Least Recently Used (LRU) page replacement algorithm.
E Deadlocks cannot occur if the system uses multithreading instead of multiprocessing.
Practice Next

Hey! Ask a query