GATE | GATE-CS-2016 (Set 2) | Question 29
Match the following:
(P) Lexical analysis (i) Leftmost derivation
(Q) Top down parsing (ii) Type checking
(R) Semantic analysis (iii) Regular expressions
(S) Runtime environments (iv) Activation records
(A) A
(B) B
(C) C
(D) D
Answer: (B)
Explanation: Lexical analysis uses Regular expression to recognize identifiers.
Top down parsing uses Left Most Derivation to generate the string the of the language.
Type checking is done at Semantic analysis phase of the compiler.
Activation records of a function are loaded into stack memory at Run time.
Quiz of this Question
Last Updated :
01 Sep, 2021
Like Article
Save Article
Share your thoughts in the comments
Please Login to comment...