course-details-portlet

TDT4102

Procedural and Object-Oriented Programming

Assessments and mandatory activities may be changed until September 20th.

Credits 7.5
Level Foundation courses, level I
Course start Spring 2026
Duration 1 semester
Language of instruction Norwegian
Location Trondheim
Examination arrangement School exam

About

About the course

Course content

Basic and practice-oriented programming in C++. The course covers most of the elements in the programming language and selected parts of the standard library. Through the exercises, the students will get extensive experience in the construction, debugging and testing of software.

Learning outcome

Knowledge:

At the end of the course the candidate can:

  • explain central concepts and mechanisms in the programming language C++.
  • explain practical use of variable declarations and data types, input/output handling, type conversions, control structures, functions and operators, overloading, classes, inheritance, templates and exceptions.
  • correctly use static/dynamic variables (and pointers), recursion, and be able to select well-suited algorithms and data structures.
  • organize procedural- and object-oriented code using modules, multiple files, the standard library (STL), compilation and linking.
  • use common programming techniques and work iteratively and efficient during development of code.
  • program validation of input and appropriate handling of different types of run time errors.

Skills:

At the end of the course the candidate can:

  • use modern development tools, techniques for debugging and simple testing of code to develop a program from problem description to a working solution without errors. Including the use of coPilot or other similar GPT AI-support tools for education (not exam).
  • write object-oriented software organized in classes.
  • design and program simple graphical user interfaces.
  • write code that is readable, reusable and simple to maintain.
  • read code and explain how the code behaves at runtime.

General competence:

At the end of the course the candidate:

  • can communicate and discuss code solutions and explain how a program behaves.
  • can find and use tools and documentation of the programming language and the standard library
  • is aware of programming aspects that can influence on information security.

Learning methods and activities

Weekly lectures and mandatory exercises.

Compulsory assignments

  • Inspera Exercises
  • Exercises

Further on evaluation

If there is a re-sit examination, the examination form may change from written to oral.

The re-sit examination is held in August.

Course materials

To be announced at the start of the term.

Credit reductions

Course code Reduction From
IT1104 3.7 sp Autumn 2008
MNFIT114 3.7 sp Autumn 2008
MNFIT113 3.7 sp Autumn 2008
MNFIT111 3.7 sp Autumn 2008
TDT4100 3.7 sp Autumn 2008
TDT4130 3.7 sp Autumn 2008
INFT1100 3.7 sp Autumn 2024
TDT4114 3.7 sp Autumn 2024
INFT2503 3.7 sp Autumn 2025
This course has academic overlap with the courses in the table above. If you take overlapping courses, you will receive a credit reduction in the course where you have the lowest grade. If the grades are the same, the reduction will be applied to the course completed most recently.

Subject areas

  • Computer and Information Science
  • Informatics

Contact information

Course coordinator

Lecturers

Department with academic responsibility

Department of Computer Science

Examination

Examination

Examination arrangement: School exam
Grade: Letter grades

Ordinary examination - Spring 2026

School exam
Weighting 100/100 Examination aids Code G Duration 4 hours Exam system Inspera Assessment Place and room Not specified yet.

Re-sit examination - Summer 2026

School exam
Weighting 100/100 Examination aids Code G Duration 4 hours Exam system Inspera Assessment Place and room Not specified yet.