Skip to main content

INF2-IADS - top navigation

  • Learn
  • Piazza
  • DRPS

Breadcrumb

  1. Home
  2. INF2-IADS: 2023-24

INF2-IADS: Schedule and Course Materials for Semester 1 (Autumn 2023)

Below you can find the schedule for Semester 1. You may also access the material from last year if you would like a preview of what's coming, but do keep in mind that this will eventually be replaced by new material - similar but updated.

Week (commencing)DateEventLecturerTopicReading
 1   (18 Sept)Tue 19 SeptLecture 1Aris and John

Lecture 0 - Course admin 

Lecture 1 - Overview of course content    

Recording from previous years

Algorithms Illuminated 1.1., 10.1.

                                                          
CLRS 1

Thu 21 SeptLecture 2John

Lecture 2 - Inefficient vs. efficient algorithms

Add-on: Searching and sorting "the obvious way"

Recording from previous years

CLRS 2.1, CLRS 2.3, CLRS 31.6 (second half)

Algorithms Illuminated 1.4, 1.5.

KT 2.1, 2.4. (Merging two sorted lists), 5.1. (only page 210, but read through 5.1 if you are interested). 

2   (25 Sept)Mon 25 Wed 27 SeptLab 1 

Lab Sheet 1: Getting started in Python

Sheet 1 solutions

Lab Sheet 2: Writing programs in Python 

Sheet 2 solutions

 
Tue 26 SeptLecture 3John

Lecture 3 - Asymptotic notation: Little o and omega

Recording from previous years

Algorithms Illuminated 2

KT 2.2, 2.4

CLRS 3 (does everything)

GGT 3.3, 3.4

Thu 28 SeptLecture 4John

Lecture 4 - More asymptotics: Big O, Omega, and Theta

Recording from previous years

As for Lecture 3
3  (02 Oct)Mon 02                          
Wed 04                          
Oct
Lab 2 

Lab Sheet 3: Classes and more

queue.txt (.py file not accepted by OpenCourse - sorry for inconvenience!)

numbers1.txt, numbers2.txt, numbers3.txt, 

numbers4.txt, numbers5.txt 

Sheet 3 solutions

 
Multiple datesTutorial 1 

Tutorial 1 - Asymptotic Notation

Solutions

 
Tue 3 OctLecture 5John

Lecture 5 - Asymptotic analysis of sorting algorithms

Recording from previous years

Roughgarden 1.5, 1.6

KT 2.4/4.1 

CLRS 2.2

Thu 5 OctLecture 6John

Lecture 6 - Representation of program data in memory

Recording from previous years

CLRS 10.2, 10.3

Python documentation: Data model (just 3.1)

 4  (09 Oct)Multiple datesTutorial 1 

Tutorial 2 - Analysis of Algorithms

Solutions

 
Tue 10 OctLecture 7John

Lecture 7 - Abstract data types: Lists, stacks, queues   

Recording from previous years

Array expansion:              
GTG 5.1-5.4, Sedgewick 1.4, CLRS 17.4

Stacks + queues:              
GTG 6.1, 6.2, 7.1, Sedgewick 1.3, CLRS 10

Thu 12 OctLecture 8John

Lecture 8 - Sets, dictionaries and hashing

Recording from previous years

Roughgarden 12.1-12.4 (recommended!),              
GTG 10.1, 10.2,              
Sedgewick 3.4
 5  (16 Oct)Tue 17 OctLecture 9John

Lecture 9 - Balanced trees   

Recording from previous years

Sedgewick 3.2 (first half) and 3.3 (second half)

CLRS 12.1-3, 13.1-3

Thu 19 OctLecture 10John

Lecture 10 - Divide-conquer-combine and the Master Theorem

Recording from previous years

 
 6   (23 Oct)Multiple DatesLab 3 Drop-in for coursework 1 
Multiple DatesTutorial 3 

Data structures for lists and sets

