Question 1
Marks : +2 | -2
Pass Ratio : 100%
Which table is a permanent database that has an entry for each terminal symbol?
Explanation: A database that has entry for each terminal symbols such as arithmetic operators, keywords, punctuation characters such as ‘;’, ‘,’etc Fields: Name of the symbol.
Question 2
Marks : +2 | -2
Pass Ratio : 100%
A linker is given object module for a set of programs that were compiled separately. What is not true about an object module?
Explanation: A linker or link editor is a computer program that takes one or more object files generated by a compiler and combines them into a single executable file, library file, or another object file.
Question 3
Marks : +2 | -2
Pass Ratio : 100%
What is the function of the syntax phase?
Explanation: In this phase symbol table is created by the compiler which contains the list of lexemes or tokens.
Question 6
Marks : +2 | -2
Pass Ratio : 100%
Assembly code data base is associated with ___________
Explanation: An assembly language is a low-level programming language for a computer, or other programmable device, in which there is a very strong (generally one-to-one) correspondence between the language and the architecture’s machine code instructions.
Question 8
Marks : +2 | -2
Pass Ratio : 100%
In a single pass assembler, most of the forward references can be avoided by putting the restriction ___________
Explanation: A single pass assembler scans the program only once and creates the equivalent binary program.