course-details-portlet

TDT4127 - Programming and Numerics

About

New from the academic year 2018/2019

Examination arrangement

Examination arrangement: Written examination
Grade: 

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

Course content

The course consists of two parts: Introduction to procedure-oriented programming in Python (2/3) and numerics (1/3).

Procedure-oriented programming:
- Variables and data types.
- Input and output.
- Control structures: Sequence, conditional program flow and repetitions.
- Structuring and modularisation of programs; functions and modules.
- Data structures: Lists, tables, text strings, sets, tuples and dictionaries.
- Persistent storage of data, file input and output, and exceptions.
- Recursion.
- Python as a programming environment.
- Computation of N-dimensional matrixes
- Plot of functions.

Numerics:
- Numeric Integration of Functions: Trapezoidal rule, Simpson's rule, Adaptive Simpson's rule
- Newton's method for finding zeros of a real-value function
- Gaussian elimination for solving systems of linear equations
- Numerical solution of ordinary and partial differential equations

Learning outcome

Knowledge:
- Hold basic knowledge about the basic elements of procedure-oriented programming.
- Hold basic knowledge about the process from a problem to a working program.

Skills:
- Be able to use the basic elements in practical, procedure-oriented programming.
- Be able to use relevant programming tools.
- Be able to analyze a problem, find process and data structures, which solve the problem, formulate a solution as pseudo code or in flow diagrams, and program and test a solution expressed as a Python program.
- Be able to carry out small programming projects.
- Be able to implement numerical computations in Python.
- Hold basic knowledge of numeric methods.

Learning methods and activities

Lectures, exercise lectures, mandatory exercises, and a small mandatory project.

Compulsory assignments

  • Øvinger

Required previous knowledge

Mathematics similar required to attend the two year sivile engineering master program.

Course materials

Announced at the start of semester.

Credit reductions

Course code Reduction From To
TDT4109 5.0
TDT4105 5.0
TDT4110 5.0
More on the course
Facts

Version: 1
Credits:  7.5 SP
Study level: Second degree level

Coursework

Term no.: 1
Teaching semester:  AUTUMN 2018

Language of instruction: Norwegian

Location: Trondheim

Subject area(s)
  • Numerical Mathematics
  • Numerical Mathematics
  • Technological subjects
Contact information
Course coordinator: Lecturer(s):

Department with academic responsibility
Department of Computer Science

Examination

Examination arrangement: Written examination

Term Status code Evaluation Weighting Examination aids Date Time Examination system Room *
Autumn ORD Written examination 100/100 D 2018-11-30 09:00 INSPERA
Room Building Number of candidates
SL120 Sluppenvegen 14 0
SL311 orange sone Sluppenvegen 14 0
SL311 brun sone Sluppenvegen 14 0
SL311 grønn sone Sluppenvegen 14 0
SL238 Sluppenvegen 14 0
SL215 Sluppenvegen 14 0
Summer UTS Written examination 100/100 D 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.
Examination

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

More on examinations at NTNU