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
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.
Post your comment
Please log in or register to post a comment.
Examination Categories
- SSC Exams
- Banking Exams
- Teaching Exams
- Civil Services Exams
- Railways Exams
- Engineering Recruitment Exams
- Defence Exams
- State Government Exams
- Police Exams
- Insurance Exams
- Nursing Exams
- Other Government Exams
- NRA CET
- PG Entrance Exams
- Campus Placement
- MBA Entrance Exams
- CUET and UG Entrance
- Judiciary Exams
- Regulatory Body Exams
- Software Development