Computer Science - Language Processors

Exercise :: Language Processors - Section 1

11. 

Terminal Table

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

Answer: Option A

Explanation:

No answer description available for this question. Let us discuss.

12. 

A compiler for a high-level language that runs on one machine and produces code for a different machine is called

A. optimizing compiler
B. one pass compiler
C. cross compiler
D. multipass compiler

Answer: Option C

Explanation:

No answer description available for this question. Let us discuss.

13. 

Assembly code data base is associated with

A. a permanent table which lists all key words and special symbols of the language in symbolic form
B. a permanent table of decision rules in the form of patterns for matching with the uniform symbol table to discover syntactic structure
C. consists of a full or partial list or the tokens as they appear in the program. Created by Lexical analysis and used for syntax analysis and interpretation
D. assembly language version of the program which is created by the code generation phase and is input to the assembly phase

Answer: Option D

Explanation:

No answer description available for this question. Let us discuss.

14. 

Indicate which of the following is not true about 4GL?

A. 4GL does not support a high-level of screen interaction
B. Many database management system packages support 4GLs
C. A 4GL is a software tool which is written, possibly, in some third generation language
D. All of the above

Answer: Option A

Explanation:

No answer description available for this question. Let us discuss.

15. 

Convert the BRNE h#01E6, i assembly language instructions into hexadecimal machine language:

A. 0111EF
B. 9001E6
C. DA000F
D. 40

Answer: Option B

Explanation:

No answer description available for this question. Let us discuss.