Syllabus for Computer Programming I

Programmeringsteknik I

  • 5 credits
  • Course code: 1TD433
  • 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)
  • Established: 2007-03-19
  • Established by:
  • Revised: 2019-10-25
  • Revised by: The Faculty Board of Science and Technology
  • Applies from: week 26, 2020
  • Entry requirements: General entry requirements and Mathematics 4 or Mathematics D
  • 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.

Content

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.

Instruction

Lectures, problem classes and computer lab, assignments.

Assessment

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.

Reading list

The reading list is missing. For further information, please contact the responsible department.