UCS701
UCS701
B - > CC I b
C -> AB I a 15
Apply CYK algorithm to determine whether the string w=baaba belongs to the
language generated by above given grammar.
Q5. Consider the regular expression r = b(alb)b*b
Convert the given r into NFA using Thompson construction. Convert the
obtained NFA to DFA using Subset construction and minimized the obtained 10
DFA.
Q6. Prove that Context- free language are not closed under complementation. 10
Q7. Draw the flowchart for the language L={anbncm I n, m 1.}. Write down the
transition diagram( PDA ) for the above designed flowchart. 10
Q8. Write down the logic for design of a Turing machine for the given language
L={ ww I wE(0,1) }. Design the Turing Machine for given L. Give the trace/ 15
Instantaneous description for the string w=110110.