recategorized
3,005 views
0 votes
0 votes

Which of the following statement(s) regarding a linker software is/are true ?

  1. A function of a linker is to combine several object modules into a single load module.
  1. A function of a linker is to replace absolute references in an object module by symbolic references to locations in other modules.
  1. Only I

  2. Only II

  3. Both I and II

  4. Neither I nor II

recategorized

6 Answers

5 votes
5 votes
i think only first statement is correct ,becoz  in second it is saying that linker  replace absolute references in an object which is wrong linker always generate relocatable address adress
edited by
2 votes
2 votes
the linker produces absolute machine code,but here it says it replaces. So I is true only.Maybe
0 votes
0 votes

In computer science, a linker is a computer program that takes one or more object files generated by a compiler and combines them into one, executable program.

Computer programs are usually made up of multiple modules that span separate object files, each being a compiled computer program. The program as a whole refers to these separately compiled object files using symbols. The linker combines these separate files into a single, unified program, resolving the symbolic references as it goes along.

so only staement 1 is true

Answer:

Related questions

4.5k
views
8 answers
2 votes
go_editor asked Mar 24, 2020
4,477 views
Consider the following statements related to compiler construction:Lexical Analysis is specified by context-free grammars and implemented by pushdown automata.Syntax Analysis is ... is/are correct?Only IOnly IIBoth I and IINeither I nor II
2.3k
views
3 answers
0 votes
go_editor asked Mar 24, 2020
2,281 views
Consider a sequence $F_{00}$ defined as :$F_{00}\left ( 0 \right )= 1, F_{00}\left ( 1 \right )= 1\\$F_{00}\left ( n \right )= \frac{10 * F_{00}\left ( n-1 \ ... ( 1, 2, 55, 110, 600, 1200 \right )$\left ( 1, 55, 110, 600, 1200 \right )$
1.2k
views
4 answers
0 votes
go_editor asked Mar 24, 2020
1,179 views
Match the following : ...
1.0k
views
3 answers
1 votes
go_editor asked Mar 24, 2020
1,042 views
The functions mapping $R$ into $R$ are defined as :$f\left(x \right)=x^{3} - 4x, g\left(x \right)=\frac{1}{x^{2}+1}$ and $h\left(x \right)=x^{4}.$Then find the value of ... $\left [ \left ( x^{3}-4x \right )^{2}+1 \right ]^{-4}$