Theory ::
1. write a CFG for language L={ aibjck | k=i+j and i,j,k>0 }
2. write a CFG for language L = { w | w=wR }
3. write a CFG for language L = { w | number of (a) in w equals number of (b) in w }
4. show the derivation tree for string (a+a)*a in the following grammar
G = ({E,T,F}, {a, +, *, (, )}, R, E}. The set of rules R is: E -> E + T | T T -> T * F | F F -> (E) | a
Already registered? Login
Not Account? Sign up
Enter your email address to reset your password
Back to Login? Click here