Professional Documents
Culture Documents
7907 F Scsja53
7907 F Scsja53
7907 F Scsja53
THEORIES OF COMPUTATION
3 7907-F/SCSJA53
10. A Turing machine is similar to a finite automation
with only the difference of
(a) read/write head
(b) input tape
(c) finite state control
(d) All of the above
PART B — (5 7 = 35 marks)
Or
(b) Design a Mealy machine to find 2’s
complement of a given binary number.
Or
(b)
Show that L 0n1n 1 |n 0 is not regular.
Or
4 7907-F/SCSJA53
[P.T.O.]
(b) Show that the grammar
S a |abSb|aAb, A bS |aAAb is
ambiguous.
Or
(b) Write down the properties of context free
languages.
Or
(b) Construct Turing Machine for the language
L 0n1n |n 1
PART C — (3 10 = 30 marks)
5 7907-F/SCSJA53
18. Construct a finite automata recognizing L(G)
where G is the grammar
S aS |bA |b
A aA |bS |a
——–––––––––
6 7907-F/SCSJA53