Skip to content
GATEiit

GATE CSE 2017 Session 2 Q49: Extended transition function of an epsilon-NFA on aba

Syllabus topic: Regular expressions and finite automata

Question

Let δ denote the transition function and δ^ denote the extended transition function of the ϵ-NFA whose transition table is given below:

$q_0$ is the start state
δϵab
→q0{q2}{q1}{q0}
q1{q2}{q2}{q3}
q2{q0}∅∅
q3∅∅{q2}

Then δ^(q2,aba) is

Try it: multiple choice: exactly one correct option

Select one option
Wrong answer costs 2/3 mark in GATE.
Show answer and explanation

Answer: C (official GATE 2017 final answer key)

Concept used: For an ϵ-NFA, δ^ takes the ϵ-closure of the start state, then for each symbol applies δ and takes the ϵ-closure again.

Concept notes

Loading notes…

First step: Start with ϵ-closure(q2)={q2,q0}, then process a, b, a one at a time, closing under ϵ after each step.

Full step-by-step solution

Loading…

Answer from the official final answer key. Found a mistake? Use Report issue and we will fix it.

More questions on Regular expressions and finite automata

Every PYQ on this topic →

Share this question

WhatsAppDownload image

Source: official GATE 2017 Session 2 CS question paper and final answer key, organised by IIT Roorkee. Question paper · Answer key