Skip to content
GATEiit

GATE CSE 2018 Q18: FALSE statement about compiler phases

Syllabus topic: Lexical analysis, parsing and syntax-directed translation

Question

Which one of the following statements is FALSE?

Try it: multiple choice: exactly one correct option

Select one option
Wrong answer costs 1/3 mark in GATE.
Show answer and explanation

Answer: B (official GATE 2018 final answer key)

Concept used: Compiler phase order: lexical analysis, then parsing, then semantic analysis (which includes type checking).

Concept notes

Loading notes…

First step: Recall the order of compiler phases and where type checking happens relative to building the parse tree.

Full step-by-step solution

Loading…

Answer from the official final answer key. Found a mistake? Use Report issue and we will fix it.

More questions on Lexical analysis, parsing and syntax-directed translation

Every PYQ on this topic →

Share this question

WhatsAppDownload image

Source: official GATE 2018 CS question paper and final answer key, organised by IIT Guwahati. Question paper · Answer key