Q5MCQMarks unknownConstruct DFA's for the following languages:(A)L={w∣w∈{a,b}∗, w has baab as a substring }L=\left\{w \mid w \in \{a,b\}^*, \text{ w has baab as a substring } \right\}L={w∣w∈{a,b}∗, w has baab as a substring }(B)L={w∣w∈{a,b}∗, w has an odd number of a’s and an odd number of b’s }L=\left\{w \mid w \in \{a,b\}^*, \text{ w has an odd number of a's and an odd number of b's } \right\} L={w∣w∈{a,b}∗, w has an odd number of a’s and an odd number of b’s }Sign in to save attempts.Show answer← PreviousNext →SolutionsDiscussionLoading…Sign in with Google