Free University of Bolzano/Bozen
Bachelor in Production Engineering

Introduction to Programming

Final syllabus A.A. 2005/2006

Prof. Diego Calvanese


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:

  1. 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.
  2. 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.
  3. 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.
  4. 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.
  5. Conditional statements [M1]: Unit 5.
    The if-else statement. The switch statement. Conditional expression.
  6. Loop statements [M1]: Unit 6.
    Definite and indefinite loops. The while statement. The for statement. The do statement. Nested loops.
  7. Arrays [M1]: Unit 7, excluding the part on matrices.
    Definition and use of arrays. Classes that represent collections.


Back to course home page
Last modified: Sunday, 19-Feb-2006 15:39:05 CET