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

Introduction to Programming

Lectures A.A. 2005/2006

Prof. Diego Calvanese


Teaching material

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

[M2] Absolute Java. Walter Savitch. Addison Wesley. 2nd edition 2005.


Lectures

Summary

Week Topics Monday
8:30-10:30

(lecture)
Wednesday
8:30-10:30

(lecture)
Tue, 16-18,
Wed. 14-16, 18-20

(lab)
Extra

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

Details


Week 1: Course presentation (Unit 1)

Lectures 1,2 - 3/10/2005


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

Lectures 3,4 - 10/10/2005


Lab exercise 1 - 11,12/10/2005


Lectures 5,6 - 12/10/2005


Lectures 7,8 - 14/10/2005


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

Lectures 9,10 - 17/10/2005


Lab exercise 2 - 18,19/10/2005


Lectures 11,12 - 19/10/2005


Week 4: Design of a class (Unit 3)

Lectures 13,14 - 23/10/2005


Lab exercise 3 - 24,25/10/2005


Week 5: Primitive data types (Unit 4)

Lab exercise 4 - 2/11/2005


Lectures 15,16 - 2/11/2005


Week 6: Conditional statements (Unit 5)

Lectures 17,18 - 7/11/2005


Lab exercise 5 - 8,9/11/2005


Lectures 19,20 - 9/11/2005


Week 7: Loop statements (Unit 6)

Lectures 21,22 - 14/11/2005


Lectures 23,24 - 14,15/11/2005


Lab exercise 6 - 15,16/11/2005


Lectures 25,26 - 16/11/2005


Week 8: Nested loops (Unit 6)

Lectures 27,28 - 21/11/2005


Midterm lab exam - 22-23/11/2005


Week 9: Arrays (Unit 7)

Lectures 29,30 - 28/11/2005


Lab exercise 7 - 29-30/11/2005


Lectures 31,32 - 30/11/2005


Week 10: Inheritance (Unit 8) and files (Unit 9)

Lectures 33,34 - 5/12/2005


Lab exercise 8 - 5,6/12/2005


Lectures 35,36 - 6/12/2005


Week 11: Error handling and exceptions (Unit 10)

Lectures 37,38 - 12/12/2005


Lectures 39,40 - 14/11/2005


Lab exercise 9 - 14/12/2005


Week 12: Recursion (Unit 11)

Lectures 41,42 - 19/12/2005


Lectures 43,44 - 21/12/2005


Lab exercise 10 - 21/12/2005


Week 13: Linked lists (Unit 12)

Lectures 45,46,47,48 - 9,11/1/2006


Lab exercise 11 - 11/1/2006


Week 14: Exam exercises

Exercise 12 (in class) - 16/1/2006


Lab exercise 12 - 18/1/2006


Back to course home page


Last modified: Last modified: Sun Dec 10 13:28:35 CET 2006