11. Terminal Table

A. a permanent table which lists all keywords 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


Correct Answer:  A. a permanent table which lists all keywords and special symbols of the language in symbolic form

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


Correct Answer:  C. cross compiler

13. Assembly code database is associated with

A. a permanent table which lists all keywords 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


Correct Answer:  D. assembly language version of the program which is created by the code generation phase and is input to the assembly phase

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


Correct Answer:  A. 4GL does not support a high-level of screen interaction

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

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


Correct Answer:  B. 9001E6

Comments

No comments yet. Why don’t you start the discussion?

    Leave a Reply

    Your email address will not be published. Required fields are marked *

    3 − 3 =