What is the role of the lexical analyzer in a compiler?
a) The lexical analyzer groups tokens in a program’s source code into syntactically correct statements.
b) The lexical analyzer separates the source code into tokens (e.g., keywords, identifiers, operators and punctuation).
c) The lexical analyzer converts syntactic structures into instructions.
d) The lexical analyzer attempts to optimize the efficiency of the code.
b) The lexical analyzer separates the source code into tokens (e.g., keywords, identifiers, operators and punctuation).
Computer Science & Information Technology
You might also like to view...
A(n) ________ bar appears showing the current position of a slide as it is repositioned in Slide Sorter view
Fill in the blank(s) with correct word
Computer Science & Information Technology
The ________ is used for creation of the form
Fill in the blank(s) with correct word
Computer Science & Information Technology