SlideShare a Scribd company logo
EXPECTED QUESTIONS
BRANCH: CSE SEMESTER: 5TH
SUB: THEORY OF COMPUTATION
PREPARED BY:ASST.PROF.SANTOSH KUMAR RATH
Short questions:
1. What is the difference between DFA and NFA?
2. Design a NFA which accepts set of all binary strings 1100 or 1010 as substring.
3. Write the regular expression over alphabet Ʃ={a,b,c}, containing atleast one a and atleast one b.
4. State the difference between Moore machine and Mealy machine? What is the length of the
output string for Moore machine for input string of length k?
5. Design a DFA for the language containing all strings on which leftmost symbol differs from
rightmost symbol over Ʃ={a,b}?
6. Define the meaning of terminals and non-terminals.
7. What do you understand by decidable?
8. Design PDA for the grammar given below:
S->aS|a|c
9. State Chomsky normal form with an example.
10. Describe Chomsky’s classification of language of automata theory.
11. What is the difference between language and grammar?
12. Write at least two difference between natural language and formal language.
13. Distinguish between context free context sensitive language.
14. State the difference between NP-complete and NP- hard problems.
15. Explain what it means for a language to be class P ? Give two examples of class P problem.
16. What do you mean by recursive and recursively enumerable language?
17. What is the difference between finite automata and turing machine.
18. What is theory of computation?
19. Define linear bounded automata with an example.
20. Explain decidability concept of CFG.
21. What do you understand by a language accepted by PDA by empty stack.
22. Design a DFA for even number of 1’s over Ʃ={0,1}.
23. What is a useless symbol and how can they be removed from a grammar?
EXPECTED QUESTIONS
BRANCH: CSE SEMESTER: 5TH
SUB: THEORY OF COMPUTATION
PREPARED BY:ASST.PROF.SANTOSH KUMAR RATH
24. What is maximum number of states in a DFA that is converted from an NFA of n number of
states.
25. What is ambiguity in CFG? Explain with an example.
26. What is Church Turing hypothesis?
27. What Clique problem? Explain with an example.
28. Define PCP(post correspondence problem).
29. What is muti-tape and multi-head turing machine.
30. Define the ID(instantaneous description) of PDA.
31. Differentiate between positive closure and kleen closure .
32. What is transition system? Explain with example.
33. Design an NFA which accept set of all binary strings containing the 3rd
symbol from the left end
is 1 and 2nd
symbol from left end is 0 .
34. What is –closure of a set? Explain with an example.
35. What is godel number?
36. Consider the following grammar
S->a|abSb|aAb
A->bS|aAAb| ϵ
And derive the string abababb by using rm (rightmost) derivation.
Long questions:
1. Construct a DFA equivalent to M=({q0,q1}, {0,1}, δ, q0, { q0 }) Where δ is defined by
its state table as follows.
__________________________________________________
State/Alphabet 0 1
__________________________________________________
 q0 q0 q1
q1 q1 q0, q1
___________________________________________________
2. Define pumping lemma. Show that L={an
| n is prime } is not regular.
3. State and prove Arden’s theorem ?
EXPECTED QUESTIONS
BRANCH: CSE SEMESTER: 5TH
SUB: THEORY OF COMPUTATION
PREPARED BY:ASST.PROF.SANTOSH KUMAR RATH
Find out the regular expression for the following transition diagram.
0 1 1 0,1
1 1 0
4. Define Griebach normal form. Convert the following grammar to Griebach normal form
S ->AA|a, A->SS|b
5. Let P be the set of all palindromes over {a,b}. Construct the grammar that generates P.
6. Design a turing machine to find 1’s complement of a binary number.
7. Costruct NFA for the following regular expression
i) a(ab)*aa
ii) (ab+bb)*
8. Show that P is closed under a) union, b) concatenation and c)complementation
9. What is the difference between moore machine and mealy machine ?
10. Design a DFA for the language which will accept all binary strings divisible by 3 .
11. Show that the language L={an
cbn
|n≥ 1} is accepted by a PDA.
12. Prove that for every NFA ,if L is the step accepted by NFA, then there exists a DFA which also
accepts L.
13. State and prove undecidability of post correspondence problem.
14. State and prove Arden’s theorem.
15. Write short notes on:
a) Universal turing machine
b) Church turing hypothesis
c) Normal form
d) Counter machine
16. Prove or disprove the following regular expression r,s
a) (R+S)*=R*+S*
b) (rs+r)*=r*+(sr+r)*
17. Give a context free grammar that generates the language L={w|{a,b}*:w contains atleast three a’s}
18. Find the language generated by the following
q3
q2q1
EXPECTED QUESTIONS
BRANCH: CSE SEMESTER: 5TH
SUB: THEORY OF COMPUTATION
PREPARED BY:ASST.PROF.SANTOSH KUMAR RATH
a) S->0S1|0A, A->1A|1
b) S->0S1|0A|0|1B|1A
19. What is Ackermann’s function.
Compute the value of A(1,1), A(2,1) using Ackermann’s function.

