Computer Programming I

5 credits

Syllabus, Bachelor's level, 1TD433

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)
Finalised by
The Faculty Board of Science and Technology, 17 February 2022
Responsible department
Department of Information Technology

Entry requirements

General entry requirements and Mathematics 3c/Mathematics D

Learning outcomes

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

  • explain the execution of a Python program;
  • use existing modules such as the Python standard library for different tasks, including file operations, and third-party libraries for processing and visualizing data, based on documentation and other resources for said libraries;
  • analyse and solve problems using programming constructions;
  • test and debug a program;
  • use a programming environment;
  • explain the fundamental concepts module, function, class, object and related subconcepts.

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, 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.

FOLLOW UPPSALA UNIVERSITY ON

facebook
instagram
twitter
youtube
linkedin