Answered step by step
Verified Expert Solution
Question
1 Approved Answer
Question 1 a ) Draw a tape diagram for the state table below. ( 1 0 marks ) b ) Differentiate turing complete machine and
Question
a Draw a tape diagram for the state table below. marks
b Differentiate turing complete machine and turing incomplete machine. marks
c What is a regular language?
d Discuss the halting problem
e What is Computational complexity theory in theoretical computer science?
marks
SECTION B MARKS
Nuestion
a At any one time, the Turing machine has a head which is positioned over one of the squares
on the tape. Give three basic operations the machine can perform with this head and
demonstrate the operations with the symbols on a initially blank tape. marks
b Given the symbols printed on a tape
Explain and demonstrate what you understand by bit inversion.
Question
a State the ChurchTuring thesis
b According to the ChurchTuring thesis, discuss the response of the Turing machine when
applied to a problem of its class?
Question
a What do you understand by the term Decidability?
b Compare SemiDecidable and Undecidable problem.
c What is an ambiguous CFG
Question
a Complexity clases include:
marks
b Discuss any three of the above
SECTION A MARKS attempt all questions
Short aaswer questions. Answer each question in a few sentences.
points: each
a The diagram below show a hierarchy of the languager we learned, with respect to computability
Write the proper language next to the labels ad in the dimgram below such that the lierarchy is
correct. The languages are: Turingrecogrizable, regular, decidable, context free.
b A finite automaton will run until its input is completely processed and then it will stop. This is not
true for a Turing machine. Explain why.
c A language is Turingrecognizable if some Turing machine recognizes it this is a definition But
what does it mean when we say that a TM recognizes a language? The answer can be quite simple
one sentence but please be precise.
d A language is Turingdecidable if some Turing machine decides it What does it mean for a Turing
machine to decide a language? Again, please be precise, but you can be relatively informal.
e We are given a problem and find out that it is undecidable. Could there be an algorithm to solve
it in polynomial time? Answer "yes" or no and then explainjustify your answer.
Itell you that an algorithm runs in but yet is in How can this be
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started