More Related Content

What's hot

Deterministic Finite Automata (DFA)
Deterministic Finite Automata (DFA)Deterministic Finite Automata (DFA)
Deterministic Finite Automata (DFA)
Animesh Chaturvedi
 
Formal Languages and Automata Theory unit 4
Formal Languages and Automata Theory unit 4Formal Languages and Automata Theory unit 4
Formal Languages and Automata Theory unit 4
Srimatre K
 
Finite Automata
Finite AutomataFinite Automata
Finite Automata
Mukesh Tekwani
 
C# p5
C# p5C# p5
Introduction TO Finite Automata
Introduction TO Finite AutomataIntroduction TO Finite Automata
Introduction TO Finite Automata
Ratnakar Mikkili
 
Lesson 10
Lesson 10Lesson 10
Theory of computing presentation
Theory of computing presentationTheory of computing presentation
Theory of computing presentation
Md. Touhidur Rahman
 
Lec 13. Introduction to Pointers
Lec 13. Introduction to PointersLec 13. Introduction to Pointers
Lec 13. Introduction to PointersRushdi Shams
 
Formal Languages and Automata Theory unit 5
Formal Languages and Automata Theory unit 5Formal Languages and Automata Theory unit 5
Formal Languages and Automata Theory unit 5
Srimatre K
 
Lesson 08
Lesson 08Lesson 08
Class6
 Class6 Class6
Class6issbp
 
NFA Non Deterministic Finite Automata by Mudasir khushik
NFA Non Deterministic Finite Automata by Mudasir khushikNFA Non Deterministic Finite Automata by Mudasir khushik
NFA Non Deterministic Finite Automata by Mudasir khushik
MudsaraliKhushik
 
Clojure - an introduction (and some CFML)
Clojure - an introduction (and some CFML)Clojure - an introduction (and some CFML)
Clojure - an introduction (and some CFML)
Kai Koenig
 
Pumming Lemma
Pumming LemmaPumming Lemma
Pumming Lemma
Hemant Chetwani
 
Automata Theory
Automata TheoryAutomata Theory
Fla 5th cse
Fla 5th cseFla 5th cse
Fla 5th cse
Vella6
 
NFA to DFA
NFA to DFANFA to DFA
NFA to DFA
Animesh Chaturvedi
 

What's hot (19)

Deterministic Finite Automata (DFA)
Deterministic Finite Automata (DFA)Deterministic Finite Automata (DFA)
Deterministic Finite Automata (DFA)
 
Dfa basics
Dfa basicsDfa basics
Dfa basics
 
Formal Languages and Automata Theory unit 4
Formal Languages and Automata Theory unit 4Formal Languages and Automata Theory unit 4
Formal Languages and Automata Theory unit 4
 
Fafl notes [2010] (sjbit)
Fafl notes [2010] (sjbit)Fafl notes [2010] (sjbit)
Fafl notes [2010] (sjbit)
 
Finite Automata
Finite AutomataFinite Automata
Finite Automata
 
C# p5
C# p5C# p5
C# p5
 
Introduction TO Finite Automata
Introduction TO Finite AutomataIntroduction TO Finite Automata
Introduction TO Finite Automata
 
Lesson 10
Lesson 10Lesson 10
Lesson 10
 
Theory of computing presentation
Theory of computing presentationTheory of computing presentation
Theory of computing presentation
 
Lec 13. Introduction to Pointers
Lec 13. Introduction to PointersLec 13. Introduction to Pointers
Lec 13. Introduction to Pointers
 
Formal Languages and Automata Theory unit 5
Formal Languages and Automata Theory unit 5Formal Languages and Automata Theory unit 5
Formal Languages and Automata Theory unit 5
 
Lesson 08
Lesson 08Lesson 08
Lesson 08
 
Class6
 Class6 Class6
Class6
 
NFA Non Deterministic Finite Automata by Mudasir khushik
NFA Non Deterministic Finite Automata by Mudasir khushikNFA Non Deterministic Finite Automata by Mudasir khushik
NFA Non Deterministic Finite Automata by Mudasir khushik
 
Clojure - an introduction (and some CFML)
Clojure - an introduction (and some CFML)Clojure - an introduction (and some CFML)
Clojure - an introduction (and some CFML)
 
Pumming Lemma
Pumming LemmaPumming Lemma
Pumming Lemma
 
