Programming Languages and Compilers

 

Lecture 8

 

In this lecture we will look at sequence and subprogram control.

 

The slides for this lecture can be found here.

 

Literature

 

Pratt and Zelkowitz, chapter 8 and chapter 9 section 1 and 2.

 

Exercises

 

Exercises for lecture 8 will be done from 8.15 till 10.00 before Lecture 9 on Wednesday the 16th of April. 

 

  1. Do Pratt and Zelkowitz 8.8.1 on page 342.
  2. Do Pratt and Zelkowitz 8.8.3 on page 342. In the second question use the precedence table for ADA on page 299 instead of Pascal and Smalltalk.
  3. Do Pratt and Zelkowitz 8.8.7 on page 343.
  4. Do Pratt and Zelkowitz 8.8.8 on page 343.
  5. Do Pratt and Zelkowitz 8.8.9 on page 343.
  6. Do Pratt and Zelkowitz 9.6.1 on page 408.
  7. Do Pratt and Zelkowitz 9.6.2 on page 408.
  8. Do Pratt and Zelkowitz 9.6.3 on page 408.