adplus-dvertising
frame-decoration

Question

The lexical analyzer takes _________as input and produces a stream of _______as output.

a.

Source program, tokens

b.

Token, source program

c.

Either A and B

d.

None of the mentioned

Posted under Compiler Design

Answer: (a).Source program, tokens

Engage with the Community - Add Your Comment

Confused About the Answer? Ask for Details Here.

Know the Explanation? Add it Here.

Q. The lexical analyzer takes _________as input and produces a stream of _______as output.

Similar Questions

Discover Related MCQs

Q. Task of the lexical analysis

Q. The output of lexical analyzer is a

Q. In a two pass assembler, adding literals to literal table and address resolution of local symbols are done using

Q. In Two pass assembler the object code generation is done during the

Q. Which of the following type of software should be used if you need to create, edit and print document?

Q. Output file of the Lex is _________ is the input file is Sam.

Q. Yacc is available as a command on the

Q. oading process can be divided into two programs. The first is binder the other is

Q. In Lex, a class is complemented by first placing

Q. Which of the following is not a feature of compiler?

Q. Predictive parsers can be

Q. An example of intermediate language is

Q. In a two pass assembler the object code generation is done during the

Q. A programming language is to be designed to run on a machine that does not have a big memory.

Q. Which of the following system software resides in main memory always?

Q. What value does the variable a have after ALL of the code above executes?

int a;
int b;
a=1;
b=a++;

Q. What value does the variable z have after ALL of the code above executes?

int x;
int y;
int z;
x=3;
y=4;
z = ++x * y++;

Q. What value does the variable x have after ALL of the code above executes?

int x;
int y;
int z;
x=3;
y=4;
z = ++x * y++;

Q. What value does the variable y have after ALL of the code above executes?

int x;
int y;
int z;
x=3;
y=4;
z = ++x * y++;

Q. Which of the following operators has the highest precedence?