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 ?

  1. (A) Context-free grammar can be used to specify both lexical and syntax rules.
  2. (B) Type checking is done before parsing.
  3. (C) High-level language programs can be translated to different Intermediate Representations.
  4. (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