BMA1020 - Mathematics for Programming


Examination arrangement

Examination arrangement: Portfolio assessment
Grade: Letters

Evaluation Weighting Duration Grade deviation Examination aids
Portfolio assessment 100/100

Course content

Probability theory
- Discrete Probability
- Expectation and variance
- Simulations
- Absorbing Markov Chains
- Introduction to Python

- Bitwise logic, binary form of negative and floating point numbers
- Logical puzzles
- Backtracking
- Programming with functions and relations

Introduction to Python and Haskell

Matrices for 3 dimensional geometry
- Transformations in 3 dimensions
- Projective and perspecitve transformations
- Rotations, Euler angles and quaternions

Procedural Methods
- Flocking
- Perlin noise and midpoint displacement
- Interpolation

- Differentiation and integration of elementary functions
- Newtons laws
- Elastic collisions
- Particle systems

Learning outcome

Knowledge about
- Applications of mathematics in programming
- Elementary mechanics for games/applications
- The role of mathematics in software development

Skills in
- Translating mathematics to code
- Using relevant mathematical symbols and formulas
- Applying mathematical libraries in C++
- General logical and mathematical reasoning

General competencies
- Problem solving and description of problems and their solutions
- Programming
- Written communication in English

Learning methods and activities

Lectures and tutorials

Compulsory assignments: Up to 6 compulsory assignments

Compulsory assignments

  • Øvinger

Further on evaluation

Re sit exam in August

Specific conditions

Compulsory activities from previous semester may be approved by the department.

Course materials

Published notes and downloadable books. Web resources.

More on the course



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


Term no.: 1
Teaching semester:  SPRING 2021

Language of instruction: English

Location: Gjøvik

Subject area(s)
  • Mathematics
Contact information
Course coordinator:

Department with academic responsibility
Department of Mathematical Sciences


Examination arrangement: Portfolio assessment

Term Status code Evaluation Weighting Examination aids Date Time Digital exam Room *
Spring ORD Portfolio assessment (1) 100/100


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.
  • 1) Merk at eksamensform er endret som et smittevernstiltak i den pågående koronasituasjonen. Please note that the exam form has changed as a preventive measure in the ongoing corona situation.

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

More on examinations at NTNU