Automata Theory
Automata TheoryAutomata Theory
Automata Theory
 
Fla 5th cse
Fla 5th cseFla 5th cse
Fla 5th cse
 
NFA to DFA
NFA to DFANFA to DFA
NFA to DFA
 

Viewers also liked

Lesson plan proforma database management system
Lesson plan proforma database management systemLesson plan proforma database management system
Lesson plan proforma database management systemSANTOSH RATH
 
Expected questions for dbms
Expected questions for dbmsExpected questions for dbms
Expected questions for dbmsSANTOSH RATH
 
( Becs 2208 ) database management system
( Becs 2208 ) database management system( Becs 2208 ) database management system
( Becs 2208 ) database management systemSANTOSH RATH
 
Expected questions tc
Expected questions tcExpected questions tc
Expected questions tcSANTOSH RATH
 
Oops model question
Oops model questionOops model question
Oops model questionSANTOSH RATH
 
Expected questions tc
Expected questions tcExpected questions tc
Expected questions tcSANTOSH RATH
 
Lesson plan proforma progrmming in c
Lesson plan proforma progrmming in cLesson plan proforma progrmming in c
Lesson plan proforma progrmming in c
SANTOSH RATH
 
Module wise format oops questions
Module wise format oops questionsModule wise format oops questions
Module wise format oops questionsSANTOSH RATH
 
System Programming Unit II
System Programming Unit IISystem Programming Unit II
System Programming Unit IIManoj Patil
 
Data structure using c bcse 3102 pcs 1002
Data structure using c bcse 3102 pcs 1002Data structure using c bcse 3102 pcs 1002
Data structure using c bcse 3102 pcs 1002SANTOSH RATH
 
Expected questions for dbms
Expected questions for dbmsExpected questions for dbms
Expected questions for dbmsSANTOSH RATH
 
Loaders ( system programming )
Loaders ( system programming ) Loaders ( system programming )
Loaders ( system programming )
Adarsh Patel
 
System programming note
System programming noteSystem programming note
System programming noteSANTOSH RATH
 

Viewers also liked (20)

Lesson plan proforma database management system
Lesson plan proforma database management systemLesson plan proforma database management system
Lesson plan proforma database management system
 
Rdbms2010
Rdbms2010Rdbms2010
Rdbms2010
 
2006dbms
2006dbms2006dbms
2006dbms
 
Expected questions for dbms
Expected questions for dbmsExpected questions for dbms
Expected questions for dbms
 
( Becs 2208 ) database management system
( Becs 2208 ) database management system( Becs 2208 ) database management system
( Becs 2208 ) database management system
 
Expected questions tc
Expected questions tcExpected questions tc
Expected questions tc
 
2011dbms
2011dbms2011dbms
2011dbms
 
Oops model question
Oops model questionOops model question
Oops model question
 
Progr1
Progr1Progr1
Progr1
 
Ds using c 2009
Ds using c 2009Ds using c 2009
Ds using c 2009
 
Expected questions tc
Expected questions tcExpected questions tc
Expected questions tc
 
Smqa unit iv
Smqa unit iv Smqa unit iv
Smqa unit iv
 
Smqa unit v
Smqa unit v Smqa unit v
Smqa unit v
 
Lesson plan proforma progrmming in c
Lesson plan proforma progrmming in cLesson plan proforma progrmming in c
Lesson plan proforma progrmming in c
 
Module wise format oops questions
Module wise format oops questionsModule wise format oops questions
Module wise format oops questions
 
System Programming Unit II
System Programming Unit IISystem Programming Unit II
System Programming Unit II
 
Data structure using c bcse 3102 pcs 1002
Data structure using c bcse 3102 pcs 1002Data structure using c bcse 3102 pcs 1002
Data structure using c bcse 3102 pcs 1002
 
Expected questions for dbms
Expected questions for dbmsExpected questions for dbms
Expected questions for dbms
 
Loaders ( system programming )
Loaders ( system programming ) Loaders ( system programming )
Loaders ( system programming )
 
System programming note
System programming noteSystem programming note
System programming note
 

Similar to Expected Questions TC

TOC question bank.pdf
TOC question bank.pdfTOC question bank.pdf
TOC question bank.pdf
MrRRajasekarCSE
 
Question bank toafl
Question bank toaflQuestion bank toafl
Question bank toafl
Shivalik college of engineering
 
TOC_Solutions-Adi.pdf
TOC_Solutions-Adi.pdfTOC_Solutions-Adi.pdf
TOC_Solutions-Adi.pdf
Prof. Dr. K. Adisesha
 
TOC Solutions-Adi.pdf
TOC Solutions-Adi.pdfTOC Solutions-Adi.pdf
TOC Solutions-Adi.pdf
AdiseshaK
 
