Consider the database transactions \( T1 \) and \( T2 \), and data items \( X \) and \( Y \). Which of the schedule(s) is/are conflict serializable?
To check conflict serializability, we construct the precedence graph:
Step 1: Identify Conflicting OperationsAfter analyzing the given options, only Option (B) follows a conflict-equivalent serial schedule, making it conflict serializable. This means that by rearranging operations that do not conflict, the schedule in Option (B) can be made into a serial schedule without creating any inconsistency or dependency violations.
According to the map shown in the figure, which one of the following statements is correct?
Note: The figure shown is representative.
In the diagram, the lines QR and ST are parallel to each other. The shortest distance between these two lines is half the shortest distance between the point P and the line QR. What is the ratio of the area of the triangle PST to the area of the trapezium SQRT?
Note: The figure shown is representative
A disk of size 512M bytes is divided into blocks of 64K bytes. A file is stored in the disk using linked allocation. In linked allocation, each data block reserves 4 bytes to store the pointer to the next data block. The link part of the last data block contains a NULL pointer (also of 4 bytes). Suppose a file of 1M bytes needs to be stored in the disk. Assume, 1K = \(2^{10}\) and 1M = \(2^{20}\). The amount of space in bytes that will be wasted due to internal fragmentation is ___________. (Answer in integer)