Professional Documents
Culture Documents
[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
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.