Consider the languages \(L_{1}= \phi\) and \(šæ_2={1}\). Which one of the…

2017

Consider the languagesĀ \(L_{1}= \phi\) andĀ \(šæ_2={1}\).Ā Which one of the followingĀ represents \(L_{1}^{\ast}\cup L_{2}^{\ast} L_{1}^{\ast}\)?

  1. A.

    \(\{∈\}\)

  2. B.

    \(\{∈,1\}\)

  3. C.

    \(šœ™\)

  4. D.

    \(1^āˆ—\)

Attempted by 194 students.

Show answer & explanation

Correct answer: D

Key facts: compute each component and simplify.

  • L1 = āˆ…, so L1* = {ε} (only the empty string from zero concatenations).

  • L2 = {1}, so L2* is the set of all strings of zero or more 1's, i.e. {1}* (this set already contains ε).

  • Concatenate: L2* L1* = {1}* {ε} = {1}* (concatenating with {ε} leaves the set unchanged).

  • Union: L1* ∪ (L2* L1*) = {ε} ∪ {1}* = {1}* (since ε is already in {1}*).

Answer: {1}* — the set of all strings consisting of zero or more 1's (including the empty string).

A video solution is available for this question — log in and enroll to watch it.

Explore the full course: Mppsc Assistant Professor