SlideShare a Scribd company logo
Reg. No. :
B.E. / B.Tech. DEGREE EXAMINATION, NOVEMBER / DECEMBER 2015
Fifth Semester
Computer Science and Engineering
CS2303/CS53/10144/CS504/CS1303 – THEORY OF COMPUTATION
(Regulation 2008/2010)
Time : Three hours Maximum : 100 marks
Answer ALL Questions
Part A – (𝟏𝟎 × 𝟐 = 𝟐𝟎 marks)
1. Define the term NFA.
2. What is meant by Epsilon transition?
3. List the operators used in the Regular Expression and their precedence.
4. Mention any four Closure properties of Regular Languages.
5. Define the term Parse tree.
6. What is meant by ambiguity in Grammars?
7. Define the term Chomsky Normal Form.
8. List the components of Turing Machine.
9. What is meant by recursively enumerable language?
10. Define PCP.
Part B – (5 × 𝟏𝟔 = 𝟖𝟎 marks)
11 (a) (i) Construct DFA to accept the language L ={ w | w is of even length and begins
with 10} (10)
(ii) Discuss on Finite Automata with Epsilon transitions. (6)
Or
(b) (i) Convert the following NFA to a DFA. (10)
0 1
p {p, q} {p}
q {r, s} {t}
r {p, r} {t}
*
s ϕ ϕ
*
t ϕ ϕ
(ii) Discuss on the relation between DFA and Minimal DFA. (6)
12 (a) (i) Explain about Finite Automata and Regular Expressions. (8)
(ii) Discuss about the closure properties of Regular Languages. (8)
Or
(b) (i) Prove that the following languages are not regular. (8)
{0n
1m
| 𝑛 ≤ 𝑚 }
{0n
12n
| 𝑛 ≥ 1 }
(ii) Discuss on equivalence and minimization of Automata. (8)
Question Paper Code : 21386
13 (a) Discuss the following:
(i) CFG and Parse trees. (6)
(ii) Ambiguity in Context Free Grammars with example. (10)
Or
(b) (i) Construct PDA for the language. (10)
L = { wwR
| w is in {0, 1}*
}.
(ii) Discuss on deterministic PDA. (6)
14 (a) (i) Construct the following grammar in CNF. (8)
S → ABC | BaB
A → aA | BaC | aaa
B → bBb | a | D
C → CA | AC
D → ε.
(ii) Discuss on Turing Machine. (8)
Or
(b) (i) List and explain the closure properties of CFL. (8)
(ii) Explain in detail about the programming techniques for Turing Machines. (8)
15 (a) (i) Explain about “A language that is not Recursively Enumerable”. (8)
(ii) Prove that Lne is not recursive. (8)
Or
(b) (i) Discuss on undecidable problems about Turing Machine. (10)
(ii) Explain about the universal language. (6)
All the Best – No substitute for hard work.
Mr. G. Appasami SET, NET, GATE, M.Sc., M.C.A., M.Phil., M.Tech., (P.hd.), MISTE, MIETE, AMIE, MCSI, MIAE, MIACSIT,
MASCAP, MIARCS, MISIAM, MISCE, MIMS, MISCA, MISAET, PGDTS, PGDBA, PGDHN, PGDST, (AP / CSE / DRPEC).

More Related Content

DOCX
CS2303 Theory of computation April may 2015
DOCX
Cs6503 theory of computation april may 2017
DOCX
Cs6660 compiler design may june 2017 answer key
PDF
Cs2303 theory of computation all anna University question papers
PDF
Cs6503 theory of computation may june 2016 be cse anna university question paper
PDF
Cs6503 theory of computation november december 2015 be cse anna university q...
DOCX
Cs6503 theory of computation november december 2016
DOCX
Cs6660 compiler design november december 2016 Answer key
CS2303 Theory of computation April may 2015
Cs6503 theory of computation april may 2017
Cs6660 compiler design may june 2017 answer key
Cs2303 theory of computation all anna University question papers
Cs6503 theory of computation may june 2016 be cse anna university question paper
Cs6503 theory of computation november december 2015 be cse anna university q...
Cs6503 theory of computation november december 2016
Cs6660 compiler design november december 2016 Answer key

