StudyNp
BIT
CSIT
MOCKTEST
Questions
Syllabus
Notes
Qns. By Syllabus
Semester
Sixth Semester
First Semester
Second Semester
Third Semester
Fourth Semester
Fifth Semester
Sixth Semester
Seventh Semester
Eighth Semester
Subject
Compiler Design and Construction
Software Engineering
Compiler Design and Construction
E-Governance
NET Centric Computing
Technical Writing
Applied Logic
E-Commerce
Automation and Robotics
Neural Networks
Computer Hardware Design
Cognitive Science
💡 Jump to
Important Questions ↓
Notes
S1
S1
Preparing your PDF
Loading PDF viewer...
Previous
No previous note
Next
S2
Important Questions
Important Questions
S1
Asked in 2081.1
Short Question
5 Marks
1.
What are the roles of macros and preprocessor? Discuss about one pass and multi pass compiler.
[5]
Asked in 2081
Short Question
5 Marks
2.
Explain different phases of compiler in brief.
[5]
Asked in 2080
Short Question
5 Marks
3.
What are the advantages of intermediate code? What types of information are provided by symbol table?
[5]
Asked in 2080
Long Question
10 Marks
4.
Differentiate between one-pass and multi-pass compiler. Construct the LL(1) parsing table for the following grammar.
S
→
A
B
C
D
S \rightarrow ABCD
S
→
A
BC
D
A
→
a
∣
ε
A \rightarrow a | \varepsilon
A
→
a
∣
ε
B
→
b
B \rightarrow b
B
→
b
C
→
0
∣
ε
C \rightarrow 0 | \varepsilon
C
→
0∣
ε
D
→
d
∣
ε
D \rightarrow d | \varepsilon
D
→
d
∣
ε
[10]
Asked in 2078
Short Question
5 Marks
5.
List out different types of run time storage management techniques. Explain any one of them.
[5]
Asked in 2078
Short Question
5 Marks
6.
What are the typical entries made in symbol table? Explain.
[5]
Asked in 2078
Short Question
5 Marks
7.
Define compiler and differentiate it with an interpreter.
[5]
Asked in 2076
Long Question
6 Marks
8.
Discuss the importance of error handler in compiler. How is it manipulated in the different phases of compilation?
[6]
Asked in 2076
Long Question
6 Marks
9.
Explain briefly about different phases involved in compiler, with a block diagram
[6]
Asked in 2075
Long Question
6 Marks
10.
What is activation record? Discuss the different activities performed by caller and callee during procedure call and return.
[6]
Asked in 2075
Long Question
6 Marks
11.
Difference between compiler and interpreter. "Symbol table is necessary component of compiler". Justify this statement with examples.
[6]