Consider the following code blocks.
A. for (i=0; i<1000; i++)
\(\hspace{1cm}\) statement block;
B. for (i=0; i<100; i+=2)
\(\hspace{1cm}\) statement block;
C. for (i=1; i<1000; i*=2)
\(\hspace{1cm}\) statement block;
D. for (i=0; i<10; i++)
\(\hspace{1cm}\) for (j=0; j<10; j++)
\(\hspace{2cm}\) statement block;
Arrange the number of iterations of the above loops (number of times 'statement block' is executed) in ascending order.
Step 1: Evaluate each loop's number of iterations.
- **A:** The loop runs from \(i=0\) to \(i<1000\) with an increment of 1. Therefore, it runs 1000 times.
- **B:** The loop runs from \(i=0\) to \(i<100\) with an increment of 2. Therefore, it runs 50 times.
- **C:** The loop runs from \(i=1\) to \(i<1000\) with an increment where \(i\) is multiplied by 2 each time. Therefore, the loop runs approximately 10 times (\(i = 1, 2, 4, 8, \dots\)).
- **D:** This is a nested loop. The outer loop runs 10 times, and for each iteration of the outer loop, the inner loop runs 10 times. Therefore, the loop runs \(10 \times 10 = 100\) times.
Step 2: Arrange the number of iterations in ascending order.
- **B** has 50 iterations.
- **D** has 100 iterations.
- **A** has 1000 iterations.
- **C** has approximately 10 iterations.
Thus, the correct order of iterations is **B, A, D, C**, which corresponds to option (3).
Consider the following four words, out of which three are alike in some manner and one is different.
(A) Arrow
(B) Missile
(C) Sword
(D) Bullet
Choose the combination that has alike words.
Match List-I with List-II:
\[
\begin{array}{|l|l|}
\hline
\textbf{List-I (Name of Drug)} & \textbf{List-II (Indication)} \\
\hline
A. \ \text{Baclofen} & I. \ \text{Spasticity} \\
B. \ \text{Diclofenac} & II. \ \text{Inflammatory pain} \\
C. \ \text{Gabapentin} & III. \ \text{Central or peripheral neurogenic pain} \\
D. \ \text{Amitryptiline} & IV. \ \text{Depression} \\
\hline
\end{array}
\]
Match List-I with List-II:
\[
\begin{array}{|l|l|}
\hline
\textbf{List-I (Ascending tract of the spinal cord)} & \textbf{List-II (Function)} \\
\hline
A. \ \text{Lateral spinothalamic tract} & I. \ \text{Pain and temperature from opposite half of the body} \\
B. \ \text{Anterior spinothalamic tract} & II. \ \text{Vibratory sense} \\
C. \ \text{Fasciculus Cuneatus} & III. \ \text{Crude touch and pressure from opposite half of the body} \\
D. \ \text{Posterior spinocerebellar tract} & IV. \ \text{Unconscious proprioception to cerebellum} \\
\hline
\end{array}
\]
Match List-I with List-II:
\[
\begin{array}{|l|l|}
\hline
\textbf{List-I (Muscle)} & \textbf{List-II (Nerve supply)} \\
\hline
A. \ \text{Gluteus maximus} & I. \ \text{Ventral rami of S1, S2} \\
B. \ \text{Piriformis} & II. \ \text{Nerve to quadratus femoris} \\
C. \ \text{Gemellus inferior} & III. \ \text{Superior Gluteal nerve} \\
D. \ \text{Gluteus minimus} & IV. \ \text{Inferior gluteal nerve} \\
\hline
\end{array}
\]
Match List-I with List-II:
\[
\begin{array}{|l|l|}
\hline
\textbf{List-I (Vaccines)} & \textbf{List-II (Their respective contents)} \\
\hline
A. \ \text{Typhoid vaccine} & I. \ \text{Killed rickettsia} \\
B. \ \text{Typhus vaccine} & II. \ \text{Killed bacteria} \\
C. \ \text{Measles vaccine} & III. \ \text{Attenuated viruses} \\
D. \ \text{Smallpox vaccine} & IV. \ \text{Killed viruses} \\
\hline
\end{array}
\]