Computer Science Fundamentals Algorithms Objective
Mar 06, 2013

Consider a grammar with the following productions
        S-->   aab | bac | aB
        S -->  α S | b
        S -->  α b b | ab
        Sα --> bdb | b
The above grammar is

Choose the correct answer:
A) Context free
B) regular
C) context sensitive
D) LR ( k )
Detailed Explanation

Option c is right answer.

Discussion (0)

No comments yet. Be the first to share your thoughts!

Share Your Thoughts
Feedback