What's hot (20)

DOC
Model toc
PDF
Cs2303 theory of computation may june 2016
PDF
DOCX
Question bank toafl
PDF
Problem set3 | Theory of Computation | Akash Anand | MTH 401A | IIT Kanpur
PDF
A Concurrent Language for Argumentation
PDF
A Graph-based Cross-lingual Projection Approach for Spoken Language Understan...
PDF
Looking for Invariant Operators in Argumentation
PDF
A Concurrent Language for Argumentation: Preliminary Notes
PDF
Timed Concurrent Language for Argumentation: an Interleaving Approach
PPT
Intermediate code generation
PDF
Introducing a Tool for Concurrent Argumentation
DOCX
Ca notes
PPTX
COMPILER DESIGN AND CONSTRUCTION
PDF
Timed Concurrent Language for Argumentation
PPTX
Graph coloring using backtracking
PDF
PPTX
Dag representation of basic blocks
PDF
Solve the problem showing all steps. Thoroughly explain how and why you perfo...
PDF
[Question Paper] Introduction To C++ Programming (Revised Course) [April / 2015]
Model toc
Cs2303 theory of computation may june 2016
Question bank toafl
Problem set3 | Theory of Computation | Akash Anand | MTH 401A | IIT Kanpur
A Concurrent Language for Argumentation
A Graph-based Cross-lingual Projection Approach for Spoken Language Understan...
Looking for Invariant Operators in Argumentation
A Concurrent Language for Argumentation: Preliminary Notes
Timed Concurrent Language for Argumentation: an Interleaving Approach
Intermediate code generation
Introducing a Tool for Concurrent Argumentation
Ca notes
COMPILER DESIGN AND CONSTRUCTION
Timed Concurrent Language for Argumentation
Graph coloring using backtracking
Dag representation of basic blocks
Solve the problem showing all steps. Thoroughly explain how and why you perfo...
[Question Paper] Introduction To C++ Programming (Revised Course) [April / 2015]
Ad

Similar to Cs2303 theory of computation november december 2015 (20)

PDF
TOC question bank.pdf
PDF
Automata And Compiler Design
PDF
TOC_Solutions-Adi.pdf
PDF
TOC_Solutions-Adi.pdf
PDF
TOC Solutions-Adi.pdf
DOCX
V cse cs6503 model qb1 1
DOCX
Expected Questions TC
DOCX
Expected questions tc
PDF
Expected questions tc
PDF
Expected questions tc
PDF
Cs gate-2011
PDF
Cs gate-2011
PDF
Assembly language solution
PDF
Assembly language (coal)
PDF
7th Semester (June; July-2015) Computer Science and Information Science Engin...
DOCX
Cs6660 compiler design may june 2016 Answer Key
PDF
2nd Semester M Tech: Structural Engineering (June-2015) Question Papers
PDF
Problem set2 | Theory of Computation | Akash Anand | MTH 401A | IIT Kanpur
PDF
9 a05407 formal_languages_automata_theor_yfr_2029
PDF
Gate-Cs 2010
TOC question bank.pdf
Automata And Compiler Design
TOC_Solutions-Adi.pdf
TOC_Solutions-Adi.pdf
TOC Solutions-Adi.pdf
V cse cs6503 model qb1 1
Expected Questions TC
Expected questions tc
Expected questions tc
Expected questions tc
Cs gate-2011
Cs gate-2011
Assembly language solution
Assembly language (coal)
7th Semester (June; July-2015) Computer Science and Information Science Engin...
Cs6660 compiler design may june 2016 Answer Key
2nd Semester M Tech: Structural Engineering (June-2015) Question Papers
Problem set2 | Theory of Computation | Akash Anand | MTH 401A | IIT Kanpur
9 a05407 formal_languages_automata_theor_yfr_2029
Gate-Cs 2010
Ad

