Free University of Bolzano/Bozen
Faculty of Computer Science - Bachelor in Applied Computer Science
Bachelor in Production Engineering

Introduction to Programming

Lectures A.A. 2004/2005

Prof. Diego Calvanese


Teaching material

[M1] Lecture Notes for Introduction to Programming. Diego Calvanese.

[M2] Big Java. Cay S. Horstmann. John Wiley & sons, 2002.


Lectures

Summary

Week Topics Monday
8:30-10:30

(lecture)
Wednesday
8:30-10:30

(lecture)
Wednesday
14:00-16:00

(lab)
#1
Oct. 11
Introduction to programming Introduction to programming
(Lec 1,2)
Use of objects, invocation of methods
(Lec 3,4)
Java development environment
(Exer 1)
#2
Oct. 18
Use of objects and variables Variables, object references
(Lec 5,6)
Costructors, input/output
(Lec 7,8)
Invocation of methods
(Exer 2)
#3
Oct. 25
Definition of methods and classes Modularization,
definition of static methods
(Lec 9,10)
Definition of classes, instance variables
(Lec 11,12)
Constructors, Inheritance
(Lec 13,14)
#4
Nov. 1
Inheritance -- Overriding and polymorphism
(Lec 15,16)
Definition of classes
(Exer 3)
#5
Nov. 7
Primitive data types Primitive types for integers
(Lec 17,18)
Primitive types for reals, characters, booleans
(Lec 19,20)
Inheritance, primitive types
(Exer 4)
#6
Nov. 15
Conditional statements if-else statement
(Lec 21,22)
Complex conditions, comparing objects, switch st.
(Lec 23,24)
Conditional statements
(Exer 5)
#7
Nov. 22
Loop statements while loop, loop schemes
(Lec 25,26)
for loop, do loop
(Lec 27,28)
Midterm lab exam
(Midterm)
#8
Nov. 29
Arrays Nested loops
(Lec 29,30)
Arrays
(Lec 31,32)
Loop statements
(Exer 6)
#9
Dec. 13
Arrays, files Matrices, Exercises on arrays
(Lec 33,34)
Files and streams
(Lec 35,36)
Arrays and matrices
(Exer 7)
#10
Dec. 20
Error handling, exceptions Streams, Exercises on files
(Lec 37,38)
Errors and exceptions
(Lec 39,40)
Matrices and files
(Exer 8)
#11
Jan. 10
Recursion Exceptions, Recursion
(Lec 41,42)
Memory management, recursive methods
(Lec 43,44)
Recursion
(Exer 9)
#12
Jan. 17
Linked lists Multiple recursion, dynamic arrays
(Lec 45,46)
Linked lists
(Lec 47,48)
Dynamic arrays
(Exer 10)
#13
Jan. 24
Exam exercises Exam exercise
(Exer 12)
-- Exam exercise
(Exer 11)

Details


Week 1: Introduction to programming (Unit 1)

Lectures 1,2 - 11/10/2004


Lectures 3,4 - 13/10/2004


Lab exercise 1 - 13/10/2004


Week 2: Use of objects and variables (Unit 2)

Lectures 5,6 - 18/10/2004


Lectures 7,8 - 20/10/2004


Lab exercise 2 - 20/10/2004


Week 3: Definition of methods and classes (Unit 3)

Lectures 9,10 - 25/10/2004


Lectures 11,12 - 27/10/2004


Lectures 13,14 - 27/10/2004


Week 4: Inheritance (Unit 3)

Lectures 15,16 - 3/11/2004


Lab exercise 3 - 3/11/2004


Week 5: Primitive data types (Unit 4)

Lectures 17,18 - 8/11/2004


Lectures 19,20 - 10/11/2004


Lab exercise 4 - 10/11/2004


Week 6: Conditional statements (Unit 5)

Lectures 21,22 - 15/11/2004


Lectures 23,24 - 17/11/2004


Lab exercise 5 - 17/11/2004


Week 7: Loop statements (Unit 6)

Lectures 25,26 - 22/11/2004


Lectures 27,28 - 24/11/2004


Midterm lab exam - 23-24/11/2004


Week 8: Arrays (Unit 7)

Lectures 29,30 - 29/11/2004


Lectures 31,32 - 1/12/2004


Lab exercise 6 - 1/12/2004


Week 9: Arrays (Unit 7) and files (Unit 8)

Lectures 33,34 - 13/12/2004


Lectures 35,36 - 15/12/2004


Lab exercise 7 - 15/12/2004


Week 10: Error handling and exceptions (Unit 9)

Lectures 37,38 - 20/12/2004


Lectures 39,40 - 22/12/2004


Lab exercise 8 - 22/12/2004


Week 11: Recursion (Unit 10)

Lectures 41,42 - 10/1/2005


Lectures 43,44 - 12/1/2005


Lab exercise 9 - 12/1/2005


Week 12: Linked lists (Unit 11)

Lectures 45,46 - 17/1/2005


Lectures 47,48 - 19/1/2005


Lab exercise 10 - 19/1/2005


Week 13: Exam exercises

Exercise 12 (in class) - 24/1/2005


Lab exercise 11 - 26/1/2005


Back to course home page


Last modified: Monday, 24-Jan-2005 4:16:50 CET