Theory of Computer Science Important Questions
Theory of Computer Science Important Questions
7) Give deterministic finite automata accepting the following languages over the
alphabet{0,1}
9) Design a DFA to accept strings over the alphabet set {a,b} that begin with 'aa' but
not end with 'aa'
Or
i) Set of all strings with odd number of 1's followed by even number of 0's Σ ={0,1}
ii) Set of all strings which begin and end with different letters Σ ={x,y,z}
12) Design a mealy machine for a binary input sequence such that if the sequence
ends with 100 the output is 1 otherwise output is 0
2) Prove that
10) Using pumping lemma for regular sets, prove that the language, L={0^n l n is prime}
is not regular
12) Applications of RE
13) Let G = (V,T,P,S) be the CFG having following set of productions. Derive the string
''aabbaa'' using leftmost derivation and rightmost derivation
L ={WcW^T l W ∊ {a,b}*}
S -> 0BB
B -> 0S l 1S l 0
5) Define DPDA
Module 6 : Undecidability
1) Halting problem of a Turing Machine
3) Prove that there exists no algorithm for deciding whether a given CFG is ambiguous
4) Rice's Theorem
5) Grelbach Theorem