MCQs on Context free Grammar and Context Sensitive Languages

By: Prof. Dr. Fazal Rehman | Last updated: April 15, 2025

19
Score: 0
Attempted: 0/19
Subscribe
1. The entity which generates Language is termed as:



2. The minimum number of productions required to produce a language consisting of palindrome strings over ∑={a,b} is:



3. Which of the following statement is correct?



4. Context sensitive grammar (CSL) is also called?



5. Which of the following is Type 3 language or Type 3 grammar?



6. Which of the following is Type 2 language or Type 2 grammar?



7. Which of the following is Type 1 language or Type 1 grammar?



8. Which of the following is Type 0 language?



9. Which of the following Machine is specific for Regular grammar?



10. Which of the following Machine is specific for Context free grammar?



11. Which of the following Machine is specific for Context sensitive grammar?



12. Which of the following Machine is specific for Recursively enumerable languages?



13. A context free language is called ambiguous if there exists a string that can have:



14. The context free grammar X → XX | aXb | bXa | ɛ generates:



15. Production Rule: aYb->agb belongs to which of the following languages?



16. Which of the following language cannot be accepted by a regular expression?



17. The minimum number of productions required to produce a language consisting of palindromes as a strings defined over ∑={0,1} is:



18. Which of the following statement is true about regular grammar?



19. Are ambiguous grammar context free?


 

Ambiguous Grammar
Ambiguous Grammar

 

 

Leave a Comment

All Copyrights Reserved 2025 Reserved by T4Tutorials