0% found this document useful (0 votes)
121 views1 page

Spos Assignment - 3

The document contains the assignment questions for the Computer Engineering department's compiler design course. It lists 11 questions related to compiler phases and design, lexical analysis, syntax analysis, semantic analysis, code generation, and compilation of control structures. It provides examples to explain concepts like the compiler phases, lexical analysis, syntax analysis, intermediate code generation, and code optimization techniques. It concludes by wishing students best of luck on the assignment.

Uploaded by

Anand Gharu
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
121 views1 page

Spos Assignment - 3

The document contains the assignment questions for the Computer Engineering department's compiler design course. It lists 11 questions related to compiler phases and design, lexical analysis, syntax analysis, semantic analysis, code generation, and compilation of control structures. It provides examples to explain concepts like the compiler phases, lexical analysis, syntax analysis, intermediate code generation, and code optimization techniques. It concludes by wishing students best of luck on the assignment.

Uploaded by

Anand Gharu
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 1

Pune Vidyarthi Griha’s

COLLEGE OF ENGINEERING, NASHIK – 4


COMPUTER ENGINEERING DEPARTMENT
Subject : SPOS ASSIGNMENT NO – 03 Unit : III

1. Explain the Phases of Compiler with an example.

2. List & explain various code optimization techniques.

3. Explain the working of Lex & YACC in detail.

4. Explain the issues in design of code generator.

5. Explain the Lexical Analysis of Language processor

6. Explain the syntax analysis with an example.

7. Explain the Semantic Analysis of Language processor

8. Define token, pattern, lexemes & lexical error.

9. Explain the various Phases of compiler for given problem

X = y +z*30

10.Generate the intermediate code for given format.

i. Postfix notation
ii. Parse tree
iii. Quadruple
iv. Triple
1. S = (a+b)/(c-d)

2. A = -P * (-Q + R)

11.Explain the compilation of control structure.

****************** Best of Luck *******************

Prepared BY : Prof. Gharu Anand

You might also like