← Quiz: TOC Basics: all 10 questions
Quiz: TOC Basics · Question 4 of 10
If L = {ab}, which string is in L?
If L = {ab}, which string is in L*?
- A.aab
- B.abab
- C.ba
- D.aba
Answer & explanation
Correct answer: abab
L* contains ε, ab, abab, ababab, …
Can you get the rest right without peeking?
Take the timed Quiz: TOC Basics quiz free. Pass it to earn XP and count towards your certificate.
Start the quiz →