Software Engineering Mcqs » Language processors
Which of the following program is not a utility ?

A. Editor
B. Spooler
C. Debugger
D. All of the above

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

Which of the following might be used to convert high-level language instructions into machine language ?

A. an interpreter
B. system software
C. applications software
D. an operating environment

In which way(s) can a macro processor for assembly language be implemented ?

A. independent one-pass processor
B. independent two-pass processor
C. processor incorporated into pass of a standard two-pass assembler
D. all of the above

Bug means_______________?

A. A logical error in a program
B. A difficult syntax error in a program
C. Documenting programs using an efficient documentation tool
D. All of the above

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 function(s) of the Syntax phase is/ are__________________?

A. to build a uniform symbol table
B. to build a literal table and an identifier table
C. to parse the source program into the basic elements or tokens of the language
D. to recognize the major constructs of the language and to call the appropriate action routines that will generate the intermediate form or matrix for these constructs