Operating Systems Concepts

Q1: Assembly code data base is associated with

A assembly language version of the program which is created by the code generation phase and is input to the assembly phase.

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 token's as they appear in the program. Created by Lexical analysis and used for syntax analysis and interpretation.

D a permanent table which lists all key words and special symbols of the language in symbolic form.

E None of the above

ANS:A - assembly language version of the program which is created by the code generation phase and is input to the assembly phase.

Phases of compiler: source program given to step 1, after all analysis, finally we get a target code (assembly language code) is generated in code generator phase. And this code is given as input to the assembly code.

1. Lexical analyser 2. Syntax analyzer 3. Semantic anal. 4. Intermediate code generation 5. Code optimizer 6. Code generator.



img not found
img

For help Students Orientation
Mcqs Questions

One stop destination for examination, preparation, recruitment, and more. Specially designed online test to solve all your preparation worries. Go wherever you want to and practice whenever you want, using the online test platform.