Consider the language L defined by these rewrite rules S->A | AX X->ABY | AB Y->ABCY | ABC BA -> AB CA -> AC CB -> BC A->a B->b C->c Question 1: (16) (a) Derive the string “a”. (b) Derive the string...


Consider the language L defined by these rewrite rules


S->A | AX


X->ABY | AB


Y->ABCY | ABC


BA -> AB


CA -> AC


CB -> BC


A->a


B->b


C->c



Question 1: (16)


(a) Derive the string “a”.



(b) Derive the string “aab“




(c ) Derive the string “aaabbc”



(d) Derive the string “aaaabbbcc”



(e) Describe the strings that are in L.



Jun 10, 2022
SOLUTION.PDF

Get Answer To This Question

Related Questions & Answers

More Questions »

Submit New Assignment

Copy and Paste Your Assignment Here