Skip to content
Related Articles
Get the best out of our app
GeeksforGeeks App
Open App

Related Articles

GATE | GATE-CS-2016 (Set 2) | Question 29

Improve Article
Save Article
Like Article
Improve Article
Save Article
Like Article

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

My Personal Notes arrow_drop_up
Last Updated : 01 Sep, 2021
Like Article
Save Article
Similar Reads