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

CD 1

compiler design questions

Uploaded by

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

CD 1

compiler design questions

Uploaded by

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

CONTINUOUS INTERNAL ASSESSMENT – I

DEPARTMENT OF COMPUTER SCIENCE AND ENGINEERING

Batch : Year / Sem :


Date of Exam : Max. Marks : 50

PART – A (5 X 2 = 10)
1. Explain three address code with example
2. Difference between lexical analyzer and parser
3. Draw the transition diagram for relational operators and unsigned numbers.
4. What are the two parts of compilation? Explain briefly
5. What are the error recovery actions in lexical analyzer?
PART – B (13 X 2 = 26)
6. Explain detail about lexical analysis
OR
7. Construct finite automata equivalent to regular expression
(a|b)*|(ab)*b|a*(bb)*

8. Explain in detail about role of lexical analyzer with possible error recovery actions.
OR
9. Explain about input buffering.

PART – C (14 X 1 = 14)

10. Explain structure of a compiler with example


OR
11. Explain about Lex tool.

You might also like