Match all items in Group $1$ with correct options from those given in Group $2.$
$$\begin{array} {|l|l|} \hline \qquad \qquad \textbf{Group 1} & \qquad \textbf{Group 2} \\\hline \text{P. Intermediate representation} & \text{1. Activation records} \\\hline \text{Q. Top-down passing} & \text{2. Code generation} \\\hline \text{R. Runtime environments} & \text{3. Leftmost derivation} \\\hline \text{S. Register allocation} & \text{4. Graph coloring} \\\hline \end{array}$$
- $\text{P-2, Q-3, R-1, S-4}$
- $\text{P-4, Q-2, R-3, S-1}$
- $\text{P-1, Q-2, R-3, S-4}$
- $\text{P-2, Q-3, R-4, S-1}$