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 (email@example.com)
- Course assistants:
- Student representatives ("kursutvärderare")
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.
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
- Good programming style
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.
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.
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
The syllabus page shows a table-oriented view of course schedule and basics of course grading. You can add any other comments, notes or thoughts you have about the course structure, course policies or anything else.
To add some comments, click the 'Edit' link at the top.