Which of the following statements is correct about context sensitive grammar?
I) In a context sensitive grammar, ε can’t be the right hand side of any production
II) In a context sensitive grammar, number of grammar symbols on the left hand side of a
production can’t be greater than the number of grammar symbols on the right hand side
III) In a context sensitive grammar, number of grammar symbols on the left hand side of a
production can’t be greater than the number of terminals on the right hand side
IV) In a context sensitive grammar, number of grammar symbols on the left hand side of a
production can’t be greater than the number of non-terminals on the right hand side
Please comment below if you find anything wrong in the above post
Feeling lost in the world of random DSA topics, wasting time without progress? It's time for a change! Join our DSA course, where we'll guide you on an exciting journey to master DSA efficiently and on schedule.
Ready to dive in? Explore our Free Demo Content and join our DSA course, trusted by over 100,000 geeks!