📊 Theory of Computation
Q. For s Є (0+1)* let d(s) denote the decimal value of s(e.g.d(101)) = 5 Let L = {s Є (0+1)* d(s) mod 5=2 and d(s) mod 7 != 4} Which one of the following statements is true?
  • (A) L is recursively enumerable, but not recursive
  • (B) L is recursive, but not context-free
  • (C) L is context-free, but not regular
  • (D) L is regular
💬 Discuss
✅ Correct Answer: (D) L is regular

You must be Logged in to update hint/solution

💬 Discussion

📊 Question Analytics

👁️
92
Total Visits
📽️
3 y ago
Published
🎖️
Mr. Dubey
Publisher
📈
96%
Success Rate