L = {an bm | n≤m+3, n≥0, m≥0} is
A. S→aaaA; A→aAb|B, B→Bb|λ
B. S→aaaA|λ, A→aAb|B, B→Bb|λ
C. S→aaaA|aaA|λ, A→aAb|B, B→Bb|λ
D. S→aaaA|aaA|aA|λ, A→aAb|B, B→Bb|λ
Answer:C
L = {an bm | n≤m+3, n≥0, m≥0} is
A. S→aaaA; A→aAb|B, B→Bb|λ B. S→aaaA|λ, A→aAb|B, B→Bb|λ C. S→aaaA|aaA|λ, A→aAb|B, B→Bb|λ D. S→aaaA|aaA|aA|λ, A→aAb|B, B→Bb|λ