Students need to find and fix logic and syntax errors in 4 pseudocode style programs. For each one, they have to provide the line number for the logic/syntax error, an explanation and a fixed version.
Formal methods in language syntax and semantics encompass a range of logical and algebraic frameworks designed to characterise grammatical structure and meaning assignment with mathematical precision.