Solved

 Find a grammar for the set {02n1n∣n≥0}\text { Find a grammar for the set } \left\{ 0 ^ { 2 n } 1 ^ { n } \mid n \geq 0 \right\}

Question 16

Short Answer

 Find a grammar for the set {02n1n∣n≥0}\text { Find a grammar for the set } \left\{ 0 ^ { 2 n } 1 ^ { n } \mid n \geq 0 \right\} In questions 24−2924 - 29 let V={S,A,B,0,1}V = \{ S , A , B , 0,1 \} and T={0,1}T = \{ 0,1 \} . For each set of productions determine whether the resulting grammar GG is
(i) type 0 grammar, but not type 1 ,
(ii) type 1 grammar, but not type 2 ,
(iii) type 2 grammar, but not type 3 ,
(iv) type 3 grammar.

Correct Answer:

verifed

Verified

Unlock this answer now
Get Access to more Verified Answers free of charge

Related Questions