← Quiz: Regular Expressions: all 10 questions
Quiz: Regular Expressions · Question 8 of 10
Which identity is correct?
Which identity is correct?
- A.∅* = ∅
- B.(R*)* = R*
- C.R + R = RR
- D.∅R = R
Answer & explanation
Correct answer: (R*)* = R*
Starring twice adds nothing new. ∅* = ε, R + R = R and ∅R = ∅.
Can you get the rest right without peeking?
Take the timed Quiz: Regular Expressions quiz free. Pass it to earn XP and count towards your certificate.
Start the quiz →