← 🏭 Phases of a Compiler
Subtopic 2 of 3

1.2Which phase finds which error

Lexical: illegal characters, malformed tokens, unterminated strings. Syntax: missing/extra brackets or semicolons, bad statement structure. Semantic: type mismatch, undeclared variable, wrong argument count. Run time (not the compiler): divide by zero, array bounds.

Which phase reports it? · question 1 of 8

int x = 5 $ 3;

Previous year questions: Phases of a Compiler (4)

PYQs are grouped by topic, so this is the full set for Phases of a Compiler; try the ones that match this subtopic. Open all 4 on the topic page.