1. i) Using induction prove that: if wl = n then w'] =n. ii) Consider the following grammar G=({S,A},{a,b), P,S} where P
-
answerhappygod
- Site Admin
- Posts: 899604
- Joined: Mon Aug 02, 2021 8:13 am
1. i) Using induction prove that: if wl = n then w'] =n. ii) Consider the following grammar G=({S,A},{a,b), P,S} where P
1. i) Using induction prove that: if wl = n then w'] =n. ii) Consider the following grammar G=({S,A},{a,b), P,S} where P is given as: S-> aBb | Ba B -> aBb Ba| a) Describe the language generated by the grammar G. b) Derive the following strings w1 and w2 using grammar G: w1 =bababa and W2 =abaab c) Identify the type of the grammar?
Join a community of subject matter experts. Register for FREE to view solutions, replies, and use search function. Request answer by replying!