TOC_Solutions-Adi.pdf
TOC_Solutions-Adi.pdfTOC_Solutions-Adi.pdf
TOC_Solutions-Adi.pdf
AdiseshaK
 
Cs2303 theory of computation all anna University question papers
Cs2303 theory of computation all anna University question papersCs2303 theory of computation all anna University question papers
Cs2303 theory of computation all anna University question papers
appasami
 
V cse cs6503 model qb1 1
V  cse cs6503  model qb1 1V  cse cs6503  model qb1 1
V cse cs6503 model qb1 1
Ezhumalai p
 
Cs6503 theory of computation may june 2016 be cse anna university question paper
Cs6503 theory of computation may june 2016 be cse anna university question paperCs6503 theory of computation may june 2016 be cse anna university question paper
Cs6503 theory of computation may june 2016 be cse anna university question paper
appasami
 
Cs6503 theory of computation november december 2016
Cs6503 theory of computation november december 2016Cs6503 theory of computation november december 2016
Cs6503 theory of computation november december 2016
appasami
 
Cs2303 theory of computation november december 2015
Cs2303 theory of computation november december 2015Cs2303 theory of computation november december 2015
Cs2303 theory of computation november december 2015
appasami
 
Model toc
Model tocModel toc
Model toc
GUNASUNDARI C
 
Cs2303 theory of computation may june 2016
Cs2303 theory of computation may june 2016Cs2303 theory of computation may june 2016
Cs2303 theory of computation may june 2016
appasami
 
UNIT 2.pdf
UNIT 2.pdfUNIT 2.pdf
UNIT 2.pdf
viswanath kani
 
Theory of computing
Theory of computingTheory of computing
Theory of computingRanjan Kumar
 
toc_model_qp2-.pdf
toc_model_qp2-.pdftoc_model_qp2-.pdf
toc_model_qp2-.pdf
viswanath kani
 
QB104545.pdf
QB104545.pdfQB104545.pdf
QB104545.pdf
MrRRajasekarCSE
 
Automata_Theory_and_compiler_design_UNIT-1.pptx.pdf
Automata_Theory_and_compiler_design_UNIT-1.pptx.pdfAutomata_Theory_and_compiler_design_UNIT-1.pptx.pdf
Automata_Theory_and_compiler_design_UNIT-1.pptx.pdf
TONY562
 
finite_automata.ppt
finite_automata.pptfinite_automata.ppt
finite_automata.ppt
AkhlasHashim
 
Information Theory and Coding Question Bank
Information Theory and Coding Question BankInformation Theory and Coding Question Bank
Information Theory and Coding Question Bank
miraclebabu
 
QB104541.pdf
QB104541.pdfQB104541.pdf
QB104541.pdf
MrRRajasekarCSE
 

Similar to Expected Questions TC (20)

TOC question bank.pdf
TOC question bank.pdfTOC question bank.pdf
TOC question bank.pdf
 
Question bank toafl
Question bank toaflQuestion bank toafl
Question bank toafl
 
TOC_Solutions-Adi.pdf
TOC_Solutions-Adi.pdfTOC_Solutions-Adi.pdf
TOC_Solutions-Adi.pdf
 
TOC Solutions-Adi.pdf
TOC Solutions-Adi.pdfTOC Solutions-Adi.pdf
TOC Solutions-Adi.pdf
 
TOC_Solutions-Adi.pdf
TOC_Solutions-Adi.pdfTOC_Solutions-Adi.pdf
TOC_Solutions-Adi.pdf
 
Cs2303 theory of computation all anna University question papers
Cs2303 theory of computation all anna University question papersCs2303 theory of computation all anna University question papers
Cs2303 theory of computation all anna University question papers
 
V cse cs6503 model qb1 1
V  cse cs6503  model qb1 1V  cse cs6503  model qb1 1
V cse cs6503 model qb1 1
 
Cs6503 theory of computation may june 2016 be cse anna university question paper
Cs6503 theory of computation may june 2016 be cse anna university question paperCs6503 theory of computation may june 2016 be cse anna university question paper
Cs6503 theory of computation may june 2016 be cse anna university question paper
 
Cs6503 theory of computation november december 2016
Cs6503 theory of computation november december 2016Cs6503 theory of computation november december 2016
Cs6503 theory of computation november december 2016
 
Cs2303 theory of computation november december 2015
Cs2303 theory of computation november december 2015Cs2303 theory of computation november december 2015
Cs2303 theory of computation november december 2015
 
Model toc
Model tocModel toc
Model toc
 
Cs2303 theory of computation may june 2016
Cs2303 theory of computation may june 2016Cs2303 theory of computation may june 2016
Cs2303 theory of computation may june 2016
 
