Professional Documents
Culture Documents
To The Extent Possible, Please Be Formal in Your Proofs, Arguments, Etc
To The Extent Possible, Please Be Formal in Your Proofs, Arguments, Etc
To The Extent Possible, Please Be Formal in Your Proofs, Arguments, Etc
Semester-II 2012-2013
M.Tech.(CS) - First Year
Mid-semester Examination (20 February, 2013)
Subject: Automata, Languages and Computation
Maximum marks: 45 Total marks: 50 Duration 3 hrs.
To the extent possible, please be formal in your proofs, arguments, etc.
1. (a) Formally dene
(i) a non-deterministic nite automaton (NFA),
(ii) the extended transition function
for NFAs,
(iii) acceptance of a string by an NFA.
(b) When is a relation over strings said to be right invariant?
(c) When is a context free grammar (CFG) said to be ambiguous?
[(3+3+1) + 2 + 2 = 11]
2. Draw the state diagram of a deterministic nite automaton (DFA) that recognises the set of all
binary strings where the dierence between the number of 0s and the number of 1s is even. [6]
3. Let be a nite alphabet, L a language over , and h :