GATE CS 2018 (Forenoon) — Question 18

Compiler DesignLexical Analysis & Parsing Architectures (LL(1), LR(1), LALR)MCQ1 mark · −1/3 if wrongEasy

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.
Practise the full 2018-FN paper
Challenge a friend: WhatsApp Telegram
Recommended book · affiliate linkCompilers: Principles, Techniques & ToolsThe "Dragon Book" for parsing, syntax-directed translation and code generation.
Practise more on Lexical Analysis & Parsing Architectures (LL(1), LR(1), LALR)Timed, in the real exam interface · free to start

A GATE question every morning

One real past-paper question every morning for your branch, answer hidden until you tap. Free on Telegram.

Join
Stuck? Ask in the student group