Week 2

Lectures

Lecture 1

The first lecture introduces 2 dimensional arrays and matrix multiplication.

Lecture 2

The second lecture starts our exploration of sorting with two simple sorts: bubble sort and selection sort.

Lecture 3

The third lecture covers insertion sort.

Tutorial and Lab

Tutorial

The tutorial contains questions from which the quiz, the sessionals and the final will be selected.

Lab

In this lab you will demonstrate a program that will read and print arrays. The program should also be able to save and load arrays from a file.

For next week you will need to download wk2-arrays.zip. to do that use the command "wget ds.nathanielgmartin.com/wk2-arrays.zip". Once you have downloaded the file unzip it. The files there will constain the stubs you will need for the demo in Week3.

Backlog

Arrays Backlog

This is the backlog you will be working from this week.