Question: Consider the grammar G given by S ? ? | AB | XB T ? AB | XB X ? AT A ? a B

Consider the grammar G given by

S ? ? | AB | XB

T ? AB | XB

X ? AT

A ? a

B ? b

Is w = aaabbb in L(G)? Using CKY Algorithm to decide if w is in L(G). A CKY Triangular Table is shown in Table 1.

a

a

a

b

b

b

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!