Consider the following context-free grammar G:
G:
S -> S1S | S1 | ns | UOU | o-n
a) What language does G generate?
b) Give a rightmost and a leftmost derivation of the string 10001.
c) Draw a parse tree for the string 10001 using a leftmost derivation.
d) Give two examples of strings in {0,1}* not generated by grammar G.