Multiple choice

In which of the following does the parser check that the tokens appearing in its input, that is the output of lexical analyzer, occurs in patterns that are permiited by the specification for the source language?

  1. Syntax analysis

  2. Lexical analysis

  3. Byte code verifier

  4. Code verification

  5. Code generation

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

The parser checks that the tokens appearing in its input, which is the output of the lexical analyzer, occur in patterns that are permitted by the specification for the source language.