← Quiz: TOC Basics: all 10 questions
Quiz: TOC Basics · Question 7 of 10
Which statement about Σ and Σ⁺ is correct?
Which statement about Σ* and Σ⁺ is correct?
- A.Σ⁺ contains ε but Σ* does not
- B.Σ* contains ε, and Σ⁺ is Σ* without ε
- C.Both are finite sets
- D.They are always equal
Answer & explanation
Correct answer: Σ* contains ε, and Σ⁺ is Σ* without ε
Σ* is all strings including the empty one; Σ⁺ is all non-empty strings.
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 →