adplus-dvertising
frame-decoration

Question

A simple two-pass assembler does which of the following in the first pass

a.

Space for the literals

b.

Total length of the program

c.

It builds the symbol table for the symbols and their values.

d.

All of the mentioned

Posted under Compiler Design

Answer: (d).All of the mentioned

Engage with the Community - Add Your Comment

Confused About the Answer? Ask for Details Here.

Know the Explanation? Add it Here.

Q. A simple two-pass assembler does which of the following in the first pass

Similar Questions

Discover Related MCQs

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

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++;