Select a Machine Independent phase of the compiler
All of them work independent of a machine.
A system program that combines the separately compiled modules of a program into a form suitable for execution?
A loader which combines the functions of a relocating loader with the ability to combine a number of program segments that have been independently compiled.
Which of the following system software resides in the main memory always
Loader is used to loading programs.
Output file of Lex is _____ the input file is Myfile.
This Produce the filr “myfile.yy.c” which we can then compile with g++.
Type checking is normally done during
It is the function of Syntax directed translation.
Suppose One of the Operand is String and other is Integer then it does not throw error as it only checks whether there are two operands associated with ‘+’ or not .
Syntax analyser does not check the type of the operand.
In Short Syntax Analysis Generates Parse Tree.
Short Syntax Analysis generates a parse tree.
By whom is the symbol table created?
Symbol table is created by the compiler which contains the list of lexemes or tokens.
What does a Syntactic Analyser do?
Syntax analyzer will just create parse tree. Semantic Analyzer checks the meaning of the string parsed.
Semantic Analyser is used for
Maintaining the Symbol Table for each block.
Source Program for Semantic Errors. Collects Type Information for Code Generation. Reporting compile-time errors in the code generating the object code (e.g., assembler or intermediate code).