Gate CS-2014-3 Question Paper With Solutions

Q. 25 The length of the shortest string NOT in the language (over S = “a,b,) of the
following regular expression is _______.

a*b*(ba)*a*

(A) 2

(B) 3

(C) 4

(D) 5

Answer: (B)

Explanation:

Gate CS-2014-3 Question Paper With Solutions

Learn More:   Gate EC-2018 Question Paper With Solutions

LEAVE A REPLY

Please enter your comment!
Please enter your name here