Question

    What is a resource in the context of

    deadlocks?
    A Any piece of data used by a process. Correct Answer Incorrect Answer
    B A hardware component of the computer system. Correct Answer Incorrect Answer
    C A piece of memory used by a process. Correct Answer Incorrect Answer
    D A generic term for anything that can be shared among processes, such as memory or I/O devices. Correct Answer Incorrect Answer
    E All of these Correct Answer Incorrect Answer

    Solution

    A resource in the context of deadlocks is a generic term for anything that a process might need and request, such as memory, CPU time, I/O devices, etc.

    Practice Next