

MCQOPTIONS
Saved Bookmarks
This section includes 2 Mcqs, each offering curated multiple-choice questions to sharpen your Compilers knowledge and support exam preparation. Choose a topic below to get started.
1. |
S -> (S)| a
|
A. | n1 < n2 < n3 |
B. | n1 = n3 < n2 |
C. | n1 = n2 = n3 |
D. | n1 $ n3 $ n2 |
Answer» C. n1 = n2 = n3 | |
2. |
The grammar A ->AA |( A)| is not suitable for predictive-parsing because the grammar is ___________ |
A. | Ambiguous |
B. | Left-recursive |
C. | Right-recursive |
D. | An operator-grammar |
Answer» B. Left-recursive | |