The base CPI for X1 is 1. The number of cycles required for X1 depends on the number of branch instructions. Since 30% of the instructions are branch instructions, and there are 2 cycles of stalls for every branch: \[ \text{CPI}_{\text{X1}} = 1 + 0.3 \times 2 = 1 + 0.6 = 1.6. \] The clock frequency for both processors is 2 GHz, so the clock cycle time is: \[ \text{Clock cycle time} = \frac{1}{\text{Clock frequency}} = \frac{1}{2 \times 10^9} = 0.5 \, \text{ns}. \] Now, consider processor X2. The base CPI remains 1, but the branch predictor eliminates stalls for correctly predicted branches. Since the predictor has 80% accuracy, the number of cycles saved for correctly predicted branches is: \[ \text{CPI}_{\text{X2}} = 1 + 0.3 \times 0.2 \times 2 = 1 + 0.12 = 1.12. \] The speedup is the ratio of the CPI for X1 to the CPI for X2: \[ \text{Speedup} = \frac{\text{CPI}_{\text{X1}}}{\text{CPI}_{\text{X2}}} = \frac{1.6}{1.12} \approx 1.43. \] Thus, the speedup obtained by X2 over X1 is: \[ \boxed{1.43}. \]
The major difficulties that cause the instruction pipeline to deviate from its normal operation are:
(A) Resource conflicts
(B) Stack operation
(C) Data dependency
(D) Branch difficulties
from the options given below: Choose the correct answer from the options given below:
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

Consider the following process information for Shortest Remaining Time First (SRTF) scheduling:
\[ \begin{array}{|c|c|c|} \hline \textbf{Process} & \textbf{Arrival Time (AT)} & \textbf{Burst Time (BT)} \\ \hline P1 & 0 & 10 \\ P2 & 1 & 13 \\ P3 & 2 & 6 \\ P4 & 8 & 9 \\ \hline \end{array} \]Find the turnaround time for each process.
A square paper, shown in figure (I), is folded along the dotted lines as shown in figures (II) and (III). Then a few cuts are made as shown in figure (IV). Which one of the following patterns will be obtained when the paper is unfolded?
Consider the relationships among P, Q, R, S, and T:
• P is the brother of Q.
• S is the daughter of Q.
• T is the sister of S.
• R is the mother of Q.
The following statements are made based on the relationships given above.
(1) R is the grandmother of S.
(2) P is the uncle of S and T.
(3) R has only one son.
(4) Q has only one daughter.
Which one of the following options is correct?