Computer Science And Engineering

Computer Science And EngineeringTheory of Computation / FLATMultiple Select (MSQ)2 Marks
Q4.

Consider the following deterministic finite automaton (DFA) defined over the alphabet, Σ={a,b}\Sigma = \{a, b\}. Identify which of the following language(s) is/are accepted by the given DFA.

image

A
The set of all strings containing an even number of bb’s.
B
The set of all strings containing the pattern babbab.
C
The set of all strings ending with the pattern babbab.
D
The set of all strings not containing the pattern abaaba.