Compiler Design Gate Smashers [portable]
: This is the first phase where characters are grouped into meaningful units called tokens. ✅ C) Ambiguous
Enroll in a reputable test series and take topic-wise and subject-wise compiler design tests. Analyze your mistakes—especially in numerical questions involving code optimization or attribute evaluation.
Bottom-up parsers build the parse tree from the leaves up to the root. They use an operation called parsing. compiler design gate smashers
GATE often asks about Three-Address Code (3AC) representations:
: Using grammar rules to generate intermediate code or perform actions during parsing. : This is the first phase where characters
The types of conflicts they encounter (Shift-Reduce vs. Reduce-Reduce). How they handle lookaheads.
: This phase improves the efficiency of the intermediate code to make the final program run faster or use less memory. Techniques include Loop Jamming (merging multiple loops into one) and Loop Fission (splitting a loop). Bottom-up parsers build the parse tree from the
Based on this review, I would recommend Compiler Design Gate Smashers to GATE aspirants who:
Attributes computed using inherited or synthesized attributes. 5. Intermediate Code & Three-Address Code