info@avatto.com
+91-9920808017
16. The CFG s---> as | bs | a | b is equivalent to regular expression
(a + b)
(a + b) (a + b)*
(a + b) (a + b)
None of these
Your email address will not be published. Required fields are marked *
Report
Name
Email
Website
Save my name, email, and website in this browser for the next time I comment.
Comment
17. Consider the grammar : S —> ABCc | Abc BA —> AB Bb —> bb Ab —> ab Aa —> aa Which of the following sentences can be derived by this grammar
abc
aab
abcc
abbb
18. Pumping lemma is generally used for proving that
given grammar is regular
given grammar is not regular
whether two given regular expressions are equivalent or not
19. The language of all words with at least 2 a's can be described by the regular expression
(ab)*a and a (ba)*
(a + b)* ab* a (a + b)*
b* ab* a (a + b)*
all of these
20. Any string of terminals that can be generated by the following CFG is S-> XY X--> aX | bX | a Y-> Ya | Yb | a
has atleast one 'b'
should end in a 'a'
has no consecutive a's or b's
has atleast two a's
Login with Facebook
Login with Google
Forgot your password?
Lost your password? Please enter your email address. You will receive mail with link to set new password.
Back to login