

MCQOPTIONS
Saved Bookmarks
1. |
Consider the following CFGS → aB S → bA**spaceB → b A → a**spaceB → bS A → aS**spaceB → aBB A → bAA**spaceConsider the following derivation**spaceS ⇒aB**space⇒aaBB**space⇒aaBb**space⇒aabSb**space⇒aabbAb**space⇒aabbab**spaceThis derivation is |
A. | A leftmost derivation |
B. | A rightmost derivation |
C. | Both leftmost and rightmost derivation |
D. | Neither leftmost nor rightmost derivation |
Answer» E. | |