Step 1: Check conflict-serializability (Statement \(P\)).
Construct the precedence graph based on conflicting operations:
\[
T_1 \rightarrow T_2 (\text{on } Y),
T_1 \rightarrow T_3 (\text{on } X),
T_2 \rightarrow T_3 (\text{on } Z)
\]
The precedence graph is acyclic. Hence, the schedule is conflict-serializable.
So, statement \(P\) is true.
Step 2: Check recoverability (Statement \(Q\)).
Transaction \(T_3\) reads \(X\) after it is written by \(T_1\).
If \(T_3\) commits before \(T_1\) finishes (and commits), then \(T_3\) commits after reading uncommitted data from \(T_1\).
This violates the condition for recoverability.
Hence, statement \(Q\) is false.
Step 3: Conclusion.
Therefore, \(P\) is true and \(Q\) is false.
Let \( r_i(z) \) and \( w_i(z) \) denote read and write operations respectively on a data item \( z \) by a transaction \( T_i \). Consider the following two schedules.
\[ \begin{aligned} S_1 &: r_1(x)\; r_1(y)\; r_2(x)\; r_2(y)\; w_2(y)\; w_1(x) \\ S_2 &: r_1(x)\; r_2(x)\; r_2(y)\; w_2(y)\; r_1(y)\; w_1(x) \end{aligned} \] Which one of the following options is correct?
In a 4-bit ripple counter, if the period of the waveform at the last flip-flop is 64 microseconds, then the frequency of the ripple counter in kHz is ______________. {(Answer in integer)}
Consider the following C code segment:
int x = 126, y = 105;
do {
if (x > y)
x = x - y;
else
y = y - x;
} while (x != y);
printf("%d", x);
The output of the given C code segment is ____________. (Answer in integer)
The following two signed 2’s complement numbers (multiplicand \( M \) and multiplier \( Q \)) are being multiplied using Booth’s algorithm:
| Multiplicand (\( M \)) | Multiplier (\( Q \)) |
|---|---|
| 1100 1101 1110 1101 | 1010 0100 1010 1010 |
The total number of addition and subtraction operations to be performed is __________. (Answer in integer)
The maximum value of \(x\) such that the edge between the nodes B and C is included in every minimum spanning tree of the given graph is __________ (answer in integer).
Consider the following C program
The value printed by the given C program is __________ (Answer in integer).