A linker program
1.places the program in the memory for the purpose of execution.
2.relocates the program to execute from the specific memory area allocated to it.
3.links the program with other programs needed for its execution.
4. interfaces the program with the entities generating its input data.
A self relocating program in one which
1.can not be made to exercise in any area of storage other than the one designated for it at the time of its coding or translation
2.consists of a program and relevent information for its reloaction
3.one itself perform the relocation of its address sensitive positions
4.All of the above
A system program that set-up an executable program in main memory ready A system program that set-up an executable program in main memory ready for execution isfor execution is
1.linker
2.loader
3.assembler
4. text editor
Disadvantage of compile and go loading scheme is that
1.a position of memory is wasted because the case occupied by the assembler is unavailable the object program
2. it is necessary to retranslate the users program check every time it is run
3.it is very difficult to handle multiple segments especially if the source programs are in different language and to produce overlay modular programs
4.All of the above
In an absolute loading scheme, which loader function is accomplished by assembler ?
1.Linking
2.Loading
3.Allocation
4.Reallocation
In an absolute loading scheme, which loader function is accomplished by loader ?
1.Linking
2.Loading
3.Allocation
4. Reallocation
In what module, multiple instances of execution will yield the same result even if one instancy has not terminated before the next one has begun?
1.serially reusable
2.recursive module
3.reenterable module
4.non-reusable module
Loaders that allow for program relocation are called
1.relative loaders
2.relocating loaders
3.both (a) and (b)
4.None of the above
The linker
1.is the same as loader
2.is required to create a load module
3. user source code as input
4.is always used before programs are executed
Which of the following can be accessed by transfer vector approach of linking?
1.External data segments
2.External subroutines
3.Data located in other procedure
4.All of these
Which of the following functions is/ are performed by the loader?
1.Physically place the machine instructions and data into memory
2.Allocate space in memory for the programs and resolve symbolic references between object decks
3.Adjust all address dependent locations, such as address constants, to correspond to the allocated space
4.All of the above
Which of the following module does not incorporate initialization of values changed by the module ?
1.re-enterable module
2.non reusable module
3.serially reusable module
4.all of these
Which of the following system software always resides in the main memory ?
1.Text Editor
2.Assembler
3.Linker
4.Loader
A linker is given object module for a set ofprograms that were compiled separately. What information need not be included in an object module
1.Object code
2.Relocation bits
3.Absolute addresses of internal symbols.
4.Names and locations of all external symbols denied in the object module
A linker reads four modules whose lengths are 200, 800, 600 and 500 words, respectively. If they are loaded in that order, what are the relocation constants ?
1.200, 700, 1300, 2100
2.200, 500, 600, 800
3.0, 200, 1000, 1600
4.0, 200, 500, 600
A loader is
1.a program that places programs into memory and prepares them for execution
2. a program that automate the translation of assembly language into machine language
3.a program that accepts a program written in a high level language and produces an object program
4.is a program that appears to execute a source program if it were machine language
A loader is a program that
1.program that places programs into memory and prepares them for execution.
2.program that automates the translation of assembly language into machine language.
3.program that accepts a program written in a high level language and produces as object program.
4.None of these
A non relocatable program is the one which
1.can itself perform the relocation of its address sensitive portions
2.consists of a program and relevant information for its relocation
3.cannot be made to execute in any area of storage other than the one designated for it at the time of its coding or translation
4.cannot be made to execute in any area of storage other than thecannot be made to execute in any area of storage other than the one designated for it at the time of its coding or translation one design
A relocate program form is the one which
1.consists of a program and relevant information for its relocation
2.can itself perform the relocation of its address-sensitive portions
3.cannot be made to execute in any area of storage other than the one designated for it at the time of its coding or translation
4. All of the above
A system program that brings together separately compiled modules of a program into a form language that is suitable for execution
1.Assembler
2.Linking loade
3.Cross compiler
4.None of the mentioned
A system program that combines separately compiled modules of a program into a form suitable for execution is
1.Assembler
2.Linking loader
3.Cross compiler
4.None of the mentioned
A system program that combines the separately compiled modules of a program into a form suitable for execution ?
1.Assembler
2.Linking loader
3.Cross compiler
4.Load and Go
A system program that combines the separately compiled modules of a program into a form suitable for execution?
1.Assembler
2.Compiler
3. Linking Loader
4. Interpreter
A system program that set up an executable program in main memory ready for execution is
1.assembler
2.linker
3.loader
4.text-editor
A system program that sets up an executable program in main memory ready for execution
1.assembler
2.linker
3.loader
4.laod and go
A system program that setup an executable program in main memory ready for execution is
1.loader
2.linker
3.assembler
4. load and go
Binder performs the functions of
1.allocation
2.relocation
3.linking
4.all of these
Consider a program with a linked origin of 5000. Let the memory area allocated to it have the start address of 70000. Which among the following will be the value to be loaded in relocation register?
1.20000
2.50000
3.70000
4.None of the above
Consider a program with a linked origin of 5000. Let the memory area allocated to it have the start address of 70000. Which amongst the following will be the value to be loaded in relocation register?
1.20000
2.50000
3.70000
4.None of the above
Dynamic memory allocation is implementing using ________________.
1.queue and stacks
2.trees
3.stack and heaps
4.graphs
Dynamic memory allocation is typically performed during _______________.
1.loading of the program
2.compilation of the program
3.execution of the program
4.None of the above
If linked origin is not equal to translated address then relocation is performed by___________
1. Absolute Loader
2.Loader
3.Linker
4. None of the above
If load origin is not equal to linked origin then relocation is performed by
1.Loader
2.Linker
3.By program itself
4.Relocation not performed
In an aboslute loading scheme, which loader function is accomplished by programmer?
1.Linking
2.Allocation
3.Both (a) and (b)
4.Reallocation
In an absolute loading scheme which loader function is accomplished by loader
1.reallocation
2.allocation
3.linking
4.loading
In an absolute loading scheme, which loader function is accomplished by loader?
1.Linking
2.Loading
3.Allocation
4.Reallocation
Linking is process of binding
1.Internal part of a program
2. external functional call
3.External reference to the correct link time address
4.None of the above
Load address for the first word of the program is called
1.Linker address origin
2. Load address origin
3.Phase library
4. Absolute library
Loader is a program that
1.places programs into memory and prepares them for execution
2.automates the translation of assembly language into machine language
3.accepts a program written in a high level language and produces an object program
4.appers to execute a source program as if it were machine language
Loading process can be divided into two separate programs, to solve some problems. The first is binder the other is ?
1.Linkage editor
2.Module Loader
3. Relocator
4.None of these
Memory allocation involves which of the following task(s)
1.determine amount of memory required
2.use an appropriate memory allocation model
3.determine appropriate memory mapping
4.All of the above
Relocatable programs
1.cannot be used with fixed partitions
2.can be loaded almost anywhere in memory
3.do not need a linker
4.can be loaded only at one specific location
Relocating bits used by relocating loader are specified by
1.Relocating loader itself
2.Linker
3.Assembler
4.Macro processor
Resolution of externally defined symbols is performed by
1.Linker
2.Loader
3.Compiler
4.Editor
Static memory allocation is typically performed during _____________.
1.compilation
2.execution
3.loading
4.linking
The linker ?
1.is same as the loader
2.is required to create a load module
3.is always used before programs are executed
4.None of above
The non-relocateable program is one which
1.can not be made to execute in any area to storage other than the one designated for it at the time of its coding or translation
2.consists of a program and relevent information for its reloaction
3.can itself perform the relocation of its address sensitive positions
4.All of the above
When a computer is first turned on or restarted, a special type of absolute loader, called a ______ is executed
1. bootstrap loader
2.loader
3.linker
4.None of the above
Which is not a funciton of a loader
1.allocation
2.translation
3.relocation
4.loading
Which of the following functions is performed by loader ?
1.Adjust all address dependent locations, such as address constants, to correspond to the allocated space
2.Allocate space in memory for the programs and resolve symbolic references between objects decks
3.Physicaly place the machine instructions and data into memory
4.All of the above
______________is used for reducing relocation requirements.
1. Relocation register
2.Track register
3.Binding register
4.Segment Register
________________ are used for reduce the main memory requirements of program.
1.Heaps
2.Overlays
3.Graphs
4. None of the above