{[ promptMessage ]}

Bookmark it

{[ promptMessage ]}

exam4-2005 - COP5621 Exam 4 Spring 2005(Please print Name...

Info iconThis preview shows pages 1–2. Sign up to view the full content.

View Full Document Right Arrow Icon
COP5621 Exam 4 - Spring 2005 Name: (Please print) Put the answers on these sheets. Use additional sheets when necessary. Show how you derived your answer when applicable (this is required for full credit and helpful for partial credit). You can collect 100 points in total for this exam. A bonus question for an additional 15 points is included. If the total number of points for this exam exceed 100, the excess points are carried over to the next exams. 1. Match the terms below with the given sentences so as to best complete each sentence. Use no term more than once. Some terms will go unused. (10 points) (1) static link (7) stack pointer (2) access link (8) control link (3) state (9) environment (4) local (10) global (5) live (11) dead (6) code motion (12) reduction in strength (a) A transformation on a program is called if it can be performed by looking only at the statements in a basic block rather than an entire region of code. (b) An implementation of lexical scope for nested procedures is obtained by adding a pointer called to each activation record.
Background image of page 1

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full Document Right Arrow Icon
Image of page 2
This is the end of the preview. Sign up to access the rest of the document.

{[ snackBarMessage ]}