← Quiz: TOC Basics: all 10 questions
Quiz: TOC Basics · Question 2 of 10
What is the difference between ε and ∅?
What is the difference between ε and ∅?
- A.ε is the empty string; ∅ is the empty language containing no strings
- B.They are the same
- C.ε is a language; ∅ is a string
- D.∅ contains only ε
Answer & explanation
Correct answer: ε is the empty string; ∅ is the empty language containing no strings
{ε} is a language with one string (of length 0); ∅ has none.
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 →