FirstRanker Logo

FirstRanker.com - FirstRanker's Choice is a hub of Question Papers & Study Materials for B-Tech, B.E, M-Tech, MCA, M.Sc, MBBS, BDS, MBA, B.Sc, Degree, B.Sc Nursing, B-Pharmacy, D-Pharmacy, MD, Medical, Dental, Engineering students. All services of FirstRanker.com are FREE

Get the MBBS Question Bank Android App

Access previous years' papers, solved question papers, notes, and more on the go!

Install From Play Store

Get the Nursing Question Bank Android App

Access 10+ years of Question Papers with answers, notes for B.Sc Nursing on the go!

Install From Play Store

Download GTU BE/B.Tech 2019 Summer 6th Sem Old 160704 Theory Of Computation Question Paper

Download GTU (Gujarat Technological University) BE/BTech (Bachelor of Engineering / Bachelor of Technology) 2019 Summer 6th Sem Old 160704 Theory Of Computation Previous Question Paper

This post was last modified on 20 February 2020

GTU BE 2019 Summer Question Papers || Gujarat Technological University


FirstRanker.com

GUJARAT TECHNOLOGICAL UNIVERSITY

SEMESTER-VI(OLD) - EXAMINATION - SUMMER 2019

--- Content provided by‌ FirstRanker.com ---

Subject Code: 160704 Date: 18/05/2019

Subject Name: Theory Of Computation

Time: 10:30 AM TO 01:00 PM Total Marks: 70

Instructions:

  1. Attempt all questions.
  2. --- Content provided by⁠ FirstRanker.com ---

  3. Make suitable assumptions wherever necessary.
  4. Figures to the right indicate full marks.

Q.1 (a) Write Principle of Mathematical Induction. Using Principle of Mathematical 07 Induction, prove that for every n>1,

? i = n(n+1)(2n+1) / 6

i=1

--- Content provided by‍ FirstRanker.com ---

(b) Define reflexivity, symmetry, and transitivity properties of relations. Consider the 07 relation R = {(1,2), (1,1), (2,1), (2,2), (3,2), (3,3)} defined over {1, 2, 3}. Is it reflexive? Symmetric? Transitive? Justify each of your answers.

Q.2 (a) Convert NFA to NFA and DFA. Initial State: A, Final State : D 07

0(q,0) 6(q,1
A B A
B D C
C D D
D D D

(b) Suppose that L1 and L2 are the subsets 07

Draw the FAs recognizing the following Languages:

  1. L1 n L2
  2. --- Content provided by​ FirstRanker.com ---

  3. L1 - L2

FirstRanker.com

OR

Q.3 (a) Define Pumping Lemma for Regular Languages. Use Pumping Lemma to show 07 that the following languages are not regular.

  1. L={0n1n|n>0}
  2. --- Content provided by FirstRanker.com ---

  3. L={wwR|we{0,1}*}

(b) Define Ambiguous grammar. Write Unambiguous grammar for following 07 grammar :

E->E+E|E*E|(E)|id

Derive string “id+id*id” using unambiguous grammar.

Q.4 (a) Given the CFG G, find a CFG G’ in Chomsky Normal form generating L(G) — { 07 ?}

--- Content provided by‌ FirstRanker.com ---

S->A|B|C

A->aAa|B

B -> bB|bb

C -> aCaa|D

D - baD | abD | aa

--- Content provided by‍ FirstRanker.com ---

OR

(b) Design Context Free Grammar for following Language : 07

L={0j1i0k|j>i+k}

Q.5 (a) Write Regular Expressions corresponding to each of the following subsets of 07 {0,1}*

  1. The language of all strings in {0,1}* that containing at least two 0’s.
  2. --- Content provided by​ FirstRanker.com ---

  3. The language of all strings containing both 101 and 010 as substrings.
  4. The language of all strings that do not end with 01.

(b) Design PDA for the language L = { x ? {a;b}* | na(x) > nb(x) }. 07

OR

(a) Explain Cook’s Theorem. 07

--- Content provided by FirstRanker.com ---

(b) Design PDA for the language L ={xcxR | x ? {a, b}* } 07

(a) Write Short note on Any Two: 07

  1. The Primitive Recursion Function
  2. P and NP Completeness
  3. Equivalence Relation
  4. --- Content provided by‍ FirstRanker.com ---

(b) Design Turing Machine(TM) to accept Palindrome over {a,b}, even as well as 07 odd.

OR

(a) Write Short note on Following: 07

  1. Halting Problem
  2. Church Turing Thesis
  3. --- Content provided by‌ FirstRanker.com ---

(b) Design Turing Machine to copy string. 07

(a) Explain Time Complexity and Space Complexity. 07

FirstRanker.com


--- Content provided by​ FirstRanker.com ---


This download link is referred from the post: GTU BE 2019 Summer Question Papers || Gujarat Technological University