Use diagrams for the phases of the compiler. If you can draw the flow, you can explain the logic.
While textbooks like "The Dragon Book" (Aho, Ullman, Sethi) are the gold standard, they can be overwhelming for GATE. For a more direct, exam-oriented approach:
The primary tool here is the . Syntax Analysis (The Heart of CD)