MCQ IN COMPUTER SCIENCE & ENGINEERING

COMPUTER SCIENCE AND ENGINEERING

SOFTWARE ENGINEERING

Question [CLICK ON ANY CHOICE TO KNOW THE RIGHT ANSWER]
During translation, linkers and loader are used to ____
A
Bring code from libraries into the code you are translating
B
Put the code on the internet
C
Find errors in the code
D
Translate assembly code into machine code
Explanation: 

Detailed explanation-1: -The purpose of a linker is to produce executable files whereas the major aim of a loader is to load executable files to the memory.

Detailed explanation-2: -Compiler It converts the source code into the object code. Linker It combines the multiple object files into a single executable program file. Loader It loads the executable file into main memory. Save this answer.

Detailed explanation-3: -Linker is a program in a system which helps to link object modules of a program into a single object file. It performs the process of linking. Linkers are also called as link editors. Linking is a process of collecting and maintaining piece of code and data into a single file.

Detailed explanation-4: -In computing, a linker or link editor is a computer system program that takes one or more object files (generated by a compiler or an assembler) and combines them into a single executable file, library file, or another “object” file.

There is 1 question to complete.