Machine-translated by Google. Questions are authored in English.
Top

Discussion

Match each tool with its principal output.
List I
A. preprocessor
B. compiler
C. assembler
D. linker
List II
1. relocatable machine code
2. modified source program
3. executable machine code
4. target assembly program

  • A.A-3, B-1, C-4, D-2
  • B.A-2, B-4, C-1, D-3
  • C.A-4, B-2, C-1, D-3
  • D.A-2, B-4, C-3, D-1

Answer: B

Correct answer: A-2, B-4, C-1, D-3

Each tool's output is the next one's input, so the chain settles the matching. The preprocessor produces a modified source program, still text.

The compiler produces a target assembly program. The assembler produces relocatable machine code, relocatable because its final addresses are not yet fixed. The linker produces executable machine code, having resolved the external references and combined the modules. The progression runs from text to assembly to relocatable object to executable.

No comment is present. Be the first to comment.
Loading…

Post your comment

Please log in or register to post a comment.