Course syllabus
Course-PM
TIN213 Computer Programming LP2-3 HT19 (6 hp)
Department of Computer Science and Engineering
- Examiner: Krasimir Angelov (Krasimir.Angelov@cse.gu.se)
- Course responsible: Anton Ekblad (antonek@chalmers.se)
-
Course assistants:
- Andreas Andersson (andab@student.chalmers.se)
- Axel Forsman (foraxel@student.chalmers.se)
- Rakel Hellberg (rakelh@student.chalmers.se)
- Tore Levenstam (ltore@student.chalmers.se)
- Ruben Seyer (rubense@student.chalmers.se)
- David Weber Fors (guswebed@student.gu.se)
-
Student representatives ("kursutvärderare")
- Selma Moqvist (mselma@student.chalmers.se)
- Valter Schütz (schutzv@student.chalmers.se)
Course Purpose
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.
The course will be taught in Swedish.
Examination
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.
Schedule
Course Literature
The textbook for this course is
J. Skansholm. Java Direkt med Swing (Links to an external site.) (Available from Cremona, Adlibris, etc.)
The following book is recommended, but not compulsory.
S. McConnell. Code Complete
Course summary:
Date | Details | Due |
---|---|---|