GateAI
Regular Expressions and Finite Automata

GATE CSE 2013 · Q8

MCQ1 markEasy

Time

Consider the languages L1=ΦL_1 = \Phi and L2={a}L_2 = \{a\}. Which one of the following represents L1L2∗∪L1∗L_1 L_2^* \cup L_1^* ?

Select one answerSingle correct

Pick an option to check

Solution

Step-by-step verified solution

Official answer: A) { }

Regular Expressions and Finite Automata

Given the languages:

  • L1=ΦL_1 = \Phi

  • L2={a}L_2 = \{a\}

Now, compute each component:

  1. The concatenation of the empty set Φ\Phi with any language is Φ\Phi:

    L1L2∗=Φ⋅({a})∗=ΦL_1 L_2^* = \Phi \cdot (\{a\})^* = \Phi
  2. The Kleene star of the empty language contains only the empty string:

    L1∗=Φ∗={ϵ}L_1^* = \Phi^* = \{\epsilon\}

Combining the two via union:

L1L2∗∪L1∗=Φ∪{ϵ}={ϵ}L_1 L_2^* \cup L_1^* = \Phi \cup \{\epsilon\} = \{\epsilon\}

Hence, (A) is the correct option.

Try the question first, then check your work.

Think the official key or this write-up is wrong?

Report error or challenge

Examiner trap

The misconception this question tests

This Regular Expressions and Finite Automata previous year question is Q8 of the GATE CSE 2013 paper. Find more GATE CSE PYQs on Regular Expressions and Finite Automata in Theory of Computation, or browse all GATE CSE PYQs.

Free diagnostic

Where do you stand for GATE?

Take the 20-minute diagnostic: the 3 topics that cost you the most marks, and a rank range. Or sit 5 related Regular Expressions and Finite Automata PYQs now with no account.

One GATE CSE PYQ every morning

An official question by email at 7 AM IST, with a link to its verified solution. Unsubscribe in one click.

Regular Expressions and Finite Automata in GATE CSE

Regular Expressions and Finite Automata has 41 GATE CSE PYQs across 24 papers from 2011 to 2026. 14 of them are 1-mark MCQs like this one, and GATE CSE 2013 has 2.

How GATE tests Regular Expressions and Finite Automata

More from GATE CSE 2013

Share this solution

A plain-text card for WhatsApp or Telegram study groups.

GateAI solution cardGATE CSE 2013 · Q8 · MCQ

Consider the languages L1 = and L2 = {a}. Which one of the following represents L1 L2* ∪ L1* ?

Topic-wise GATE CS PYQs with verified steps

Independent practice explanation verified by the GateAI team. GATE is conducted by the IITs; question text follows the official paper.