16
ICAR JRF Computer Application 29 Jun 2024Shift 1
MCQ (Single Correct)
+4
−1
Which of the following problems is undecidable?
EXPLANATION
Formal Languages & Automata
- Decidability in Formal Languages and Automata:
- Decidable Problems:
- Equivalence of two finite automata: Decidable by testing language emptiness of $(L_1 \cap \overline{L_2}) \cup (\overline{L_1} \cap L_2)$.
- Membership for CFG: Decidable via CYK or Earley parsing algorithm ($O(n^3)$).
- Finiteness for FA: Decidable by checking cycles on paths to accepting states.
- Undecidable Problem:
- Ambiguity of Context-Free Grammars: Whether an arbitrary CFG is ambiguous (can generate two distinct parse trees for the same string) is proven to be Undecidable by reduction from Post's Correspondence Problem (PCP).
- Conclusion: Ambiguity problem for context free grammar (Option 4).
Correct option: (4) Ambiguity problem for context free grammar
Explanation not matching this question?
क्या व्याख्या इस प्रश्न से मेल नहीं खा रही?
Report