Tentalabbet

TND012 · 6 credits · Basic level (G1N) · Datateknik

Programming

Active · next start HT 2026

48%

passed the latest regular sitting

DAT1 · 28 Oct 2025 · 86 students

71%

passed the regular sittings, all sittings over the last 5 years

DAT1 · 449 students

Unusually hard in 2025/26

48% passed the ordinary exam in 2025/26 (86 students), against 77% on average in earlier years (363 students).

Part of 2 programmes

Other module

DAT1 Computer examination

  • 5
  • 4
  • 3
  • U

Main rounds

71% passed · 449 students

  • 48%86
  • 77%56
  • 77%90
  • 80%103
  • 74%114

Later rounds

48% passed · 85 students

  • 83%6
  • 67%24
  • 50%6
  • 38%8
  • 25%12
  • 8%12
  • 59%17
  • Pass a later round: 48% (85 students), compared with 71% (449 students) on the ordinary exam
  • Get 4 or 5: 24% (534 students)
Show small sittings (5)

Sittings with fewer than 5 students, often credit transfers or special sittings. They are not part of any figure on this page.

  • 50%4
  • 0%1
  • 100%4
  • 33%3
  • 50%2

Other modules

Partial exams, hand-ins and labs. They are not part of the figures at the top.

Hand-in or lab

LAB1 Laboratory Work

  • G

Main rounds

100% passed · 412 students

  • 100%70
  • 100%58
  • 100%80
  • 100%99
  • 100%105

Later rounds

No sittings with at least 5 students.

    Show small sittings (4)

    Sittings with fewer than 5 students, often credit transfers or special sittings. They are not part of any figure on this page.

    • 100%1
    • 100%1
    • 100%2
    • 100%2

    About the course

    Aim

    To provide foundations for constructing computer programs and to convey specific skills in a high level programming language, C++. Basic programming concepts and techniques are introduced. Upon completion of the course, the student should fulfill the following learning outcomes.

    • To describe the output of a program from the source code.
    • To describe the following concepts: compilation, source code, object code, executable code.
    • To use basic data types such as integers, floating point numbers, and Booleans.
    • To use selection statements in programs.
    • To use iteration statements in programs.
    • To use sequence data in programs.
    • To write programs that use programmer defined data types.
    • To construct functions, use different types of parameters, and return values.
    • To construct programs modularly from subprograms (functions), where every subprogram performs one task.
    • To use basic file processing in programs.
    • To use the functionality from basic standard C++ libraries.
    • To construct a program that solves a given problem following good programming practices.

    Content

    Introduce students to how to develop and structure a program.Basic types: int, double, bool, char. Variables, declarations, and expressions.If-statements and loops.Sequences: search and sorting.Functions. Functions declaration and definition. Functions that return no value. Call-by-value and call-by-reference.Scope and visibility rules.Records (struct).Input/output. Files.Basic standard C++ libraries.

    AI as a coding assistant to enhance, but not replace, human problem-solving.

    Examiner
    Aida Nordman
    Scheduled hours
    68 h
    Main field of study
    Datateknik
    Syllabus on Studieinfo ↗