Attempt any Eight questions.
[8*5=40]
4.
Define the term alphabet, prefix and suffix of string, concatenation and Kleen closure with example. [5]
5.
Give the regular expressions for the following language over alphabet {a, b}. a. Set of all strings with substring bab or abb. b. Set of all strings whose 3rd symbol is 'a' and 5th symbol is 'b'. [5]
6.
Show that L = {an | n is a prime number} is not a regular language. [5] 7.
Explain about the Chomsky's Hierarchy about the language and programs. [5]
8.
Define a Push Down Automata. Construct a PDA that accepts L = {anbn∣n>0}. [5] 9.
Construct the following grammar into Chomsky Normal Form. S→abSb∣a∣aAb A→bS∣aAAb∣ε [5] 10.
Define Turing Machine and explain its different variations. [5]
11.
What do you mean by computational Complexity? Explain about the time and space complexity of a Turing machine. [5]
12.
Explain the term Intractability. Is SAT problem is intractable? Justify [5]