Language processors MCQs

32. Which of the following functions is/ are performed by the loader ?

A. Physically place the machine instructions and data into memory
B. Allocate space in memory for the programs and resolve symbolic references between object decks
C. Adjust all address dependent locations, such as address constants, to correspond to the allocated space
D. All of the above
✅ The correct answer is option D.

37. Terminal Table___________________?

A. contains all constants in the program
B. a permanent table which lists all key words and special symbols of the language in symbolic form
C. a permanent table of decision rules in the form of patterns for matching with the uniform symbol table to discover syntactic structure
D. 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
✅ The correct answer is option B.

Scroll to Top