Computer Programming I

5 credits

Syllabus, Bachelor's level, 1TD433

A revised version of the syllabus is available.
Education cycle
First cycle
Main field(s) of study and in-depth level
Computer Science G1N, Technology G1N
Grading system
Fail (U), Pass (3), Pass with credit (4), Pass with distinction (5)
Finalised by
The Faculty Board of Science and Technology, 11 February 2019
Responsible department
Department of Information Technology

Learning outcomes

On completion of the course the student shall be able to:

  • explain the fundamental concepts module, function, class, object and related sub concepts;
  • analyse and solve problems using programming constructions;
  • explain what a Python program does;
  • use existing modules and write programs in Python containing several concurrent components;
  • write program with several coupled classes;
  • use a programming environment;
  • test and debug a program.


Introduction to programming: the purpose of programming, programming in a context e.g. through applications, programmer's perspective on a computer system, programming environments.

Algorithms: the program as an algorithm, the difference between algorithms in real-life vs. in a computer program.

Structure of code: the concept module, function, class, object, scope (including to distinguish between the scopes local, global, class, instance).

Algorithm components: assignment, sequence, selection, iteration. Arithmetic and logical expressions, terminal I/O. Typical idioms in Python.

Programming: write programs, functions, classes and to use existing modules. The program flow.

Programming techniques: implementation, testing, debugging and documentation.


Lectures, problem classes and computer lab, assignments.


Written examination (2 credits) and approved assignments (3 credits).

If there are special reasons for doing so, an examiner may make an exception from the method of assessment indicated and allow a student to be assessed by another method. An example of special reasons might be a certificate regarding special pedagogical support from the disability coordinator of the university.