CS3452 - TOC-modelexam-QP-IICSE
CS3452 - TOC-modelexam-QP-IICSE
3 Prove that reversal of any regular language is also a regular CO2 Understand
4 Give a regular expression for any language containing symbols(0,1) CO2 Create
and strictly ends with 1.
5 Define ContextFreeGrammar . CO3 Understand
7 State the Pumping Lemma for Context Free Language CO4 Understand
(OR)
b CO1 Apply
Prove that for every L recognised by an NFA ,there exists an
equivalent DFA accepting the same language L.
7 Prove that regular expressions are closed under union, CO2 Understand
a concatenation, kleen closure, complement
OR
b Prove that any language accepted by DFA can be represented by CO2 Apply
regular expression and also construct a finite automata for the
regular expression 10+(0+11)0*1
(OR)
8a Design a PDA that will accept strings (a+b)*in which the number of CO2 Analyze
a’s is greater than the number of b’s given the alphabet £=(a,b)
ii) Convert the above PDA to its equivalent CFG.
(OR)
11 Construct a PushDown Automata for the below mentioned language: CO3 Apply
a) L(G)=(w|w€(a,b,c,d) and w is of the form anbmcmdn and (m,n>-1).Also
mention the state transitions of this PDA while parsing the string
w=’baacaab’
(OR)
b) Construct a Turing Machine to implement a Multiplication operation CO4 Analyze
f(m,n)=m*n where m and n are positive integers and simulate their
action as input 5*4.