Hoppa till huvudinnehållet
Till KTH:s startsida

ID1021 Algorithms and Data Structures 7,5 hp

Course memo Autumn 2021-50091...

Version 1 – 09/12/2021, 8:39:07 PM

Course offering

Autumn 2021-1 (Start date 30/08/2021, Swedish)
Autumn 2021-2 (Start date 30/08/2021, English)

Language Of Instruction

Swedish/English

Offered By

EECS/Computer Science

Course memo Autumn 2021

Headings denoted with an asterisk ( * ) is retrieved from the course syllabus version Autumn 2021

Content and learning outcomes

Course contents

Basic algorithm analysis:

  • Simpler analysis with respect to the resource needs of algorithms in the form of time and memory.

Fundamental algorithms:

  • simple numerical algorithms
  • sequential and binary search algorithms
  • Depth first search and Width first search.
  • sorting algorithms: selection sorting, insertion sorting, Quicksort, heapsort, mergesort.

Fundamental data structures:

  • linear lists, stacks, queues, hash tables, binary tree, heaps, binary search trees and problem trees.

Program Design:

  • design and implementation of programmes that use basic algorithms and data structures to solve computer science problems.

Intended learning outcomes

On completion of the course, students should be able to

  • describe a number of common algorithms for search and sorting and their properties
  • compare algorithms with regard to time and memory usage
  • implement data structures as linear lists stacks, queues, hash tables, binary tree and search trees
  • identify problems where the data structures above are useful and design simple algorithms with these
  • write programmes that use algorithms and data structures by means of good programming principles such as systematic tests and abstraction
  • model problems as search problems and implement algorithms for breadth-first-search, depth-first-search or best-first-search

in order to

  • be able to design programmes that solve problems by using commonly occurring algorithms and data structures
  • acquire sufficient prior knowledge to be able to take advanced courses in computer science.

Preparations before course start

Literature

No information inserted

Examination and completion

Grading scale

A, B, C, D, E, FX, F

Examination

  • ARBA - Course work, 4.5 credits, Grading scale: P, F
  • TENA - Written exam, 3.0 credits, Grading scale: A, B, C, D, E, FX, F

Based on recommendation from KTH’s coordinator for disabilities, the examiner will decide how to adapt an examination for students with documented disability.

The examiner may apply another examination format when re-examining individual students.

Ethical approach

  • All members of a group are responsible for the group's work.
  • In any assessment, every student shall honestly disclose any help received and sources used.
  • In an oral assessment, every student shall be able to present and answer questions about the entire assignment and solution.

Further information

No information inserted

Round Facts

Start date

30 Aug 2021

Course offering

  • Autumn 2021-50091
  • Autumn 2021-50517

Language Of Instruction

Swedish/English

Offered By

EECS/Computer Science

Contacts

Course Coordinator

Teachers

Teacher Assistants

Examiner