Beruflich Dokumente
Kultur Dokumente
8. A->aA| a| b
The number of steps to form aab:
a) 2
b) 3
c) 4
d) 5
9. The language accepted by Push down Automaton:
a) Recursive Language
b) Context free language
c) Linearly Bounded language
d) All of the mentioned
UNIT-4
8.
If the partial derivation tree contains the root as the starting variable, the
form is known as:
a) Chomsky hierarchy
b) Sentential form
c) Root form
d) None of the mentioned
10.Let G=(V, T, P, S)
where a production can be written as:
S->aAS|a
A->SbA|ba|SS
Which of the following string is produced by the grammar?
a) aabbaab
b) aabbaa
c) baabab
d) None of the mentioned
UNIT-5
1. A Turing machine that has the length of its tape limited to the length of the input string
is called ___________
2. A linear bounded automaton is a _____________tuple nondeterministic.
3. A language is accepted by an LBA iff it is generated by a ________
4. T B, if A is decidableA language A is Turing _____________to a language B, written A
relative to B
5. Church-Turing Thesis says____________________________________
6. Halting problem is also called as__________________
7. A DTM is a seven-tuple: M = (Q, Σ, Γ, δ, q0, B, F) in this what is B____________
8. A linear bounded automaton is a 7-tuples is _______________
9. decision problem D is solvable in polynomial time is called as _____________ class
10. NP-Complete problems are called as ______________