GATE | GATE CS 2018 | Question 19
Which one of the following statements is FALSE?
(A) Context-free grammar can be used to specify both lexical and syntax rules.
(B) Type checking is done before parsing.
(C) High-level language programs can be translated to different Intermediate Representations.
(D) Arguments to a function can be passed using the program stack.
Explanation: Type checking is done at semantic analysis phase and parsing is done at syntax analysis phase. And we know Syntax analysis phase comes before semantic analysis. So Option (B) is False.
All other options seems Correct.
My Personal Notes arrow_drop_up
Please Login to comment...