GATE CS 2018 · Question 18 · Compiler Design · Multiple choice (MCQ) · 1 mark · −1/3 for a wrong answer
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.
Answer
Answer (B)
Answer from the official GATE CS 2018 answer key.
The step-by-step solution, where available, is part of GATE CS Pro. See what Pro includes