1.

Which of the following is true for the language {ap | p is a prime}?

A. It is not accepted by a turning machine
B. It is regular but not context-free
C. It is context-free but not regular
D. It is neither regular nor context-free, but accepted by a turing machine
Answer» E.


Discussion

No Comment Found

Related MCQs