Q19MCQ1 mark, −0.33Match the following: (P)Lexical analysis(i)Leftmost derivation(Q)Top down parsing(ii)Type checking(R)Semantic analysis(iii)Regular expressions(S)Runtime environment(iv)Activation records\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}(P)(Q)(R)(S)Lexical analysisTop down parsingSemantic analysisRuntime environment(i)(ii)(iii)(iv)Leftmost derivationType checkingRegular expressionsActivation records(A)\text{P \leftrightarrowi,Qi, Qi,Q\leftrightarrowii,Rii, Rii,R\leftrightarrowiv,Siv, Siv,S\leftrightarrow iii}(B)\text{P \leftrightarrowiii,Qiii, Qiii,Q\leftrightarrowi,Ri, Ri,R\leftrightarrowii,Sii, Sii,S\leftrightarrow iv}(C)\text{P \leftrightarrowii,Qii, Qii,Q\leftrightarrowiii,Riii, Riii,R\leftrightarrowi,Si, Si,S\leftrightarrow iv}(D)\text{P \leftrightarrowiv,Qiv, Qiv,Q\leftrightarrowi,Ri, Ri,R\leftrightarrowii,Sii, Sii,S\leftrightarrow iii}Sign in to save attempts.Show answer← PreviousNext →SolutionsDiscussionLoading…Sign in with Google