Programming Languages and Compilers

 

Lecture 9

 

In this lecture we will look at data abstraction, inheritance and subprogram control.

 

The slides for this lecture can be found here, here and here.

 

Literature

 

Pratt and Zelkowitz, chapter 7 and chapter 9 section 3 onwards.

 

Exercises

 

Exercises for lecture 9 will be done from 8.15 till 10.00 before Lecture 10 on Wednesday the 23rd of April.

 

  1. Do Pratt and Zelkowitz 9.6.7 on page 409.
  2. Do Pratt and Zelkowitz 9.6.10 on page 410.
  3. Do Pratt and Zelkowitz 9.6.11 on page 410.
  4. Do Pratt and Zelkowitz 9.6.13 on page 411.
  5. Do Pratt and Zelkowitz 9.6.16(a) and (b) on page 412.
  6. Do Pratt and Zelkowitz 9.6.20 on page 413.
  7. Do Pratt and Zelkowitz 9.6.23 on page 414.