A deterministic finite automaton (DFA) D with alphabet ∑ = {a,b} is given below.


Which of the following finite state machines is a valid minimal DFA which accepts the same language as D?

This question was previously asked in
GATE CS 2011 Official Paper
View all GATE CS Papers >

Answer (Detailed Solution Below)

Option 1 :
Free
GATE CS Full Mock Test
65 Qs. 100 Marks 180 Mins

Detailed Solution

Download Solution PDF

The correct answer is option 1.

Key Points

Minimization of DFA :

Step 1:

We will divide Q (set of states) into two sets. One set will contain all final states and another set will contain non-final states.

P= {p,q,r}  P={s,t}

Step 2: 

Find Pk by partitioning the different sets of Pk-1. In each set of Pk-1, we will take all possible pair of states. If two states of a set are distinguishable, we will split the sets into different sets in Pk.

Here state p and q states go to only P1 and P0. But state r go to the only P0. Hence state ' r ' is a different set. 

P={p,q} P1 ={r} P2 ={s,t} 

Here state p and state q  are different p goes to only P0 and Pand q goes to only P1 and P2. So both are different.

P={p} P1 ={q}  P2 ={r} P3 ={s,t}

P={p} P1 ={q}  P2 ={r} P3 ={s,t}

Step 3: 

Stop when Pk = Pk-1 (No change in the partition) 

Step 4: 

All states of one set are merged into one. No. of states in minimized DFA will be equal to no. of sets in Pk

minimized DFA is,

Alternate Method

Option 2 and Option 3:

Minimized DFA  accepts string ' b ' but the given deterministic finite automata didn't accept the string b Hence option 2 and option 3 are false.

Option 4:

Minimized DFA  accepts string 'bba' but the given deterministic finite automata didn't accept the string 'bba' Hence option 4 is false.

Latest GATE CS Updates

Last updated on Jan 8, 2025

-> GATE CS 2025 Admit Card has been released on 7th January 2025.

-> The exam will be conducted on 1st February 2025 in 2 shifts.

-> Candidates applying for the GATE CE must satisfy the GATE Eligibility Criteria.

-> The candidates should have BTech (Computer Science). Candidates preparing for the exam can refer to the GATE CS Important Questions to improve their preparation.

-> Candidates must check their performance with the help of the GATE CS mock tests and GATE CS previous year papers for the GATE 2025 Exam.

Hot Links: teen patti master apk download teen patti yes teen patti real