I Semester M.Sc. Degree Examination, February 2013 (Y2K5 Scheme) COMPUTER SCIENCE MCS 101 : Theory of Computation Time : 3 Hours
Max. Marks : 80
Instruction : Answer any five full questions choosing atleast 2 full questions from each Part. PART – A 1. a) Define language and the operations performed on languages. b) Define NFA and the language accepted by NFA. c) Describe the notations to represent automata.
(6+5+5)
2. a) Show that if D = (Q D, ∑, δD, {q0 ), FD ) is the DFA constructed from NFA N = (Q N, ∑, δN, q0, FN ) by subset construction, then L (D) = L (N). b) Design an algorithm to simulate the behavior of DFA on any string. c) Construct a DFA equivalent to the following NFA : 0
1
− > q0
{ q0, q1}
q0
q1
−
q2
* q2
−
−
(5+4+7)
3. a) Define Pumping lemma for regular languages and show that L = {wwR|w ∈{a, b}} is not regular. b) Construct regular expression for the following DFA : 0
1
→p
q
r
q
p
r
*r
q
p
c) Show that regular expressions are closed under union and intersection.
(6+6+4) P.T.O.
PG – 492
-2-
*PG492*
4. a) Define equivalent states. Use table-filling algorithm to find the equivalent states and minimize the following DFA : 0
1
→A
B
A
B
A
C
C
D
B
*D
D
A
E
D
F
F
G
E
G
F
G
H
G
D
b) Define context free grammar and the context free language. Construct a context free grammar to generate the set of all palindromes. Generate any two palindromes. c) Define DPDA.
(8+6+2) PART – B
5. a) Show that the grammar G = (V, T, S, P) with P : {S – > aSb| ∈ } is sound and complete. b) Consider the grammar G = ({E}, {+, *, num, –}, {E → E + E|E*E|(E) | –E| num}, E). Is the grammar ambiguous ? Justify. c) Describe any one application of context free grammar.
(6+6+4)
6. a) Define PDA and the language accepted by PDA. Construct a PDA to accept the language L = {wwR|w is in {0 +, 1} *}. b) Compare and contrast Turing machines and computers. c) Define ID. Illustrate the working of the PDA.
(8+4+4)
*PG492*
-3-
PG – 492
7. a) Define Turing machine and the language acceptance of a Turing machine. b) Design a Turing machine M to recognize the language {1n 2n 3n| n ≥ 1} and show the behavior of the TM on a string of length greater than 6. c) Explain the terms “undecidability” and “intractability”. 8. Write short notes on any two of the following : a) Halting problem b) Universal Turing machine c) Moore and Mealy machines. _________________
context free grammar to generate the set of all palindromes. Generate any. two palindromes. c) Define DPDA. (8+6+2). PART â B. 5. a) Show that the grammar G ...
All of this is to say that there is a great deal of art and craft in true science. In ..... construct or angle: game theory, networking concepts, beliefs about corporate social .... am not enamored of highly detailed research plans that leave no room
Prospect Theory: A Descriptive Theory of Human Behaviors. As we have seen in the .... Of course, this intuitive interpretation helps us understand the patterns ...
5. a) Derive the governing equation for the continuous longitudinal vibrations of a prismatic ... rotates at 5 cm radius and total mass of vibrating system is 25 kg.
Jul 12, 2006 - Sacks's result that every nontrivial cone of hyperdegrees is null. Measure-theoretic uniformity in recursion theory and set theory. Martin-Löf's ...
(* S3 is a. final State). (b) Explain Universal Turing Machine and Halting Problem. Page 3 of 3. Main menu. Displaying Theory of Computation.pdf. Page 1 of 3.
Code No: RR210403. Set No.1. II B.Tech. I Semester ... Find the Auto correlation function and power spectral density of the Random process. x(t) = K Cos (Ïot + ...
IV. a) Distinguish between generalised and discrete co-ordinates. 5. b) Show that the logarithmic decrement is also given by the equation. â. â. â . â. â. â. â.
Jun 16, 2008 - protocol to exchange packets of data with the application in another host ...... v0.4. http://www9.limewire.com/developer/gnutella protocol 0.4.pdf.
Set No.1. II B.Tech. I Semester Supplementary Examinations, May -2005. PROBABILITY THEORY .... Support your answer with the help of suitable examples. 8.
Jun 16, 2008 - and forwards that packet on one of its outgoing communication links. From the ... Services offered by link layer include link access, reliable.
Accept risks. See the big picture. .... and statements with accurate data. Reassure them ... Are You a Driver, Expressive, Analytical or Amiable? Have you ever ...
Jun 22, 2011 - Coding Theory began with the early work of Shannon [22] and Hamming [11]. ..... The most interesting class of codes meeting this bound are the [24k,12k,4k + 4] Type II ... final step being a massive computer computation).
Retrying... Download. Connect more apps... Try one of the apps below to open or edit this item. trait theory of leadership pdf. trait theory of leadership pdf. Open.
First Semester M.E. (Civil) Degree Examination, February 2014 ... b) The state of stress at a point in a body is given by the matrix shown below. MPa. 1 2. 2 0 2.
Dec 16, 2008 - D. A simple illustration. In this part, we ..... effect of Pr(p Ï p) on the equilibrium analysis is, of course, due to the erroneous inference .... [14] Kreps, David and Wilson, Robert (1982): iSequential Equilibriai, Econometrica, 50
Assume suitable data if necessary. 5. Preferably, write the answers in sequential order. Q1. Attempt any THREE (9 Marks). a. Define core of section and sketch it ...
THEORY OF STRUCTURES _ II ... Draw the shear stress distribution diagram of a symmetrical I section'. 3. .... Displaying THEORY OF STRUCTURES - II.pdf.
Mar 31, 2014 - Question 2: Show that PCP is decidable relative to ATM. [10]. Question 3: Consider the problem of determining whether a PDA accepts some ...