Step 1: Key observation about time bounds.
The number \(2021\) is a fixed constant. For any Turing machine \(M\), we can simulate its computation for at most \(2021\) steps on any given input and observe whether it halts within that bound.
Step 2: Decidability of \(L_2\).
To decide whether \(M\) takes more than \(2021\) steps on some input, we can enumerate all possible inputs of length up to \(2021\) symbols and simulate \(M\) on each of them for at most \(2021\) steps.
If for at least one input the machine does not halt within \(2021\) steps, then \(\langle M \rangle \in L_2\). Otherwise, it is not. Since this process is finite, \(L_2\) is decidable.
Step 3: Decidability of \(L_1\).
To decide whether \(M\) takes more than \(2021\) steps on all inputs, we again simulate \(M\) on all inputs of length up to \(2021\) for \(2021\) steps.
If \(M\) halts within \(2021\) steps on even one input, then \(\langle M \rangle \notin L_1\). Otherwise, it belongs to \(L_1\). This is also a finite procedure.
Step 4: Conclusion.
Since both properties can be checked using finite simulations bounded by a constant number of steps, both \(L_1\) and \(L_2\) are decidable.
Final Answer: (A)
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?