A “ Link editor “ is a program that :
Matches the parameters of the macro definition location of parameters of the macro call
Matches external names of one program with their locations in other programs
Acts as a link between text editor and the user
Acts as a link between complex and user program
c, d
a, b
a,c
None of the above
Variables
Identifiers
Actual parameters
Formal parameters
A linker is given object modules for a set of programs that were compiled separately. What information need not be included in an object module?
Object code
Relocation bits
Names and locations of all external symbols defined in the object module
Absolute addresses of internal symbols
The pass numbers for each of the following activities?
Object code generation
Literals added to literal table
Listing printed
Address resolution of local symbols
In a resident_____ OS computer, which of the following software must reside in main memory under all situations?
Assembler
Linker
Loader
Compiler
Type checking is normally done during_____?
Lexical analysis
Syntax analysis
Syntax directed translation
Code optimization
A simple two-pass assembler does the following in the first pass?
It allocates space for the literals
It computes the total length of the program
It builds the symbol table for the symbols and their values
It allocates space for the literals & It builds the symbol table for the symbols and their values.
a ->s
b->q
c->p
d->r
a ->s
b->p
c->q
d->r
a ->q
b->p
c->s
d->r
a ->s
b->r
c->q
d->p
What is loader?
A loader is software which brings the machine language code from disc in to the memory for execution of that program.
A loader is software which brings the machine language code from memory in to the disc for execution of that program.
Loader is a hardware device.
None of the above.