

MCQOPTIONS
Saved Bookmarks
1. |
Consider the following statements about the context-free grammar:\(G={\{S→SS,S→ab,S→ba,S→ϵ}\}\)I. G is ambiguousII. G produces all strings with equal number of a’s and b’sIII. G can be accepted by a deterministic PDAWhich combinations below expresses all the true statements about G? |
A. | I only |
B. | I and III only |
C. | II and III only |
D. | I, II and III |
Answer» C. II and III only | |