Professional Documents
Culture Documents
Cochin College of Engineering and Technology, Valanchery Class Test
Cochin College of Engineering and Technology, Valanchery Class Test
TECHNOLOGY, VALANCHERY
CLASS TEST
MCS10 104 : Compiler Design
Time: 2 Hours
Maximum: 50 Marks
PART A
Answer all questions
(5)
-Software systems
-Translate programs
-Series of phases
-Four phases
1. Lexical Analysis
2.
3.
Semantic Checking
4.
Code generation
-Symbol table
-Operating system interface
-One pass compiler
-Two pass compiler
(5)
3) Explain the syntax of ICAN expressions and ICAN constants of generic simple
types.
(10)
-
(10)
-Examples-SPARC-Alpha-MIPS, POWER-PowerPC-PA-RISC
-Advantages and disadvantages of two models
-Preprocessor
-Data-cache optimization-YIL-XIL
(10)
(10)