Syllabus (pdf)
|
|
|---|---|
| Study period: | |
| Course code: | DB2005 |
| Programme: | The course is included in the Computer Engineer Programme 180 credits. |
| Schedule: | |
| Course responsible: | Nicolina Månsson |
| Other members of faculty: | |
| Examiner: | Nicolina Månsson |
The course book : Object-Oriented Desig and Pattern , Cay Horstman ( 2nd Edition)
Other links interest for the course :
The Java 2 Platform SE 5.0 api specification
Very good online material on programming in Java
Object Oriented Software Development Using Java (2nd Edition)
Reading instructions: This lecture does not go through chapters 1 and 2 but these chapters are useful as a complement, depending what parts of Java you do not remember when doing the exercises.
Lecture : Administrivia, introduction to the contents of the course and Java recap: classes and objects, mutable and inmutable types, representation invariants, part of chapter 3 and 7.1.1.7 .
Here is the presentation: Lecture 1&2
(pdf, 430 kB)
Exercises session. Here is the list of exercises. You have to show your solutions to the teacher during the lab session next week. Exercises are a part of the examination.
Reading instructions: Chapters 3 and 4 from the course book. The part of chapter 3 dealing with contracts and unit testing will be done in a future lecture.
Lecture :Class design, Interfaces and Polymorphism.
Here is the presentation Chapter 3 and Chapter 4
(powerpoint, 410 kB)
Exercises session. Here is the list of exercises. You have to show the solutions to the teacher, exercises is a part of the examination.
Reading instructions: Chapter 5 and Chapter 6 from the course book
Lecture : Design patterns : Observer, Strategy, Composite, Template.
Here is the presentation: Chapter
(pdf, 340 kB) 5
(pdf, 340 kB) and Chapter 6
(pdf, 190 kB)
Exercises session. Here is the list of exercises. You have to show the solutions to the teacher, exercises is a part of the examination.
(pdf, 290 kB)Exercises session. Here is the list of exercises
. You have to show the solutions to the teacher, exercises is a part of the examination.
See the Ball example
(pdf, 49 kB)
(pdf, 1 MB)
(pdf, 89 kB) , Classes and documentation doc.zip
(pdf, 41 kB)Lecture: More design patterns: Adapter, Command, Factory Method, Singleton in Chap 10
(pdf, 320 kB)
Project work
The course consists of a series of 7 lectures, 4 excercise solving sessions and one project. For the project you will get supervision by appointment. Exercises are short programming exercises related to the content of the lectures. For the exercises you will have a supervisor.