Home
Courses
About
School
Notes
Questions
MCQ
Contact
Vocational Courses
Compilers
Compilers
Syntax Analyser
Question 1
Marks :
+2
|
-2
Pass Ratio :
50%
Which phase of the compiler is Syntax Analysis?
First
Second
Third
None of the mentioned
Explanation:
It is Second Phase Of Compiler after Lexical Analyzer.
Question 2
Marks :
+2
|
-2
Pass Ratio :
50%
Which of the following system software resides in the main memory?
Text Editor
Assembler
Linker
Loader
Explanation:
Loader is used to loading programs.
Question 3
Marks :
+2
|
-2
Pass Ratio :
100%
Type checking is normally done during ____________
Lexical Analysis
Syntax Analysis
Syntax Directed Translation
Code generation
Explanation:
It is the function of Syntax directed translation.
Question 4
Marks :
+2
|
-2
Pass Ratio :
100%
Which of these is not true about the Symbol Table?
All the labels of the instructions are symbols
Table has entry for symbol name address value
Perform the processing of the assembler directives
Created during pass 1
Explanation:
The Symbol table does not ever perform the processing of the assembler derivative.
Question 5
Marks :
+2
|
-2
Pass Ratio :
100%
Output file of Lex is __________ the input file is Myfile.
Myfile.e
Myfile.yy.c
Myfile.lex
Myfile.obj
Explanation:
This Produce the filr “myfile.yy.c†which we can then compile with g++.
Question 6
Marks :
+2
|
-2
Pass Ratio :
50%
By whom is the symbol table created?
Compiler
Interpreter
Assembler
None of the mentioned
Explanation:
Symbol table is created by the compiler which contains the list of lexemes or tokens.
Question 7
Marks :
+2
|
-2
Pass Ratio :
50%
A compiler can check?
Logical Error
Syntax Error
Both Logical and Syntax Error
Not Logical and Syntax Error
Explanation:
No compiler can ever check logical errors.
Question 8
Marks :
+2
|
-2
Pass Ratio :
50%
The fourth Generation computer was made up of ______________
Transistor
Vacuum tubes
Chips
Microprocessor chips
Explanation:
It is the only way to increase its throughput.
Question 9
Marks :
+2
|
-2
Pass Ratio :
100%
A grammar for a programming language is a formal description of _______________
Syntax
Semantics
Structure
Library
Explanation:
The grammar clearly indicates which type of structure does a program has.
Question 10
Marks :
+2
|
-2
Pass Ratio :
50%
Semantic Analyser is used for?
Generating Object code
Maintaining symbol table
Generating Object code & Maintaining symbol table
None of the mentioned
Explanation:
Maintaining the Symbol Table for each block.
1
2
3
4
5
6
7
8
9
10
Time Left:
Submit
Score
:
Rank
:
Accuracy
:
%
Time
:
Total Question
:
Attempted
:
Correct
:
Wrong
:
User Name
Email Id
Mobile No
Submit