in Compiler Design edited by
6,328 views
16 votes
16 votes

In a compiler the module that checks every character of the source text is called:

  1. The code generator.
  2. The code optimiser.
  3. The lexical analyser.
  4. The syntax analyser.
in Compiler Design edited by
6.3k views

3 Comments

 the module that checks

2
2

@Lakshman Patel RJIT  Please correct the question . It should be “that checks”

2
2
2
2

2 Answers

29 votes
29 votes
Best answer
lexical analyser phase checks every character of text to identify tokens.
edited by
0 votes
0 votes
The first phase of compiler is known as lexical analyser,it is also known as scanner because it scans the whole program so it checks every character of the source text.Hence answer is C
Answer:

Related questions