UGC-NET Jun 2012 · ER-Model

MCQ · 2 marks · Problem DBMS-RELM-0018

In multiuser database if two users wish to update the same record at the same time, they are prevented from doing so by
  1. A
    Jamming
  2. B
    Password
  3. C
    Documentation
  4. D
    Record lock

Solve it on GATE DA practice →More Relational Model & SQL problems

Show the worked solutionConcurrency control uses locks. The first user to update a record acquires an exclusive (write) lock on it, and a second user wanting to update the same record must wait until the lock is released. This prevents lost updates.(A) "Jamming" is not a database mechanism — incorrect.(B) Passwords control access, not concurrent updates — incorrect.(C) Documentation does nothing at run time — incorrect.Answer: D

GATE DA practice: past exam problems by chapter, with worked solutions · gatedaprep.com