*Official course description for:*

### Foundations of Computing - Discrete Mathematics BSc

##### Course info

##### Programme

##### Staff

##### Course semester

##### Exam

##### Abstract

Discrete Mathematics covers different topics in mathematics, which support many disciplines in software development. The goal of this course is to give the students the ability to apply formal reasoning. The first part of the course is dedicated to learning how to construct logical proofs, proofs on set theory and proofs by induction, while the second half of the course builds upon the first part to cover number-theoretical concepts, graphs, combinatorics, discrete probabilities, and models of computation. The student will obtain the fundamental skill of computational thinking and will be better equipped to tackle technical subjects throughout the curriculum. The course is an introduction to discrete mathematics as a foundation to work within the fields of computer science, information technologies, and software development. The course develops the necessary terminology and conceptual tools needed for later courses.

This includes:

- formal reasoning, proofs, logic, set theory, sequences and sums
- number theory, combinatorics and (discrete) probability theory
- induction, recursion and counting
- relations and functions
- basic graph theory, language theory
- theory and models of computation, such as finite state machines, regular expressions and grammars

##### Description

##### Formal prerequisites

There are no formal prerequisites for this course.##### Intended learning outcomes

After the course, the student should be able to:

- Describe and apply formal definitions
- Conduct and explain basic formal proofs
- Work with regular languages and finite and infinite state machines
- Use models of computation and specification
- Use combinatorial reasoning
- Assess probabilities of events
- Use basic modular arithmetic

##### Learning activities

The course consists of lectures and exercises. The lectures will provide the theory and examples of formal definitions, formal proofs, regular languages, state machines, models of computations, combinatorics, discrete probabilities and modular arithmetic (c.f. ILO). The weekly exercises are written exercises that train the students in working with and apply the theory introduced in the lectures. The problems that the students solve in the weekly exercises will prepare the students for the written exam, as the exam will contain problems of similar nature.

##### Mandatory activities

There are six mandatory assignments that students must hand in though a peer grading system. For each assignment the student must give feedback to their peers at a satisfactory level. Additionally there are two in-class mandatory tests: a midterm and a mock exam.The student will receive the grade NA (not approved) at the ordinary exam, if the mandatory activities are not approved and the student will use an exam attempt.

##### Course literature

Kenneth Rosen, Discrete Mathematics and Its Applications, Global Edition, McGraw-Hill Higher Education, 8th edition, ISBN: 9781260091991

##### Ordinary exam

**Exam type:**

A: Written exam on premises, external (7-trinsskala)

**Exam variation:**

A33: Written exam on premises on paper with restrictions

**Exam description:**

4 hours written exam with no aids. There is no access to advanced electronic tools such as computers, e-Readers or tablets. Only old-fashioned pocket calculators and standard tools for writing on paper are allowed (pen, pencil, eraser, etc.). Only use of ballpoint pen is allowed for the final exam hand-in. Form of re-exam is the same as the ordinary exam.