Skip to content
VUBuddy

CS606 Quiz 4 Jan 2026

Compiler Construction PDF 35 KBUpdated 23 Oct 2026
Quiz CS606 Quiz 4 Jan 2026 PDF 35 KB
vubuddy.com
Type
Quiz
Course
CS606 Compiler Construction
Size
PDF 35 KB
Updated
23 Oct 2026
Free download 0 of 3 used today
Download free · 35 KB

You get 3 free files a day on the website. Add the Chrome extension for 30 a day.

Unlimited downloads in the Android app Get it free on Google Play

Preview text

Text from pages 2, 3, 4 of 5. Download the file for all 5 pages.

Quiz 1 - CS606 (Q1/10)

Question:

What is the main characteristic of linear IRs?

  1. They represent the program as a graph.
  2. They allow for complex program structures and sophisticated analyses.
  3. They represent the program as a linear sequence of instructions or statements.
  4. They combine elements of graphical and linear representations.

Correct answer: They represent the program as a linear sequence of instructions or statements.

Copied: 1/8/2026, 9:36:21 PM

Quiz 2 - CS606 (Q2/10)

Question:

What is the size, in bytes, typically allocated for addresses in three-address code?

  1. 4 bytes
  2. 1 byte
  3. 2 bytes
  4. 8 bytes

Correct answer: 4 bytes

Copied: 1/8/2026, 9:36:36 PM

Quiz 3 - CS606 (Q3/10)

Question:

Which of the following attributes flows from parent nodes to child nodes in an attributed tree?

  1. Synthesized attributes
  2. Semantic attributes
  3. Structural attributes
  4. Inherited attributes

Copied: 1/8/2026, 9:36:50 PM

Quiz 4 - CS606 (Q4/10)

Question:

Which file extension is commonly used for YACC specification file?

  1. .bnf
  2. .lex
  3. .bin
  4. .y

Correct answer: .y

Copied: 1/8/2026, 9:37:13 PM

Quiz 5 - CS606 (Q5/10)

Question:

In attribute grammars, an attribute (e.g., val) of a symbol (e.g., B) can be written as ____________.

B. B.val

D. val.B Copied: 1/8/2026, 9:37:40 PM

Quiz 6 - CS606 (Q6/10)

Question:

What is the purpose of analyzing attribute rules in the rule-based methodology of attribute grammar evaluation?

  1. To establish a fixed ordering of attribute evaluation
  2. To generate the parse tree
  3. To optimize the attribute computation process
  4. To determine the syntax of the source code

Correct answer: To establish a fixed ordering of attribute evaluation

Copied: 1/8/2026, 9:38:07 PM

Quiz 7 - CS606 (Q7/10)

Question:

Which of the following is NOT a typical use of attributed trees in compiler design?

  1. Error handling
  2. Syntax analysis
  3. Type checking
  4. Optimization

Correct answer: Syntax analysis

Copied: 1/8/2026, 9:38:27 PM

Quiz 8 - CS606 (Q8/10)

Question:

Stack-machine code is also called _______________ code.

A. Two-address

All CS606 files →
CS606 Compiler Construction All CS606 handouts, past papers, quizzes and MCQs in one place. Open course page

Get more out of VUBuddy, for free

Android app Free on Google Play
  • Unlimited downloads
  • The explanation behind every MCQ answer
  • Study offline on slow data
Get the Android app
Chrome extension Free on the Chrome Web Store
  • 30 downloads a day instead of 3
  • Sign in and buy Pro Semester here
Add to Chrome

One Pro Semester membership works in both the extension and the app.