Course syllabus

Course-PM

TIN213 Computer Programming HT19 (6,0hp)

Department of Computer Science

  • Examiner: Robin Adams
  • Course responsible: Robin Adams
  • Course assistants:
    • Patrick Franz
    • Eric Guldbrand
    • Algot Johansson
    • Gunnar Stenlund
    • Elin Oldman
    • Viktor Marthvall

Course Content

The course provides basic knowledge of how to use programming as a tool in the daily work at Engineering Physics.  You will learn how to program in Java, the most widely-used programming language in the world today.

Learning Outcomes

By the end of the course, a student should be able to write simple programs in Java.  They should be familiar with the following topics:

  • Primitive data types and expressions
  • Control flow operations (if-then-else, for loops, while loops)
  • Basic object-oriented concepts (classes, objects, instance variables, methods)
  • Subclassing, inheritance and polymorphism
  • Abstract classes and interfaces
  • The Swing library for graphical user interfaces
  • Error handling and debugging
  • Documentantion
  • Good programming style

Course Structure

Teaching is given in the form of lectures, group exercises and supervision in connection with compulsory assignments (laboratory work).

At the exercises, which take place in small groups, the students will complete exercises involving writing very small computer programs.  This is intended to be done on paper, but students may bring their own laptops if they prefer.  A course assistant will demonstrate solutions on the board.  The exercises are mostly taken from the textbook Java Direkt med Swing.

During the laboratory work, students will write larger programs, gaining experience of the process of writing, debugging and documenting a computer program.  They will work in groups of two.  The software required is all installed on the machines in the university computer laboratories, but students may use their own laptops if they prefer.  See the Laboratories page for more details.

The course will be taught in English.

Examination Forms

There are four compulsory laboratory projects, as well as two examinations.

In order to pass the course, you must have submitted all four of the compulsory laboratory projects and have them accepted.  You must also have passed both examinations.

Grades are awarded based on the examinations. For each examination, the maximum score is 30. For the grade 3, 15 points are required; for the grade 4, 20 points; and for the grade 5, 25 points. The final grade for the entire course will be the average grade for the two exams, rounded down.  (Note that the laboratory projects do not contribute to the final grade; however, the student must have completed all four projects to pass the course.)

Permitted aids (hjälpmeddel) on the exam are the book Java Dirket med Swing or the book Java Programming: From the Ground Up by Bravaco and Simonson. The book may include bookmarks and be lightly annotated with pencil.  No calculators are allowed.

Course literature

The textbook for this course is

J. Skansholm.  Java Direkt med Swing

The following book is recommended, but not compulsory.

S. McConnell.  Code Complete

Course summary:

Date Details Due