Gate CS-2017-1 Question Paper With Solutions

Q. 31 Consider the language L given by the regular expression (a + b) *b(a +b) over the alphabet {a, b}. The smallest number of states needed in a deterministic finite-state automaton (DFA) accepting L is ______.

Note: This questions appeared as Numerical Answer Type.

(A) 3

(B) 4

(C) 5

(D) 6

Answer: (B)

Explanation

Gate CS-2017-1 Question Paper With Solutions

Learn More:   Gate ME-2016-3 Question Paper With Solutions

LEAVE A REPLY

Please enter your comment!
Please enter your name here