Compilers Syntax Directed Definitions Translations 1 Online Exam Quiz
Compilers Syntax Directed Definitions Translations 1 GK Quiz. Question and Answers related to Compilers Syntax Directed Definitions Translations 1. MCQ (Multiple Choice Questions with answers about Compilers Syntax Directed Definitions Translations 1
Which of the following functions is performed by loader?
Options
A : Allocate memory for the programs and resolve symbolic references between objects decks
B : Address dependent locations, such as address constants, to correspond to the allocated space
C : Physically place the machine instructions and data into memory
D : All of the mentioned
Pass I ______________
Options
A : Assign address to all statements
B : Save the values assigned to all labels for use in pass 2
C : Perform some processing
D : All of the mentioned
The root directory of a disk should be placed ___________
Options
A : At a fixed address in main memory
B : At a fixed location on the disk
C : Anywhere on the disk
D : None of the mentioned
Assembly code data base is associated with ___________
Options
A : Code is converted into assembly
B : Table of rules in the form of patterns for matching with the uniform symbol table to discover syntactic structure
C : All of the mentioned
D : None of the mentioned
If E be a shifting operation applied to a function f, such that E(f) = f (x +? ), then?
Options
A : E (?f+? g) = ? E(f) +? E (g)
B : E (?f +? g ) =. ( ?+ ? ) + E (f + g)
C : E (?f +? g ) = ? E (f+g?)
D : E (?f +? g ) = ?? E (f + g)
The method which merges the bodies of two loops is?
Options
A : Loop rolling
B : Loop jamming
C : Constant folding
D : None of the mentioned
In a single pass assembler, most of the forward references can be avoided by putting the restriction ___________
Options
A : On the number of strings/life reacts
B : Code segment to be defined after data segment
C : On unconditional rump
D : None of the mentioned
What is the function of the syntax phase?
Options
A : recognize the language and to cal the appropriate action routines that will generate the intermediate form or matrix for these constructs
B : Build a literal table and an identifier table
C : Build a uniform symbol table
D : Parse the source program into the basic elements or tokens of the language
The process manager has to keep track of ___________
Options
A : Status of each program
B : Information to a programmer using the system
C : Status of each program & Information to a programmer using the system
D : None of the mentioned
Which table is a permanent database that has an entry for each terminal symbol?
Options
A : Terminal Table
B : Literal Table
C : Identifier Table
D : None of the mentioned
Chemical Engineering Basics - Part 1 more Online Exam Quiz
Compilers Storage Allocation 2
Compilers Symbol Table Organization 1
Compilers Syntax Directed Definitions Translations 2
Compilers Three Address Statements 1