UNIT 2.pdf
UNIT 2.pdfUNIT 2.pdf
UNIT 2.pdf
 
Theory of computing
Theory of computingTheory of computing
Theory of computing
 
toc_model_qp2-.pdf
toc_model_qp2-.pdftoc_model_qp2-.pdf
toc_model_qp2-.pdf
 
QB104545.pdf
QB104545.pdfQB104545.pdf
QB104545.pdf
 
Automata_Theory_and_compiler_design_UNIT-1.pptx.pdf
Automata_Theory_and_compiler_design_UNIT-1.pptx.pdfAutomata_Theory_and_compiler_design_UNIT-1.pptx.pdf
Automata_Theory_and_compiler_design_UNIT-1.pptx.pdf
 
finite_automata.ppt
finite_automata.pptfinite_automata.ppt
finite_automata.ppt
 
Information Theory and Coding Question Bank
Information Theory and Coding Question BankInformation Theory and Coding Question Bank
Information Theory and Coding Question Bank
 
QB104541.pdf
QB104541.pdfQB104541.pdf
QB104541.pdf
 

More from SANTOSH RATH

Operating system notes
Operating system notesOperating system notes
Operating system notesSANTOSH RATH
 
Btech 2nd ds_2008.ppt
Btech 2nd ds_2008.pptBtech 2nd ds_2008.ppt
Btech 2nd ds_2008.pptSANTOSH RATH
 
Btech 2nd ds_2007.ppt
Btech 2nd ds_2007.pptBtech 2nd ds_2007.ppt
Btech 2nd ds_2007.pptSANTOSH RATH
 
Btech 2nd ds_2005.ppt
Btech 2nd ds_2005.pptBtech 2nd ds_2005.ppt
Btech 2nd ds_2005.pptSANTOSH RATH
 
Ds lab manual by s.k.rath
Ds lab manual by s.k.rathDs lab manual by s.k.rath
Ds lab manual by s.k.rathSANTOSH RATH
 

More from SANTOSH RATH (14)

Operating system notes
Operating system notesOperating system notes
Operating system notes
 
Os notes
Os notesOs notes
Os notes
 
OS ASSIGNMENT 2
OS ASSIGNMENT 2OS ASSIGNMENT 2
OS ASSIGNMENT 2
 
OS ASSIGNMENT-1
OS ASSIGNMENT-1OS ASSIGNMENT-1
OS ASSIGNMENT-1
 
OS ASSIGNMENT 3
OS ASSIGNMENT 3OS ASSIGNMENT 3
OS ASSIGNMENT 3
 
Btech 2nd ds_2008.ppt
Btech 2nd ds_2008.pptBtech 2nd ds_2008.ppt
Btech 2nd ds_2008.ppt
 
Btech 2nd ds_2007.ppt
Btech 2nd ds_2007.pptBtech 2nd ds_2007.ppt
Btech 2nd ds_2007.ppt
 
Btech 2nd ds_2005.ppt
Btech 2nd ds_2005.pptBtech 2nd ds_2005.ppt
Btech 2nd ds_2005.ppt
 
Ds using c 2011
Ds using c 2011Ds using c 2011
Ds using c 2011
 
Co question 2009
Co question 2009Co question 2009
Co question 2009
 
Co question 2008
Co question 2008Co question 2008
Co question 2008
 
Co question 2006
Co question 2006Co question 2006
Co question 2006
 
Co question 2010
Co question 2010Co question 2010
Co question 2010
 
Ds lab manual by s.k.rath
Ds lab manual by s.k.rathDs lab manual by s.k.rath
Ds lab manual by s.k.rath
 

Recently uploaded

Water Industry Process Automation and Control Monthly - May 2024.pdf
Water Industry Process Automation and Control Monthly - May 2024.pdfWater Industry Process Automation and Control Monthly - May 2024.pdf
Water Industry Process Automation and Control Monthly - May 2024.pdf
Water Industry Process Automation & Control
 
Investor-Presentation-Q1FY2024 investor presentation document.pptx
Investor-Presentation-Q1FY2024 investor presentation document.pptxInvestor-Presentation-Q1FY2024 investor presentation document.pptx
Investor-Presentation-Q1FY2024 investor presentation document.pptx
AmarGB2
 
The Benefits and Techniques of Trenchless Pipe Repair.pdf
The Benefits and Techniques of Trenchless Pipe Repair.pdfThe Benefits and Techniques of Trenchless Pipe Repair.pdf
The Benefits and Techniques of Trenchless Pipe Repair.pdf
Pipe Restoration Solutions
 