More from appasami (16)

PPTX
Data visualization using python
PDF
Cs6503 theory of computation book notes
PDF
CS2303 theory of computation Toc answer key november december 2014
PDF
CS6702 graph theory and applications notes pdf book
DOCX
Cs6402 design and analysis of algorithms impartant part b questions appasami
DOCX
Cs6702 graph theory and applications question bank
PDF
Cs6702 graph theory and applications Anna University question paper apr may 2...
DOC
Cs6503 theory of computation lesson plan
DOCX
Cs6503 theory of computation syllabus
DOC
Cs6503 theory of computation index page
PDF
Cs6702 graph theory and applications 2 marks questions and answers
PDF
Cs6402 design and analysis of algorithms may june 2016 answer key
DOCX
Cs6702 graph theory and applications syllabus
DOC
Cs6702 graph theory and applications title index page
DOC
Cs6702 graph theory and applications lesson plan
PDF
Computer organization-and-architecture-questions-and-answers
Data visualization using python
Cs6503 theory of computation book notes
CS2303 theory of computation Toc answer key november december 2014
CS6702 graph theory and applications notes pdf book
Cs6402 design and analysis of algorithms impartant part b questions appasami
Cs6702 graph theory and applications question bank
Cs6702 graph theory and applications Anna University question paper apr may 2...
Cs6503 theory of computation lesson plan
Cs6503 theory of computation syllabus
Cs6503 theory of computation index page
Cs6702 graph theory and applications 2 marks questions and answers
Cs6402 design and analysis of algorithms may june 2016 answer key
Cs6702 graph theory and applications syllabus
Cs6702 graph theory and applications title index page
Cs6702 graph theory and applications lesson plan
Computer organization-and-architecture-questions-and-answers

Recently uploaded (20)

PPTX
FINAL REVIEW FOR COPD DIANOSIS FOR PULMONARY DISEASE.pptx
PPT
Mechanical Engineering MATERIALS Selection
PDF
PPT on Performance Review to get promotions
PPTX
MCN 401 KTU-2019-PPE KITS-MODULE 2.pptx
PPTX
Construction Project Organization Group 2.pptx
PDF
Operating System & Kernel Study Guide-1 - converted.pdf
DOCX
ASol_English-Language-Literature-Set-1-27-02-2023-converted.docx
PDF
TFEC-4-2020-Design-Guide-for-Timber-Roof-Trusses.pdf
PPTX
Internet of Things (IOT) - A guide to understanding
PDF
Mohammad Mahdi Farshadian CV - Prospective PhD Student 2026
PDF
The CXO Playbook 2025 – Future-Ready Strategies for C-Suite Leaders Cerebrai...
PDF
composite construction of structures.pdf
PPTX
additive manufacturing of ss316l using mig welding
PDF
Embodied AI: Ushering in the Next Era of Intelligent Systems
PDF
R24 SURVEYING LAB MANUAL for civil enggi
PPTX
web development for engineering and engineering
PPTX
CH1 Production IntroductoryConcepts.pptx
PDF
Evaluating the Democratization of the Turkish Armed Forces from a Normative P...
PPTX
Infosys Presentation by1.Riyan Bagwan 2.Samadhan Naiknavare 3.Gaurav Shinde 4...
PDF
Model Code of Practice - Construction Work - 21102022 .pdf
FINAL REVIEW FOR COPD DIANOSIS FOR PULMONARY DISEASE.pptx
Mechanical Engineering MATERIALS Selection
PPT on Performance Review to get promotions
MCN 401 KTU-2019-PPE KITS-MODULE 2.pptx
Construction Project Organization Group 2.pptx
Operating System & Kernel Study Guide-1 - converted.pdf
ASol_English-Language-Literature-Set-1-27-02-2023-converted.docx
TFEC-4-2020-Design-Guide-for-Timber-Roof-Trusses.pdf
Internet of Things (IOT) - A guide to understanding
Mohammad Mahdi Farshadian CV - Prospective PhD Student 2026
The CXO Playbook 2025 – Future-Ready Strategies for C-Suite Leaders Cerebrai...
composite construction of structures.pdf
additive manufacturing of ss316l using mig welding
Embodied AI: Ushering in the Next Era of Intelligent Systems
R24 SURVEYING LAB MANUAL for civil enggi
web development for engineering and engineering
CH1 Production IntroductoryConcepts.pptx
Evaluating the Democratization of the Turkish Armed Forces from a Normative P...
Infosys Presentation by1.Riyan Bagwan 2.Samadhan Naiknavare 3.Gaurav Shinde 4...
Model Code of Practice - Construction Work - 21102022 .pdf

