retagged by
2,008 views

5 Answers

2 votes
2 votes
option C

In programming language, keywords, constants, identifiers, strings, numbers, operators and punctuations symbols can be considered as tokens in lexical analysing phase.
0 votes
0 votes
Lexical analysis is the first phase of a compiler. It takes the modified source code from language preprocessors that are written in the form of sentences. The lexical analyzer breaks these syntax into a series of tokens, by removing any white space or comments in the source code.

If the lexical analyzer finds a token invalid, it generates an error. The lexical analyzer works closely with the syntax analyzer. It reads character streams from the source code, checks for legal tokens, and passes the data to the syntax analyzer when it demands.

In programming language, keywords, constants, identifiers, strings, numbers, operators and punctuations symbols can be considered as tokens.
0 votes
0 votes
answer:- (c)

in a compiler keywords of a language are recognized during the lexical analysis of the program.
0 votes
0 votes
As lexical analyzer scans character by character through whole source program and according to maximum munch rule it identifies the keywords and set of tokens

So option is C
Answer:

Related questions

1 votes
1 votes
2 answers
1
admin asked Mar 30, 2020
1,013 views
What is the maximum number of reduce moves that can be taken by a bottom-up parser for a grammar with no epsilon and unit production (i.e.,of type $A\to\epsilon$ and $A \...
0 votes
0 votes
1 answer
2
admin asked Mar 30, 2020
762 views
A system program that combines the separately complied modules of a program into a form suitable for executionassemblerlinking loadercross compilerload and go
0 votes
0 votes
0 answers
4
admin asked Mar 30, 2020
1,193 views
Which of the following statements is/are TRUE for an undirected graph?Number of odd degree vertices is evenSum of degrees of all vertices is evenP onlyQ onlyBoth P and QN...