Syntax Analysis on Compiler related Questions and Answers - Page 2

Question 11 : Which Type of Grammar is it?
S -> Aa A -> Aab | ?
1. Right Linear
2. Left Linear
3. None of the mentioned
4. Right & Left Linear
View Answer   Discuss with Members

Question 15 : In Right-Linear grammars, all productions have the form: A -> xB
1. True
2. False
3.
4.
View Answer   Discuss with Members

Question 16 : Linear grammar has more than one non-terminal on the right-hand side.
1. True
2. False
3.
4.
View Answer   Discuss with Members

Question 17 : S -> SS S -> ? S -> aSb S -> bSa which type of grammar is it?
1. Linear
2. Nonlinear
3. Both of the mentioned
4. None of the mentioned
View Answer   Discuss with Members

Question 18 : Non-Linear grammar has has two non-terminals on the right-hand side.
1. True
2. False
3.
4.
View Answer   Discuss with Members

Question 19 : The regular expressions denote zero or more instances of an x or y is
1. (x+y)
2. (x+y)*
3. (x* + y)
4. (xy)*
View Answer   Discuss with Members

Question 20 : The regular expression denote a language comprising all possible strings of even length over the alphabet (0,1)
1. 1 + 0(1+0)*
2. (0+1)(1+0)*
3. (1+0)
4. (00+0111+10)*
View Answer   Discuss with Members


View 11 - 20 of 71 Questions

* Be the First to Post a Comment.

Submit comment :


Captcha Image
Reload

Ask Question

Captcha Image
Reload

Note : Name and Email never shown.





Subscribe


Become a part of EducationForever. Subscribe to our FREE Newsletter