Solutions

 
Tue 24 OctLecture 11Aris

Lecture 11 - Heapsort

Lecture 11 - Heapsort (.key file, better animations)

Recording from previous years       
(caution: different lecturer, different slides, presents all heap operations in Lecture 11 and Heapsort in Lecture 12). 

CLRS 6.1-6.4

KT 2.5 (uses min-heap)

Roughgarden 10.2, 10.3.1, 10.5 (caution: RG uses min-heap and the terms "Heapify" for Build-Max-Heap and implements Min-Heapify as part of "ExtractMin").

7 (30 Oct)Multiple DatesLab 4 Drop-in for coursework 1 
Tue 31 OctLecture 12Aris

Lecture 12 - Heap operations and Priority Queues

Lecture 12 - Heap operations and Priority Queues (.key file, better animations)

Recording from previous years       
(caution: different lecturer, different slides, presents all heap operations in Lecture 11 and Heapsort in Lecture 12). 

CLRS 6.5

KT 2.5 (uses min-heap)

Roughgarden 10.2, 10.5 (caution: RG uses min-heap and the terms "Heapify" for Build-Max-Heap and implements Min-Heapify as part of "ExtractMin").

 8   (6 Nov)Multiple DatesLab 5*Drop-in for coursework 1 
Multiple DatesTutorial 4*The Master Theorem and Heaps    

Solutions
 
Tue 7 Nov Lecture 13Aris

Lecture 13 - Quicksort and the limitations of sorting algorithms

Recording from previous years      
(caution: different lecturer, different slides, slightly different content). 

CLRS 7.1-7.3, 8.1.    
CLRS 7.4 (only if you are interested)

Roughgarden 5.1-5.4, 5.6    
Roughgarden 5.5 (only if you are interested)

 9   (13 Nov)Tue 14 NovLecture 14Aris

Lecture 14 - Graphs, DFS, and BFS

Lecture 14 - Graphs, DFS, and BFS (.pdf)

Recording from previous years    
(caution: different lecturer, different slides, slightly different content). 

KT 3.2., 3.3.    
Roughgarden 8.1., 8.2., 8.4.    
CLRS 20.1., 20.2., 20.3.
 10   (20 Nov)Multiple DatesTutorial 5*

Sorting, BFS, and DFS

Solutions

 
Tue 21 NovLecture 15Aris

Lecture 15 - Testing Bipartiteness and Topological Sort

Lecture 15 - Testing Bipartiteness and Topological Sort (.pdf)

Recording from previous years  
(caution: different lecturer, different slides, slightly different content).

KT 3.4., 3.6.

Roughgarden 8.5.

CLRS 20.4.

Notes: Roughgarden and CLRS do not cover testing for bipartiteness. They also approach topological sort via DFS. 

                          MATERIAL FROM PREVIOUS YEARS
 10   (20 Nov)variesTutorial 5*Quicksort and BFS 
Tue 21 NovLecture 15Mary

Lecture 15 - Graphs II:  DFS and Topological Sort

Recording from previous years

CLRS 22.4

 

License
All rights reserved The University of Edinburgh

Book traversal links for INF2-IADS: Schedule and Course Materials for Semester 1 (Autumn 2023)

  • INF2-IADS: Course Learning Outcomes and Outline
  • Up
  • INF2_IADS: Past exam papers

Navigation links

  • INF2-IADS: Course Information, Semester 1
  • INF2-IADS: Course Learning Outcomes and Outline
  • INF2-IADS: Schedule and Course Materials for Semester 1 (Autumn 2023)
  • INF2_IADS: Past exam papers
  • INF2-IADS: Course Information, Semester 2
  • INF2-IADS: Schedule and Course Materials for Semester 2 (Spring 2024)
  • INF2-IADS: Resource List
  • INF2-IADS: Assessment
  • INF2-IADS: Course Contacts
RSS feed

Opencourse privacy & accessibility statements; contact Informatics, ILTS.