Course syllabus for Introduction to programming in python

The course syllabus contains changes
See changes

Course syllabus adopted 2024-02-09 by Head of Programme (or corresponding).

Overview

  • Swedish nameIntroduktion till programmering i python
  • CodeDAT456
  • Credits4.5 Credits
  • OwnerFRIST
  • Education cycleFirst-cycle
  • Main field of studyComputer Science and Engineering, Software Engineering
  • DepartmentCOMPUTER SCIENCE AND ENGINEERING
  • GradingUG - Pass, Fail

Course round 1

  • Teaching language English
  • Application code 99132
  • Maximum participants200
  • Minimum participants50
  • Open for exchange studentsNo

Credit distribution

0124 Written and oral assignments 4.5 c
Grading: UG
2 c2.5 c

In programmes

Examiner

Go to coursepage (Opens in new tab)

Eligibility

General entry requirements for bachelor's level studies

Specific entry requirements

English 6 + Mathematics 3 A/B/C

Course specific prerequisites


Aim

Computer programming is a fundamental skill needed in both studies and professional life. This course gives the basic skills so that the students can both perform simple programming tasks that are typical in science and engineering as well as understand the fundamental principles of computers and programming.

Learning outcomes (after completion of the course the student should be able to)

Knowledge and understanding:

  • Grasp the relation between source code, the interpreter, and the machine.

Competence and skill:

  • Structure small programs by the use of concepts such as iterations, functions, modules, classes, and methods.
  • Form readable, descriptive and well-documented program code.
  • Use programming for basic data analysis involving large textual or numeric files.
  • Express mathematical formulas as programming language expressions and algorithms.
  • Build interactive programs with text-based user interfaces.
  • Use programming tools such as text editor, command line interface, and IDE (integrated development environment).
  • Use standard libraries and follow best programming practices.

Judgement and approach:

  • Assess the difficulty and resources needed for typical programming tasks.

Content

The course is a first introduction to programming by using the general-purpose programming language Python. It gives a comprehensive knowledge of the language, enabling the student to write code for a wide variety of tasks and to read and reuse code written by other programmers.

  • Literals, types, variables, declarations, initialization, operators, expressions and statements, scope.
  • Control statements: if, while, for, break, continue, return.
  • functions, parameters, arguments, method calls, local variables.
  • Classes, objects, instance and class variables/methods.
  • Simple data structures (list, dictionary, set, stack).
  • One- and two-dimensional lists.
  • Input and output.
  • Overview of file handling.
  • Text handling, strings.

Organisation

The teaching is given remotely and consists of lectures, group work, exercises, as well as supervision in connection to the exercises.

Literature

Information on current literature will be published on the course homepage.

Examination including compulsory elements

Compulsory programming assignments.

The course examiner may assess individual students in other ways than what is stated above if there are special reasons for doing so, for example if a student has a decision from Chalmers on educational support due to disability.

The course syllabus contains changes

  • Changes to course rounds:
    • 2024-09-19: Examinator Examinator Jean-Philippe Bernardy (bernardy) added by Viceprefekt
      [Course round 1]