Cs2303 theory of computation november december 2015

  • 1. Reg. No. : B.E. / B.Tech. DEGREE EXAMINATION, NOVEMBER / DECEMBER 2015 Fifth Semester Computer Science and Engineering CS2303/CS53/10144/CS504/CS1303 – THEORY OF COMPUTATION (Regulation 2008/2010) Time : Three hours Maximum : 100 marks Answer ALL Questions Part A – (𝟏𝟎 × 𝟐 = 𝟐𝟎 marks) 1. Define the term NFA. 2. What is meant by Epsilon transition? 3. List the operators used in the Regular Expression and their precedence. 4. Mention any four Closure properties of Regular Languages. 5. Define the term Parse tree. 6. What is meant by ambiguity in Grammars? 7. Define the term Chomsky Normal Form. 8. List the components of Turing Machine. 9. What is meant by recursively enumerable language? 10. Define PCP. Part B – (5 × 𝟏𝟔 = 𝟖𝟎 marks) 11 (a) (i) Construct DFA to accept the language L ={ w | w is of even length and begins with 10} (10) (ii) Discuss on Finite Automata with Epsilon transitions. (6) Or (b) (i) Convert the following NFA to a DFA. (10) 0 1 p {p, q} {p} q {r, s} {t} r {p, r} {t} * s ϕ ϕ * t ϕ ϕ (ii) Discuss on the relation between DFA and Minimal DFA. (6) 12 (a) (i) Explain about Finite Automata and Regular Expressions. (8) (ii) Discuss about the closure properties of Regular Languages. (8) Or (b) (i) Prove that the following languages are not regular. (8) {0n 1m | 𝑛 ≤ 𝑚 } {0n 12n | 𝑛 ≥ 1 } (ii) Discuss on equivalence and minimization of Automata. (8) Question Paper Code : 21386
  • 2. 13 (a) Discuss the following: (i) CFG and Parse trees. (6) (ii) Ambiguity in Context Free Grammars with example. (10) Or (b) (i) Construct PDA for the language. (10) L = { wwR | w is in {0, 1}* }. (ii) Discuss on deterministic PDA. (6) 14 (a) (i) Construct the following grammar in CNF. (8) S → ABC | BaB A → aA | BaC | aaa B → bBb | a | D C → CA | AC D → ε. (ii) Discuss on Turing Machine. (8) Or (b) (i) List and explain the closure properties of CFL. (8) (ii) Explain in detail about the programming techniques for Turing Machines. (8) 15 (a) (i) Explain about “A language that is not Recursively Enumerable”. (8) (ii) Prove that Lne is not recursive. (8) Or (b) (i) Discuss on undecidable problems about Turing Machine. (10) (ii) Explain about the universal language. (6) All the Best – No substitute for hard work. Mr. G. Appasami SET, NET, GATE, M.Sc., M.C.A., M.Phil., M.Tech., (P.hd.), MISTE, MIETE, AMIE, MCSI, MIAE, MIACSIT, MASCAP, MIARCS, MISIAM, MISCE, MIMS, MISCA, MISAET, PGDTS, PGDBA, PGDHN, PGDST, (AP / CSE / DRPEC).