WorksheetsSystem software
Total questions: 35
Worksheet time: 18mins
A linker program
places the program in the memory for the purpose of execution.
relocates the program to execute from the specific memory area allocated to it.
links the program with other programs needed for its execution.
interfaces the program with the entities generating its input data.
which of the following are used to reduce memory requirement
loader
linker
overlays
all of the above
Relocatable programs
cannot be used with fixed partitions
can be loaded almost anywhere in memory
do not need a linker
can be loaded only at one specific location
Static memory allocation is typically performed during _____________.
compilation
execution
loading
linking
If load origin is not equal to linked origin then relocation is performed by
Loader
Linker
By program itself
Relocation not performed
Which is not a function of a loader
allocation
translation
relocation
loading
The non-relocatable program is one which
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
consists of a program and relevant information for its relocation
can itself perform the relocation of its address sensitive positions
all of the above
A self relocating program in one which
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
consists of a program and relevant information for its relocation
one itself perform the relocation of its address sensitive positions
all of the above
In resident OS computer system, which of the following system program must reside in main memory under all situations?
Assembler
Linker
Loader
Compiler
Relocation Table (RELOCTAB) contains
start address
machine language instruction
translated address
public definitions
Which binding is performed before the execution of a program
Static binding
Dynamic binding
Early binding
Late Binding
Program execution involves the steps:
Translation
Linking and Relocation
Loading
All of the above
The computer can not boot if it does not have__________________?
loader
compiler
assembler
application software
In an absolute loading scheme, which loader function is accomplished by assembler ?
Linking
Loading
Allocation
Reallocation
Translates low level assembly language mnemonic into machine code
Assembler
Compiler
Interpreter
Translates source code from high level languages into object code and then into machine code
Assembler
Compiler
Interpreter
Program is translated line by line as the program is running
Assembler
Compiler
Interpreter
Which of the following is NOT a translator?
Assembler
Compiler
Interpreter
Executable
It is a computer program that links and merges various object files together in order to make an executable file.
Assembler
Compiler
Linker
Loader
Program is translated line by line as the program is running
Assembler
Compiler
Interpreter
What is machine code?
Instructions and data in binary
Serial number of the CPU
Instructions and data in human readable form
Instructions and data in assembly code mnemonics
What is the problem writing machine code?
Quick to learn
Easy to debug
Easy to read
Hard to remember the binary codes Hard to remember the binary codes
Converts high-level code to low-level:
Interpreter
Compiler
Assembler
Does not provide the source code to the user
Interpreter
Compiler
Which of the following is false:
INTERPRETED programs run slower than COMPILED programs
ASSEMBLY LANGUAGE is easier to read then MACHINE CODE
COMPILED programs are easier to debug
MACHINE CODE programs are usually HARDWARE SPECIFIC
Which of these is not a stage in the compilation process:
ANALYSIS PHASE
ASSEMBLY PHASE
LINKING PHASE
SOURCE CODE GENERATION
Which of these is best for finding and editing individual errors?
Compilers
Assemblers
Interpreters
