Cheat sheets

CD-21Cheat sheet1 pageIn a paid pack

Compiler Design Traps

Thirty common mistakes across the Compiler Design syllabus, each written as the wrong belief, the correct rule and a short check or example: token counting, FIRST and FOLLOW, LL(1) and the LR family, syntax-directed translation, runtime environments, intermediate code, basic blocks, DAGs and data-flow analysis. Each row points to the sheet that explains it.

CD-22Cheat sheet1 pageIn a paid pack

Question Patterns and Routines

The recurring Compiler Design question shapes, each with the cue that identifies it, the routine to run, the check that most often changes the answer, and the sheet that holds the method: token counts, phase of an error, FIRST and FOLLOW, LL(1) tests, LR state and conflict counts, parser classes, SDT outputs, runtime outputs, TAC and DAG counts, basic blocks, liveness, available expressions and constant propagation.

CD-23Cheat sheet1 pageIn a paid pack

Master Last-Day Revision Sheet

A one-page summary of the Compiler Design pack: phases and their errors, scanner rules, FIRST and FOLLOW, the LL(1) test, the LR family with state counts and separating grammars, S- and L-attributed definitions, activation records, scoping and parameter passing, TAC forms, leaders and DAGs, and the data-flow analyses with their equations. All numbers are the script-checked values used on the topic sheets.