Q9MCQ1 mark, −0.25Which of the following is true for the language {ap∣p is a prime }?\left\{ a^p \mid p \text{ is a prime } \right \}?{ap∣p is a prime }?(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 machineSign in to save attempts.Show answer← PreviousNext →SolutionsDiscussionLoading…Sign in with Google