- Type
- Quiz
- Course
- CS606 Compiler Construction
- Size
- PDF 35 KB
- Updated
- 23 Oct 2026
You get 3 free files a day on the website. Add the Chrome extensionSign in with the extension for 30 a day.
Preview text
Text from pages 2, 3, 4 of 5. Download the file for all 5 pages.
Quiz 1 - CS606 (Q1/10)
Question:
What does the notation refer to in YACC?
Correct answer: The symbol on the left-hand side of the production
Copied: 1/8/2026, 11:09:00 PM
Quiz 2 - CS606 (Q2/10)
Question:
In syntax-directed translation, every time the parser encounters an identifier, it stores it in the _______________.
A. Parsing Stack
B. Symbol table
C. Priority Queue D. Linear Array Copied: 1/8/2026, 11:09:18 PM
Quiz 3 - CS606 (Q3/10)
Question:
What purpose does the topological sort serve in the dynamic method of attribute grammar evaluation?
Correct answer: It defines the order of attribute evaluation.
Copied: 1/8/2026, 11:09:33 PM
Quiz 4 - CS606 (Q4/10)
Question:
What does LALR(1) stand for?
Correct answer: Look Ahead LR(1)
Copied: 1/8/2026, 11:09:47 PM
Quiz 5 - CS606 (Q5/10)
Question:
In YACC, what does the notation $2 refer to?
Correct answer: The second symbol on the right-hand side of a production
Copied: 1/8/2026, 11:10:07 PM
Quiz 6 - CS606 (Q6/10)
Question:
In attribute grammars, each symbol in the derivation has a set of values or attributes.
A. True
B. False Copied: 1/8/2026, 11:10:28 PM
Quiz 7 - CS606 (Q7/10)
Question:
In attribute grammars, an attribute (e.g., val) of a symbol (e.g., B) can be written as ____________.
A. val.B
C. B.val
Copied: 1/8/2026, 11:10:40 PM
Quiz 8 - CS606 (Q8/10)
Question:
In stack-machine code, how are operands typically accessed for operations?
Correct answer: By pushing them onto a stack
Related CS606 files
All CS606 files →Get more out of VUBuddy, for free
- Unlimited downloads
- The explanation behind every MCQ answer
- Study offline on slow data
- 30 downloads a day instead of 3
- Sign in and buy Pro Semester here
One Pro Semester membership works in both the extension and the app.