FOR FREE CONTENT

IMPORTANT FEW GRAMMARS TO REMEMBER

 

There are some important grammars that are basic grammars to remember because these grammars are need to design all other grammars.

 

Same number a’s and b’s where a followed by b and this language contains λ also that’s the reason n ≥ 0.

 

Same number a’s and b’s where a followed by b but this language does not contain λ also that’s the reason n ≥ 1. This language contains at least one length of string ‘ab’. 

 

(set of all string generated by ‘a’ including λ)

 

 (set of all string generated by ‘a’ excluding λ)

 

(set of all strings generated by a,b including λ)

 

(set of all strings generated by a,b excluding empty string λ)