Question
Easy
In context of database, let T1 and T2 are two concurrent transactions. Consider the following sequence of operations on data X: T1: READ(X) T1: WRITE(X) T2: READ(X) T2: WRITE(X) This is a _______ problem.
1
Dirty Read
2
Lost Update
3
Incorrect Summary
4
Unrepeatable Read
Question Details
Time to Solve: 12
Exam: HTET
Level/Paper: Level 3
Chapter: Database Management System (DBMS) & SQL
Topic: Database Concepts
Correct Answer
Option B
Explanation
The correct option is (2): The given sequence T1: READ(X), T1: WRITE(X), T2: READ(X), T2: WRITE(X) perfectly illustrates the classic database concurrency anomaly known as the Lost Update problem. This situation arises because both concurrent transactions, T1 and T2, base their calculations on the original value of the data item X, which they read at the beginning. T1 writes its new value back to X, but before T1 can commit…Read More
Similar Questions from HTET Exam - Level 3 - Year 2019
Question 1
Easy
Source :
HTET 2019
In context of C++, consider the following statements: I: Static member function of a class can access only static data members of the class. II:…
Chapter :
Object-Oriented Programming (C++)
Topic :
OOP Concepts
Question 2
Easy
Source :
HTET 2019
A network using CSMA/CD has a bandwidth 10 Mbps. If the maximum propagation time (including delays in the devices and ignoring the time needed to…
Chapter :
Computer Networks & Internet
Topic :
Computer Network
Question 3
Easy
Source :
HTET 2019
In context of a relation in database, choose a false statement:
Chapter :
Database Management System (DBMS) & SQL
Topic :
MS Access
Question 4
Easy
Source :
HTET 2019
In a relational schema R whenever a non-trivial functional dependency X->A holds in relation R, X is a super-key of relation R. Relation R is…
Chapter :
Database Management System (DBMS) & SQL
Topic :
Database Concepts