GATE CS 2012 · Question 25 · Theory of Computation · Multiple choice (MCQ) · 1 mark · −1/3 for a wrong answer
Given the language L = {ab, aa, baa}, which of the following strings are in L^*?
1) abaabaaabaa
2) aaaabaaaa
3) baaaaabaaaab
4) baaaaabaa
- (A) 1, 2 and 3
- (B) 2, 3 and 4
- (C) 1, 2 and 4
- (D) 1, 3 and 4
Answer
Answer (C)
Answer from the official GATE CS 2012 answer key.
The step-by-step solution, where available, is part of GATE CS Pro. See what Pro includes