HYDROPOWER - Hydroelectric power generation
HYDROPOWER - Hydroelectric power generationHYDROPOWER - Hydroelectric power generation
HYDROPOWER - Hydroelectric power generation
Robbie Edward Sayers
 
Industrial Training at Shahjalal Fertilizer Company Limited (SFCL)
Industrial Training at Shahjalal Fertilizer Company Limited (SFCL)Industrial Training at Shahjalal Fertilizer Company Limited (SFCL)
Industrial Training at Shahjalal Fertilizer Company Limited (SFCL)
MdTanvirMahtab2
 
Governing Equations for Fundamental Aerodynamics_Anderson2010.pdf
Governing Equations for Fundamental Aerodynamics_Anderson2010.pdfGoverning Equations for Fundamental Aerodynamics_Anderson2010.pdf
Governing Equations for Fundamental Aerodynamics_Anderson2010.pdf
WENKENLI1
 
WATER CRISIS and its solutions-pptx 1234
WATER CRISIS and its solutions-pptx 1234WATER CRISIS and its solutions-pptx 1234
WATER CRISIS and its solutions-pptx 1234
AafreenAbuthahir2
 
CFD Simulation of By-pass Flow in a HRSG module by R&R Consult.pptx
CFD Simulation of By-pass Flow in a HRSG module by R&R Consult.pptxCFD Simulation of By-pass Flow in a HRSG module by R&R Consult.pptx
CFD Simulation of By-pass Flow in a HRSG module by R&R Consult.pptx
R&R Consult
 
block diagram and signal flow graph representation
block diagram and signal flow graph representationblock diagram and signal flow graph representation
block diagram and signal flow graph representation
Divya Somashekar
 
road safety engineering r s e unit 3.pdf
road safety engineering  r s e unit 3.pdfroad safety engineering  r s e unit 3.pdf
road safety engineering r s e unit 3.pdf
VENKATESHvenky89705
 
Standard Reomte Control Interface - Neometrix
Standard Reomte Control Interface - NeometrixStandard Reomte Control Interface - Neometrix
Standard Reomte Control Interface - Neometrix
Neometrix_Engineering_Pvt_Ltd
 
一比一原版(SFU毕业证)西蒙菲莎大学毕业证成绩单如何办理
一比一原版(SFU毕业证)西蒙菲莎大学毕业证成绩单如何办理一比一原版(SFU毕业证)西蒙菲莎大学毕业证成绩单如何办理
一比一原版(SFU毕业证)西蒙菲莎大学毕业证成绩单如何办理
bakpo1
 
Immunizing Image Classifiers Against Localized Adversary Attacks
Immunizing Image Classifiers Against Localized Adversary AttacksImmunizing Image Classifiers Against Localized Adversary Attacks
Immunizing Image Classifiers Against Localized Adversary Attacks
gerogepatton
 
Cosmetic shop management system project report.pdf
Cosmetic shop management system project report.pdfCosmetic shop management system project report.pdf
Cosmetic shop management system project report.pdf
Kamal Acharya
 
ML for identifying fraud using open blockchain data.pptx
ML for identifying fraud using open blockchain data.pptxML for identifying fraud using open blockchain data.pptx
ML for identifying fraud using open blockchain data.pptx
Vijay Dialani, PhD
 
Hybrid optimization of pumped hydro system and solar- Engr. Abdul-Azeez.pdf
Hybrid optimization of pumped hydro system and solar- Engr. Abdul-Azeez.pdfHybrid optimization of pumped hydro system and solar- Engr. Abdul-Azeez.pdf
Hybrid optimization of pumped hydro system and solar- Engr. Abdul-Azeez.pdf
fxintegritypublishin
 
Student information management system project report ii.pdf
Student information management system project report ii.pdfStudent information management system project report ii.pdf
Student information management system project report ii.pdf
Kamal Acharya
 
English lab ppt no titlespecENG PPTt.pdf
English lab ppt no titlespecENG PPTt.pdfEnglish lab ppt no titlespecENG PPTt.pdf
English lab ppt no titlespecENG PPTt.pdf
BrazilAccount1
 
weather web application report.pdf
weather web application report.pdfweather web application report.pdf
weather web application report.pdf
Pratik Pawar
 
The role of big data in decision making.
The role of big data in decision making.The role of big data in decision making.
The role of big data in decision making.
ankuprajapati0525
 

Recently uploaded (20)

Water Industry Process Automation and Control Monthly - May 2024.pdf
Water Industry Process Automation and Control Monthly - May 2024.pdfWater Industry Process Automation and Control Monthly - May 2024.pdf
Water Industry Process Automation and Control Monthly - May 2024.pdf
 
