Continuous Internal Assessment - I Department of Computer Science and Engineering

Download as docx, pdf, or txt
Download as docx, pdf, or txt
You are on page 1of 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. What are the two parts of a compilation? Explain briefly.
2. Define tokens, patterns, and lexeme.
3. What is context free Grammar?
4. What is lexical analysis?
5. Define transition diagram
PART – B (13 X 2 = 26)
6. Convert to Minimized DFA for the following (a/b)*

OR
7. Explain the various errors encountered in different phases of compiler.

8. Explain in detail about how compiler recognition of tokens.


OR
9. Explain about lex tool

PART – C (14 X 1 = 14)

10. Explain the phases of compiler


OR
11. Convert the given NFA into its equivalent DFA

You might also like