TDT4102 - Procedural and Object-Oriented Programming


Examination arrangement

Examination arrangement: Written examination
Grade: Letters

Evaluation form Weighting Duration Examination aids Grade deviation
Written examination 100/100 4 hours C

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

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.

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

Lectures and exercises.

Compulsory assignments

  • Exercises

Further on evaluation

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

Specific conditions

Exam registration requires that class registration is approved in the same semester. Compulsory activities from previous semester may be approved by the department.

Course materials

To be announced at the start of the term.

Credit reductions

Course code Reduction From To
IT1104 3.7 01.09.2008
MNFIT114 3.7 01.09.2008
MNFIT113 3.7 01.09.2008
MNFIT111 3.7 01.09.2008
TDT4100 3.7 01.09.2008
TDT4130 3.7 01.09.2008

Version: 1
Credits:  7.5 SP
Study level: Foundation courses, level I


Term no.: 1
Teaching semester:  SPRING 2021

No.of lecture hours: 4
Lab hours: 7
No.of specialization hours: 1

Language of instruction: Norwegian

Location: Trondheim

Subject area(s)
  • Computer and Information Science
  • Informatics
Contact information
Course coordinator: Lecturer(s):

Department with academic responsibility
Department of Computer Science



Examination arrangement: Written examination

Term Status code Evaluation form Weighting Examination aids Date Time Digital exam Room *
Spring ORD Written examination 100/100 C INSPERA
Room Building Number of candidates
  • * The location (room) for a written examination is published 3 days before examination date. If more than one room is listed, you will find your room at Studentweb.

For more information regarding registration for examination and examination procedures, see "Innsida - Exams"

More on examinations at NTNU