Consider the following statements about the context free grammar
G = {S-->SS , S-->ab , S-->ba , S-->^}
I. G is ambiguous
II. G produces all strings with equal number of a’s and b’s
III. G can be accepted by a deterministic PDA.
Which combination below expresses all the true statements about ?
A) I only
B) I and III
C) II and II
D) All I,II,III
In a answer key shown answer D
but II is not right.