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}$$$\text{P $\leftrightarrow$ i, Q $\leftrightarrow$ ii, R $\leftrightarrow$ iv, S $\leftrightarrow$ iii}$$\text{P $\leftrightarrow$ iii, Q $\leftrightarrow$ i, R $\leftrightarrow$ ii, S $\leftrightarrow$ iv}$$\text{P $\leftrightarrow$ ii, Q $\leftrightarrow$ iii, R $\leftrightarrow$ i, S $\leftrightarrow$ iv}$$\text{P $\leftrightarrow$ iv, Q $\leftrightarrow$ i, R $\leftrightarrow$ ii, S $\leftrightarrow$ iii}$ Related Questions :GATE CSE 2009 | Question: 17GATE CSE 2015 | Set 2 | Question: 19GATE CSE 1990 | Question: 2-ixGATE CSE 2017 | Set 2 | Question: 05GATE CSE 2024 | Set 2 | Question: 11 Compiler Design gatecse-2016-set2 compiler-design easy match-the-following compilation-phases + – Akash Kanase 8.5k views answer comment Share Follow Print See 1 comment 1 1 comment reply Raj_Dev_Verma commented 1 day ago reply Follow flag Option B is correct 0 0 replyShare Please log in or register to add a comment.
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. Sharathkumar Anbu answered Feb 12, 2016 • edited May 13, 2021 by soujanyareddy13 Sharathkumar Anbu comment Share Follow See all 2 Comments 2 2 Comments reply Kiyoshi commented Jan 20, 2022 reply Follow flag Type checking is done in semantic analysis phase. Strongly and weakly type checking Static and dynamic type checking 0 0 replyShare Thadymademe commented Oct 19, 2022 reply Follow flag @ASNR1010 what do you want to say bro?? 1 1 replyShare Please log in or register to add a comment.