

McqMate
Q. |
Which of the following is true for the language {a^p} p is prine ? |
A. | It is not accepted by a turing 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» D. It is neither regular nor context free but accepted by a turing machine |
View all MCQs in
Theory of Computation and Compiler DesignNo comments yet