Investor-Presentation-Q1FY2024 investor presentation document.pptx
Investor-Presentation-Q1FY2024 investor presentation document.pptxInvestor-Presentation-Q1FY2024 investor presentation document.pptx
Investor-Presentation-Q1FY2024 investor presentation document.pptx
 
The Benefits and Techniques of Trenchless Pipe Repair.pdf
The Benefits and Techniques of Trenchless Pipe Repair.pdfThe Benefits and Techniques of Trenchless Pipe Repair.pdf
The Benefits and Techniques of Trenchless Pipe Repair.pdf
 
HYDROPOWER - Hydroelectric power generation
HYDROPOWER - Hydroelectric power generationHYDROPOWER - Hydroelectric power generation
HYDROPOWER - Hydroelectric power generation
 
Industrial Training at Shahjalal Fertilizer Company Limited (SFCL)
Industrial Training at Shahjalal Fertilizer Company Limited (SFCL)Industrial Training at Shahjalal Fertilizer Company Limited (SFCL)
Industrial Training at Shahjalal Fertilizer Company Limited (SFCL)
 
Governing Equations for Fundamental Aerodynamics_Anderson2010.pdf
Governing Equations for Fundamental Aerodynamics_Anderson2010.pdfGoverning Equations for Fundamental Aerodynamics_Anderson2010.pdf
Governing Equations for Fundamental Aerodynamics_Anderson2010.pdf
 
WATER CRISIS and its solutions-pptx 1234
WATER CRISIS and its solutions-pptx 1234WATER CRISIS and its solutions-pptx 1234
WATER CRISIS and its solutions-pptx 1234
 
CFD Simulation of By-pass Flow in a HRSG module by R&R Consult.pptx
CFD Simulation of By-pass Flow in a HRSG module by R&R Consult.pptxCFD Simulation of By-pass Flow in a HRSG module by R&R Consult.pptx
CFD Simulation of By-pass Flow in a HRSG module by R&R Consult.pptx
 
block diagram and signal flow graph representation
block diagram and signal flow graph representationblock diagram and signal flow graph representation
block diagram and signal flow graph representation
 
road safety engineering r s e unit 3.pdf
road safety engineering  r s e unit 3.pdfroad safety engineering  r s e unit 3.pdf
road safety engineering r s e unit 3.pdf
 
Standard Reomte Control Interface - Neometrix
Standard Reomte Control Interface - NeometrixStandard Reomte Control Interface - Neometrix
Standard Reomte Control Interface - Neometrix
 
一比一原版(SFU毕业证)西蒙菲莎大学毕业证成绩单如何办理
一比一原版(SFU毕业证)西蒙菲莎大学毕业证成绩单如何办理一比一原版(SFU毕业证)西蒙菲莎大学毕业证成绩单如何办理
一比一原版(SFU毕业证)西蒙菲莎大学毕业证成绩单如何办理
 
Immunizing Image Classifiers Against Localized Adversary Attacks
Immunizing Image Classifiers Against Localized Adversary AttacksImmunizing Image Classifiers Against Localized Adversary Attacks
Immunizing Image Classifiers Against Localized Adversary Attacks
 
Cosmetic shop management system project report.pdf
Cosmetic shop management system project report.pdfCosmetic shop management system project report.pdf
Cosmetic shop management system project report.pdf
 
ML for identifying fraud using open blockchain data.pptx
ML for identifying fraud using open blockchain data.pptxML for identifying fraud using open blockchain data.pptx
ML for identifying fraud using open blockchain data.pptx
 
Hybrid optimization of pumped hydro system and solar- Engr. Abdul-Azeez.pdf
Hybrid optimization of pumped hydro system and solar- Engr. Abdul-Azeez.pdfHybrid optimization of pumped hydro system and solar- Engr. Abdul-Azeez.pdf
Hybrid optimization of pumped hydro system and solar- Engr. Abdul-Azeez.pdf
 
Student information management system project report ii.pdf
Student information management system project report ii.pdfStudent information management system project report ii.pdf
Student information management system project report ii.pdf
 
English lab ppt no titlespecENG PPTt.pdf
English lab ppt no titlespecENG PPTt.pdfEnglish lab ppt no titlespecENG PPTt.pdf
English lab ppt no titlespecENG PPTt.pdf
 
weather web application report.pdf
weather web application report.pdfweather web application report.pdf
weather web application report.pdf
 
The role of big data in decision making.
The role of big data in decision making.The role of big data in decision making.
The role of big data in decision making.
 

