Multiple choice

Which of the following techniques analyses the syntax tree to determine if the program violates certain consistency requirements?

  1. Semantic analysis

  2. Program execution activity

  3. Caching

  4. Type checking

  5. Control flow analysis

Reveal answer Fill a bubble to check yourself
D Correct answer
Explanation

In a statically typed language immediately following parsing phase is the type checking phase.This technique analyses the syntax tree to determine if the program violates certain consistency requirements.