🎙 Free live masterclass · Sun, 29 Nov, 7:00 pm IST · Java Full Stack roadmap Register free →
Skills101
← Quiz: Regular Expressions: all 10 questions

Quiz: Regular Expressions · Question 8 of 10

Which identity is correct?

Which identity is correct?

  1. A.∅* = ∅
  2. B.(R*)* = R*
  3. C.R + R = RR
  4. 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 →