Programming Languages and Compilers

 

Lecture 13

 

In this lecture we will look at data abstraction and object oriented features.

 

The slides for this lecture can be found here in ppt / ppt and here in pdf / pdf.

 

Literature

 

Sebesta, chapter 11 and 12.

Watt and Brown, section 6.7

Exercises

 

Exercises for lecture 13 will be done from 8.15 till 10.00 before Lecture 14 on Thursday the 20th of April.

 

 

The following exercises are best done as group discussions:

 

  1. Sebesta, review questions, 3, 11, 13, 14, 18, page 489-490.
  2. Sebesta, problem set, exercise 2, page 490.
  3. Sebesta, review questions, 2, 3, 14, 15, 21, 22, 23, 30, 31, page 532-533
  4. Sebesta, problem set, 1, 2, 4, 6, 9, 10, 14, 16 page 533.

 

You should limit the discussion to about 5 minutes per question.

 

The following exercises you may prefer to do on your own or in pairs and discuss the outcome with your group:

 

  1. Watt and Brown exercises 6.24, 6.25, 6.26
  2. Sebesta, programming exercises 6, page 491, in addition to the languages suggested, also consider SML.
  3. Sebesta, programming exercises 1, page 534.