1. Construct CFG for the following Languages: a) Set of all binary strings where number of 0βs are greater than number of 1βs. 2. Prove that the following CFGs are ambiguous: a) π β πππ | ππ| π b) π β πππ |πππ |π c) π β ππ΅ | ππ, π΄ β ππ΄π΅|π, π΅ β π΄π΅π |π 3. Convert the following CFGs into their equivalent Chomsky Normal Form: a) π β π΅ππ΅ | π΅ π, π΅ β 00 π b) π β ππ΄ |ππ΅ , π΄ β ππ΄π΄|ππ π , π΅ β ππ΅π΅ | ππ | b For Solutions Click in the Download Button: Download Solutions
Hey! It compiles! Ship it! Programming, Pharmacy, and Tech blogs!