You are on page 1of 3

1

Branch : CSE & IT Batch : Hinglish


Theory of Computation
Undecidability & Decidability I DPP 01

[MCQ] (d) All are correct.


1. Consider the following statements?
S1: For any problem if TM exist then problem may be [MCQ]
decidable. 5. Which of the following is decidable to turing machine?
S2: For any problem if TM not exit then problem may be (a) Halting problem.
decidable. (b) Blank tape halting problem.
Which of the following is correct? (c) RE membership problem.
(a) S1 only (d) None of these.
(b) S2 Only
(c) Both S1 and S2 [MCQ]
(d) None of these 6. Consider the following statement:
S1: In turing machine every final state is dead.
[MSQ] S2: In turing machine every non – final state may be dead.
2. Which of the following is / are true about CYK
Which of the following is correct?
algorithm?
(a) CYK is a bottom up parsing algorithm. (a) S1 only
(b) CYK algorithm will take O(n3) time to verify n – (b) S2 Only
length string. (c) Both S1 and S2
(c) CYK is a dynamic programing algorithm. (d) None of these
(d) CYK algorithm is used to whether given string is
a member of the language or not? [MCQ]
7. Which of the following is not correct?
[MCQ] (a) Every semidecidable language is RE.
3. In which of the following machine, halting problem is
(b) If language is NOT even semidecidable, then it
not decidable?
must be NOT RE.
(a) Finite automata.
(c) If language is undecidable then it may be RE.
(b) Linear bound automata. (d) If a language is semidecidable but not decidable
(c) Deterministic push down automata. then it may be Recursive.
(d) None of these.

[MCQ] [MSQ]
4. Consider the following Statements: 8. Which of the following is / are correct?
(i) Non – disjointness problem is decidable for (a) A language ‘L’ is semidecidable iff there exist a
regular expression. turing machine which accept ‘L’.
(ii) Totality problem for DPDA is decidable. (b) A language ‘L’ is decidable iff there exist a turing
(iii) Every decidable problem is also semidecidable. machine which accept L and which halts w*.
Which of the following is correct? (c) A language is decidable iff there exist an
(a) (ii) and (iii) only. algorithm.
(b) (i) and (ii) only. (d) None of these.
(c) (iii) only.
2

Answer Key
1. (c) 5. (d)
2. (a, b, c, d) 6. (c)
3. (d) 7. (d)
4. (d) 8. (a, b, c)
3

Hint & Solutions


1. (c)
 For any problem TM (RE) exist then problem may 5. (d)
be decidable because, for the problem may be HTM Halting problem, Blank tape halting problem, state
exist. entry problem, post correspondence problem (PCP),
 May be HTM exist: so it may be decidable modified PCP and RE membership all are undecidable
Hence, both statements are correct. to turing machine.

2. (a, b, c, d) 6. (c)
 CYK algorithm will tell whether given string is In turing machine there is no temporary final state like
member or not. NFA / DFA. TM sees the entire string and check
 CYK is bottom up parsing algorithm. whether it is accepts or reject.
 To verify n – length string CYK algorithm will take In TM every final state is dead i.e true.
O(n3) time. It’s also called as dynamic Every non – final state may be dead or may not be dead
programming. i.e true.

3. (d) 7. (d)
Halting problem is decidable for FA, DPDA, PDA and (a) RE → Semidecidable.
LBA (HTM). (b) Not RE → Not even semidecidable.
(c) Decidable → Rec
4. (d)
Recursive → RE
 Disjoint ness problem is decidable for DFA / NFA
/ Regular. (Disjointness)C = Non – disjointness (d) Semidecidable but not decidable → RE but not
 Totality problem for DPDA is decidable. recursive
 Decidable → Recursive Hence, option (d) is false.

Semi decidable → Recursive, RE also.


8. (a, b, c)
All decidable are semidecidable.
All statement are correct.

Any issue with DPP, please report by clicking here:- https://forms.gle/t2SzQVvQcs638c4r5


For more questions, kindly visit the library section: Link for web: https://smart.link/sdfez8ejd80if

PW Mobile APP: https://smart.link/7wwosivoicgd4

You might also like