wiz-icon
MyQuestionIcon
MyQuestionIcon
1
You visited us 1 times! Enjoying our articles? Unlock Full Access!
Question

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

A
The syntax analyzer
No worries! We‘ve got your back. Try BYJU‘S free classes today!
B
The code generator
No worries! We‘ve got your back. Try BYJU‘S free classes today!
C
The code optimizer
No worries! We‘ve got your back. Try BYJU‘S free classes today!
D
The lexical analyzer
Right on! Give the BNAT exam to get a 100% scholarship for BYJUS courses
Open in App
Solution

The correct option is D The lexical analyzer
Lexical analysis is a phase of compiler in which a sequence of characters get converted into a group of tokens. A program or function which performs lexical analysis is called a lexical analyzer. So lexical analyzer checks every character of the source text.

flag
Suggest Corrections
thumbs-up
0
Join BYJU'S Learning Program
similar_icon
Related Videos
thumbnail
lock
Database Structuring
ACCOUNTANCY
Watch in App
Join BYJU'S Learning Program
CrossIcon