edited by
8,450 views
34 34 votes

Match the following:$$\begin{array}{|ll|ll|}\hline \text{(P)} & \text{Lexical analysis} & \text{(i)} & \text{Leftmost derivation} \\\hline  \text{(Q)} & \text{Top down parsing} & \text{(ii)}& \text{Type checking} \\\hline   \text{(R)}& \text{Semantic analysis} & \text{(iii)}  & \text{Regular expressions} \\\hline  \text{(S)} & \text{Runtime environment} &\text{(iv)}  & \text{Activation records}  \\\hline \end{array}$$

  1. $\text{P $\leftrightarrow$ i, Q $\leftrightarrow$ ii, R $\leftrightarrow$ iv, S $\leftrightarrow$ iii}$
  2. $\text{P $\leftrightarrow$ iii, Q $\leftrightarrow$ i, R $\leftrightarrow$ ii, S $\leftrightarrow$ iv}$
  3. $\text{P $\leftrightarrow$ ii, Q $\leftrightarrow$ iii, R $\leftrightarrow$ i, S $\leftrightarrow$ iv}$
  4. $\text{P $\leftrightarrow$ iv, Q $\leftrightarrow$ i, R $\leftrightarrow$ ii, S $\leftrightarrow$ iii}$

1 Answer

Best answer
52 52 votes

Correct Option: B

  • Lexical Analysis phase uses regular expressions.
  • LMD is involved in top down parsing.
  • Type checking is done in semantic analysis phase.
  • Activation records are related to Run Time Environments.
edited by
Answer:
Position:
Show:

Related questions

21 21 votes
6 6 answers
12.1k
12.1k views
Arjun asked Feb 16, 2024
12,082 views
​​​Consider the following two sets:$$\begin{array}{|ll|ll|}\hline & \textbf{Set X} & & \textbf{Set Y} \\\hline \text{ P.} & \text{Lexical Analyzer } & \text{1.}& \text...
50 50 votes
5 answers 5 answers
16.2k
16.2k views
Madhav asked Feb 14, 2017
16,238 views
Match the following according to input (from the left column) to the compiler phase (in the right column) that processes it:$$\begin{array}{|l|l|}\hline \text{P. Syntax t...
47 47 votes
3 answers 3 answers
13.4k
13.4k views
Kathleen asked Sep 22, 2014
13,363 views
Match all items in Group 1 with the correct options from those given in Group 2.$$\begin{array}{|ll|ll|}\hline \rlap{\textbf{Group 1}} & & \rlap{\textbf{Group 2}} \\\hli...
47 47 votes
5 answers 5 answers
11.9k
11.9k views
go_editor asked Feb 12, 2015
11,897 views
Match the following:$$\begin{array}{|ll|ll|}\hline \text{P.} & \text{Lexical analysis} & \text{1.} & \text{Graph coloring} \\\hline \text{Q.} & \text{Parsing} & \text{2....