ISRO Scientist/Engineer CSE 2023Theory of Computation › Regular and Context-Free Languages
ISRO Scientist/Engineer CSE 2023 PYQ: Consider the deterministic finite-state automaton (DFA) below. The alphabet is $\{a, b\}$. The state with a…
Consider the deterministic finite-state automaton (DFA) below. The alphabet is $\{a, b\}$. The state with a small incoming arrow is the initial state, while the double circle state denotes a final state.
Which of the following regular expressions defines the language accepted by the DFA?
- A$a b^{*}$Correct answer
- B$a^{*} b^{*}$
- C$(a b)^{*}$
- D$a^{\star} b$
Answer
(A) $a b^{*}$
Approach
Analyze the DFA's structure: identify the initial state, final state, and transitions. Determine the set of strings accepted by tracing paths from the initial state to the final state. Then, match this language with the given regular expressions.
Reviewed by ISRO IQ Editorial Team.