adplus-dvertising
frame-decoration

Question

Which of the following functions is performed by loader?

a.

Allocate memory for the programs and resolve symbolic references between objects decks

b.

Address dependent locations, such as address constants, to correspond to the allocated space

c.

Physically place the machine instructions and data into memory

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. Which of the following functions is performed by loader?

Similar Questions

Discover Related MCQs

Q. In what module multiple instances of execution will yield the same result even if one instance has not terminated before the next one has begun?

Q. Dividing a project into segments and smaller units in order to simplify design and programming efforts is called

Q. Software that measures, monitors, and controls events is

Q. A linker is given object module for a set of programs that were compiled separately. What is not true about an object module

Q. Which loader function is accomplished by loader?

Q. In which of the following no information hiding is done?

Q. When a computer is rebooted, a special type of loader is executed called

Q. Disadvantage of ” Compile and GO ” loading scheme is that

Q. A relocatable program form is one which

Q. Which of the following module does not incorporate initialization of values changed by the module?

Q. Dynamic linking can cause security concerns because

Q. S -> C C
C -> eC | d

The grammar is

Q. S -> id: = E ”
newtemp ();

gen(t . place . place;); .place t} ”

.place .place;}

For the statement ‘X: = Y + Z ’,

the 3-address code sequence generated by this definition is

Q. If the programming language uses static scoping and call by need parameter passing mechanism, the values printed by the above program are

Q. If dynamic scoping is used and call by name mechanism is used, the values printed will be

Q. P x =new Q();

Q y =new Q();

P z =new Q();

x. f (1);((P) y). f (1);

z.f(1);

The output is

Q. Which of the following is NOT an advantage of using shared, dynamically linked libraries as compared to statically linked libraries?

Q. Which grammar violate rules of an operator grammar?
(i) P-> QR

(ii) P -> Q s R

(iii) P -> ε

(iv) P ->Q t

Q. Consider the grammar rule
E -> E1 − E2 for arithmetic expressions.

If E1 and E2 do not have any common sub expression, in order to get the shortest possible code

Q. The grammar
A ->AA |( A)| ε
is not suitable for predictive-parsing because the grammar is