Similar questions 3 more →
Regular Expressions & Languages


Your answer
Answer & solution
Answer: C (no official key was published)
Step 1: Every block allowed inside S is either a or a finite run of b symbols. Concatenating such blocks can produce every word over {a,b}, since individual a and b symbols are both available.
Step 2: No other symbol can appear, so S⊆{a,b}*. The expression T also generates exactly {a,b}*, including ε.
Hence S=T, option C. The inner star on b does not restrict the outer star’s ability to concatenate individual symbols.