šŸ“¢ Too many exams? Don’t know which one suits you best? Book Your Free Expert šŸ‘‰ call Now!


    ⚔ Month End Offer - Flat 52% Off On All Courses! Enroll Now ⚔
    00:00:00 AM Left

    Question

    What is the purpose of a semaphore in synchronization?

    A To provide mutual exclusion Correct Answer Incorrect Answer
    B To allow multiple threads to access a resource simultaneously Correct Answer Incorrect Answer
    C To signal when a process is finished Correct Answer Incorrect Answer
    D To prevent deadlocks Correct Answer Incorrect Answer

    Solution

    To provide mutual exclusion

    Practice Next

    Relevant for Exams:

    ask-question