Expected Questions TC

  • 1. EXPECTED QUESTIONS BRANCH: CSE SEMESTER: 5TH SUB: THEORY OF COMPUTATION PREPARED BY:ASST.PROF.SANTOSH KUMAR RATH Short questions: 1. What is the difference between DFA and NFA? 2. Design a NFA which accepts set of all binary strings 1100 or 1010 as substring. 3. Write the regular expression over alphabet Ʃ={a,b,c}, containing atleast one a and atleast one b. 4. State the difference between Moore machine and Mealy machine? What is the length of the output string for Moore machine for input string of length k? 5. Design a DFA for the language containing all strings on which leftmost symbol differs from rightmost symbol over Ʃ={a,b}? 6. Define the meaning of terminals and non-terminals. 7. What do you understand by decidable? 8. Design PDA for the grammar given below: S->aS|a|c 9. State Chomsky normal form with an example. 10. Describe Chomsky’s classification of language of automata theory. 11. What is the difference between language and grammar? 12. Write at least two difference between natural language and formal language. 13. Distinguish between context free context sensitive language. 14. State the difference between NP-complete and NP- hard problems. 15. Explain what it means for a language to be class P ? Give two examples of class P problem. 16. What do you mean by recursive and recursively enumerable language? 17. What is the difference between finite automata and turing machine. 18. What is theory of computation? 19. Define linear bounded automata with an example. 20. Explain decidability concept of CFG. 21. What do you understand by a language accepted by PDA by empty stack. 22. Design a DFA for even number of 1’s over Ʃ={0,1}. 23. What is a useless symbol and how can they be removed from a grammar?
  • 2. EXPECTED QUESTIONS BRANCH: CSE SEMESTER: 5TH SUB: THEORY OF COMPUTATION PREPARED BY:ASST.PROF.SANTOSH KUMAR RATH 24. What is maximum number of states in a DFA that is converted from an NFA of n number of states. 25. What is ambiguity in CFG? Explain with an example. 26. What is Church Turing hypothesis? 27. What Clique problem? Explain with an example. 28. Define PCP(post correspondence problem). 29. What is muti-tape and multi-head turing machine. 30. Define the ID(instantaneous description) of PDA. 31. Differentiate between positive closure and kleen closure . 32. What is transition system? Explain with example. 33. Design an NFA which accept set of all binary strings containing the 3rd symbol from the left end is 1 and 2nd symbol from left end is 0 . 34. What is –closure of a set? Explain with an example. 35. What is godel number? 36. Consider the following grammar S->a|abSb|aAb A->bS|aAAb| ϵ And derive the string abababb by using rm (rightmost) derivation. Long questions: 1. Construct a DFA equivalent to M=({q0,q1}, {0,1}, δ, q0, { q0 }) Where δ is defined by its state table as follows. __________________________________________________ State/Alphabet 0 1 __________________________________________________  q0 q0 q1 q1 q1 q0, q1 ___________________________________________________ 2. Define pumping lemma. Show that L={an | n is prime } is not regular. 3. State and prove Arden’s theorem ?
  • 3. EXPECTED QUESTIONS BRANCH: CSE SEMESTER: 5TH SUB: THEORY OF COMPUTATION PREPARED BY:ASST.PROF.SANTOSH KUMAR RATH Find out the regular expression for the following transition diagram. 0 1 1 0,1 1 1 0 4. Define Griebach normal form. Convert the following grammar to Griebach normal form S ->AA|a, A->SS|b 5. Let P be the set of all palindromes over {a,b}. Construct the grammar that generates P. 6. Design a turing machine to find 1’s complement of a binary number. 7. Costruct NFA for the following regular expression i) a(ab)*aa ii) (ab+bb)* 8. Show that P is closed under a) union, b) concatenation and c)complementation 9. What is the difference between moore machine and mealy machine ? 10. Design a DFA for the language which will accept all binary strings divisible by 3 . 11. Show that the language L={an cbn |n≥ 1} is accepted by a PDA. 12. Prove that for every NFA ,if L is the step accepted by NFA, then there exists a DFA which also accepts L. 13. State and prove undecidability of post correspondence problem. 14. State and prove Arden’s theorem. 15. Write short notes on: a) Universal turing machine b) Church turing hypothesis c) Normal form d) Counter machine 16. Prove or disprove the following regular expression r,s a) (R+S)*=R*+S* b) (rs+r)*=r*+(sr+r)* 17. Give a context free grammar that generates the language L={w|{a,b}*:w contains atleast three a’s} 18. Find the language generated by the following q3 q2q1
  • 4. EXPECTED QUESTIONS BRANCH: CSE SEMESTER: 5TH SUB: THEORY OF COMPUTATION PREPARED BY:ASST.PROF.SANTOSH KUMAR RATH a) S->0S1|0A, A->1A|1 b) S->0S1|0A|0|1B|1A 19. What is Ackermann’s function. Compute the value of A(1,1), A(2,1) using Ackermann’s function.