• retagged by
1,781 views
1 1 vote

Which regular expression best describes the language accepted by the non-deterministic automaton below?

download (7)

 
(A) (a + b)* a(a + b)b
(B) (abb)*
(C) (a + b)* a(a + b)* b(a + b)*
(D) (a + b)*


Answer: (A) 

DOUBT- I beleive the option A is wrong as dfa can accept string aaab but expression in A can not.

pls clarify? the given answer is wrong or not? if yes, then wha is the correct answer?

2 Answers

Best answer
2 2 votes

Expression A can accept aaab :

(a + b)* ---------- a

a           ---------- a

(a+b)    ----------  a

b          -----------  b


(a + b)* a(a + b)b can accept " aaab"

• selected by
Position:
Show:

Related questions

1 1 vote
1 1 answer
227
227 views
Shubham Sharma 2 asked Jul 24, 2025
227 views
Which of the following is a property of a regular language?It cannot be represented by a finite automaton.It cannot be represented by a regular expression.It can only be ...
0 0 votes
2 2 answers
501
501 views
Gavvalapally_Nithish asked Jun 2, 2025
501 views
(11+0)*×(00+1)* convert this regular expression into finite automata
0 0 votes
1 1 answer
500
500 views
ayush_gupta 2 asked Dec 7, 2024
500 views
What is the DFA for the regular expression:- (a+b)* b (a+b)*