

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. |
In a bottom-up evaluation of a syntax directed definition its inherited attributes can do which of the following? |
A. | Always evaluated |
B. | Can be evaluated if the definition is L attributed |
C. | Can be evaluated if the definition has synthesized attributes |
D. | Never be evaluated |
Answer» C. Can be evaluated if the definition has synthesized attributes | |
2. |
The grammar A AA | (A) | e is not suitable for predictive-parsing because the grammar is? |
A. | Ambiguous |
B. | Left recursive |
C. | Right recursive |
D. | An operator grammar |
Answer» C. Right recursive | |