Free University of Bolzano/Bozen
Bachelor in Production Engineering
Introduction to Programming
Final syllabus A.A. 2005/2006
Teaching material.
[M1] Lecture Notes for Introduction to
Programming. Diego Calvanese. Available on the course web page.
[M2]
Absolute Java. Walter Savitch. Addison Wesley. 2nd edition 2005.
Syllabus:
- Introduction to programming and to the Java programming
language
[M1]: Unit 1.
Programming languages and compilers, programming environment. Objects
and classes. Computing environment: hardware, operating system. Writing
and executing Java programs.
- Use of objects
[M1]: Unit 2.
The class String
, structure of a program, use of methods.
Variables and assignments. Programs that operate on String
objects. Object creation.
- Definition of methods and classes
[M1]: Unit 3.
Variable life cycle and variable scope. Definition of static methods.
Memory model for variables and objects. Definition of classes.
Constructors.
- Primitive data types
[M1]: Unit 4.
Data types for representing integers (int
,
long
, short
, byte
). Data types
for representing reals (double
, float
).
The char
data type. The boolean
data type.
Wrapper classes. Type conversion and casting.
- Conditional statements
[M1]: Unit 5.
The if-else
statement. The switch
statement.
Conditional expression.
- Loop statements
[M1]: Unit 6.
Definite and indefinite loops. The while
statement. The
for
statement. The do
statement. Nested
loops.
- Arrays
[M1]: Unit 7, excluding the part on matrices.
Definition and use of arrays. Classes that represent collections.
course home page
Last modified:
Sunday, 19-Feb-2006 15:39:05 CET