Professional Documents
Culture Documents
Chapter Wise Questions Subject: Compiler Design: Common Short Answer Questions (CD &FLAT)
Chapter Wise Questions Subject: Compiler Design: Common Short Answer Questions (CD &FLAT)
Chapter Wise Questions Subject: Compiler Design: Common Short Answer Questions (CD &FLAT)
1) Explain the equivalence of NFA`s and DFA`s and write the proof
(AU2011,,12,(AU 2011,4-5 admitted))
.2) Define Regular set and Regular grammar . Give examples for Regular grammar
3) Differentiate DFA & NFA with example
4) Write about Chomsky Hierarchy of Grammars
5) Discuss different types of grammars (AU 2011)
6) Explain about Finite Automata (AU 2011)
7) What is a grammar ? Explain different types of grammar and theier associated machines with an
example (AU 2011,12,4-5 admitted)
8) Construct the minimized DFA for the Regular Expression (0+1)*( 0+1)10 (AU 2013)
UNIT1
Short answer questions
UNIT2&3
Short answer questions
E E+T|T
T T*F|F
F ( E ) | id
Construct set of LR(0) items and SLR parsing table for the above grammar.(AU 2011,4-5 admitted)