Write down a Context Free Grammar with 6 productions (at least 2 of them must be NULL
Fantastic news! We've Found the answer you've been seeking!
Question:
Write down a Context Free Grammar with 6 productions (at least 2 of them must be NULL productions) including 3 variables and 2 terminals. Remove the NULL productions from the grammar and then convert the transformed context free grammar into its equivalent CNF. Now, consider your constructed grammar in its CNF. Take a string with length 5. Finally, apply the CYK algorithm to test the membership of that string for the grammar.
Related Book For
Business and Administrative Communication
ISBN: 978-0073403182
10th edition
Authors: Kitty o. locker, Donna s. kienzler
Posted Date: