You are on page 1of 90

GATE

GATE INSTRUCTORS 2016


COMPUTER SCIENCE / IT
Theory of Computation

GATE INSTRUCTORS
Institute for GATE & PSUs
Contents
S.NO. Topic Page No.

1 Theory 1 - 18

2 GATE Questions With Explanations 19 - 59

1.1 Finite Automata: RL, RE and RG 19 - 35

1.2 Push Down Automata: CFL & DCFL 36 - 47

1.3 Turing Machine: RE & RES 48 - 54

1.4 Undecidability & NP-Completeness 55 - 59

3 PSUs Questions With Explanations 60 - 87

1.1 Set-1 60 - 73

1.2 Set-2 74 - 87
Theory of Computation
Syllabus
Theory of Computation: Regular languages and finite automata, Context free languages and
Push-down automata, Recursively enumerable sets and Turing machines, Undecidability.

ANALYSIS OF PREVIOUS YEAR GATE PAPERS


GATE YEAR MARKS
2013 8
2012 6
2011 9
2010 7
2009 11
2008 13
2007 12
2006 12
2005 14
2004 9

16

14

12

10

0
2002 2004 2006 2008 2010 2012 2014

Important Topics
Most Important Regular languages and finite automata
Important Context free languages and Push-down automata
Thecry of Computer 5e ience
Answers & Explanations Praetice Set: ! t Basic il-evel

1 (c) (cJ ) 41 . (b) 61. (d) (b)

P" (c) {hi 42" {c} 62" (c) (c)

3. (d) (b) 43" (d) 63. (c) {h}

4 (h) {hi 44. {a} 64" {b} (d)

5. {ri} (h) 45. {d) 65" {b} (a)

s" {c} {bi 46. (d) 66" (d) {d)

7" {d} (a) 47 (d) G7. (e ) (b)

B. {d} ih) 48. (b) ri8" (d) (c)

s" (d) (a) 4s. (a) fis. (a) {d}

10. (d) (c) 50" (h) 70. (d) {a}

i'! " {h} {b} 5'! " (c) 71 . {c} {c}

12" {a} {b} 52. (h) 72" {c} (e)

13. {r}} (a) 53" (e) "73. (b)


{a}

14" {a I (c) 54. (d) 7 4. (a) {d}

x 5. {a} (b) 55" {a} 15" {r}} /rX


i'^/
\

1ff. {c} (a) 5s" (d) 76" (a) {a}

17 " {h} {d} 57, (c) 7v " (a) (r-=)

18" (rJ) (b) 58. (c) 78" (c) (c)

1s" th) (d) 5s. {b) 7s. (c) (h)

20" (ai (c) so" (b) B0 {d} (b)


Theory of Computer Science
Answers & Explanations Practice Set: ll c Advance Level

1. (d) 17. (a) 33. (a) 49. (kr) 65" (a)

2. (b) 18. (c) 34. (a) 50. (c) 66. (c)

3. (c) 19. (c) 35. (a) 51. (d) 67. (c)

4. (b) 20" (c) 36. (e) 52. (b) 68. (d)

5. (d) 21 . (c) 37" (a) 53. (b) 69. (d)

6. (d) 22. (c) 38. (b) 54" (b) 70. (a)

(b) 23. (b) 39" (b) 55" (b) 71. (a)

B. (c) 24. (d) 44. (b) 56. (c) 72. (d)

9. (a) 25. (b) 41 "


(a) 57. (o) 73. (d)

10. (b) 26. (d) 42" (a) 58. (b) 74. (b)

11. (c) 27" (a) 43. (a) 59" (d) 75" (b)

12. (c) 28. (a) 44. (d) 60. (c) 76. (rr)

13. (a) 29" (d) 45. (c) 61" (a) 77. (a)

14. (d) 30" (d) 46. (a) 62. (b) 78. (d)

15" (b) 31. (c) 47. (c) 63. (a)

16. (a) 32. (d) 48. (d) 64. (d)

You might also like