engineering computer science MCQ #847

In a database, what is the term for a lock that prevents other transactions from accessing a resource?

engineering computer science MCQ #847

  1. Question 1

    Q1. In a database, what is the term for a lock that prevents other transactions from accessing a resource?

    • A) Exclusive lock
    • B) Shared lock
    • C) Row-level lock
    • D) Table-level lock

    Answer: Exclusive lock

    Explanation: An exclusive lock prevents other transactions from accessing the locked resource. NET computer science MCQs often test this core concept.