recategorized
3,009 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

0 votes
0 votes
answer:- (a)

reason: a linker is a computer software that combine 2 or more file generated by compiler into a single executable file.

so its function is to combine several object modules into a single load module.
0 votes
0 votes

both statements are correct 

1st statement is easy, let's check 2nd statement 

The linker resolves dependencies between the object files and static libraries while the loader resolves dependencies between the executable and any shared library.

the function of a linker is to replace absolute references in an object module with symbolic references

here symbolic ref means the logical address, not a reference that actually points to a physical memory location 

That's why we call it a linker 

Answer:

Related questions

4.5k
views
8 answers
2 votes
go_editor asked Mar 24, 2020
4,481 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,285 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,182 views
Match the following : ...
1.0k
views
3 answers
1 votes
go_editor asked Mar 24, 2020
1,043 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}$