Language Processors
Which of the following functions is/ are performed by the loader?

Physically place the machine instructions and data into memory
Allocate space in memory for the programs and resolve symbolic references between object decks
Adjust all address dependent locations, such as address constants, to correspond to the allocated space
All of these

ANSWER DOWNLOAD EXAMIANS APP

Language Processors
A relocate program form is the one which

All of these
consists of a program and relevant information for its relocation
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
can itself perform the relocation of its address-sensitive portions

ANSWER DOWNLOAD EXAMIANS APP

Language Processors
A base register table

allows the programmer to write base registers and displacements explicitly in the source program
is a term that refers to the control programs of an operating system
is used to remember which of the general-purpose registers are currently available as base registers, and what base addresses they contain
allows multiple programs to reside in separate areas of core at the same time

ANSWER DOWNLOAD EXAMIANS APP

Language Processors
Terminal Table

consists of a full or partial list of the tokens as they appear in the program. Created by Lexical analysis and used for syntax analysis and interpretation
a permanent table which lists all key words and special symbols of the language in symbolic form
a permanent table of decision rules in the form of patterns for matching with the uniform symbol table to discover syntactic structure
contains all constants in the program

ANSWER DOWNLOAD EXAMIANS APP

Language Processors
In analyzing the compilation of PL/I program, the term "Machine independent optimization" is associated with

creation of more optional matrix
use of macro processor to produce more optimal assembly code
recognition of basic syntactic constructs through reductions
recognition of basic elements and creation of uniform symbols

ANSWER DOWNLOAD EXAMIANS APP