Lecture notes and other supporting materials from a module given by me for the Mathematics Department of Nottingham University in 1999 and other years. Supplied as is, with no warranty as to their continued correctness! Use as you see fit, but please achnowledge this site if you publish or publicise this material.
There will be two lectures per week, and a problem class in alternate weeks. Assessment will be by a two-hour written examination. Coursework will be set, but it will not count for assessment. Lecture notes, problem class notes, coursework and solutions will appear on the Web, in pages referenced from this one [see below]. If you do not already know how to use a Web browser, you are strongly encouraged to find out! From the Web, you can get either soft [disc file] or hard [printed] copies of any of these notes, which you may use as you like for purposes related to the module [but note the copyright; you may not publish them elsewhere, or pass them off as your own work]. Note added 2016: these conditions now relaxed -- ANW
Please note: The information on the Web is for your convenience. You will get the usual sorts of handouts, such as problems, in paper form. I neither require nor expect you to print everything out and read along with it as I lecture!
If you do decide to print everything out using the Department's facilities, you will find it quite expensive [though much cheaper than a textbook, and much faster than writing it out yourself!]. Here are some hints for making it cheaper: (a) You don't have to print to a laserwriter -- any old printer will do. Nor do you have to do it in C30 -- you are welcome to copy the files to floppies and print them off anywhere you find cheap printing facilities. (b) You don't have to print out the whole file -- feel free to take a copy and edit out the headers and footers and anything else you don't really want printed. (c) You can use a smaller font -- students with normal eyesight should be able to read at 6-point size, which gets most of the material onto a single page per lecture. (d) Share with your friends -- print one copy and take photocopies [which can be reduced, double-sided, whatever]. (e) There is a Unix facility, psnup, which will take a PostScript file [obtained by careful setting of options in the `print preview' menu item] and print it 2 or 4 pages to one sheet of paper.
Lecture 1 -- Algorithms | Lecture 11 -- NP-completeness |
Lecture 2 -- Searching | Lecture 12 -- Some NP-complete problems |
Lecture 3 -- Pseudo-algorithms | Lecture 13 -- Beyond NP-completeness |
Lecture 4 -- Sorting I | Lecture 14 -- Cryptography |
Lecture 5 -- Sorting II | Lecture 15 -- What is a computer? |
Lecture 6 -- Minimum spanning tree | Lecture 16 -- From finite to infinite |
Lecture 7 -- Pattern matching | Lecture 17 -- Powers and limits of TMs |
Lecture 8 -- Eight Queens, etc. | Lecture 18 -- More limits of TMs |
Lecture 9 -- Feasibility | Lecture 19 -- Computable numbers and functions |
Lecture 10 -- The classes P and NP | Lecture 20 -- Minimalist computers |
The last few lecture slots will be occupied by revision classes; these will be of a nature similar to problem classes, but attendance will not be compulsory. During the `revision week', I shall keep `office hours' at the lecture times for otherwise unscheduled consultations with students. You are, of course, welcome to see me at any other time, whether or not by appointment, but at random times you take pot luck as to whether I am available and in my office.
Problem class 1 -- Hamming's problem | Problem class 1 -- Discussion |
Problem class 2 -- Median/Sorting | Problem class 2 -- Discussion |
Problem class 3 -- Backtracking/Feasibility | Problem class 3 -- Discussion |
Problem class 4 -- NP-completeness | Problem class 4 -- Discussion |
Problem class 5 -- Machines | Problem class 5 -- Discussion |
Coursework 1 -- Algorithms | Coursework 1 -- Solutions |
Coursework 2 -- NP-completeness | Coursework 2 -- Solutions |
Coursework 3 -- Computability | Coursework 3 -- Solutions |
`Mock' Exam | `Mock' Exam -- Solutions |
1996-97 Exam [not yet available] | 1996-97 Exam -- Model Solutions |
1997-98 Exam [not yet available] | 1997-98 Exam -- Model Solutions [not yet available] |
1998-99 Exam [defininitely not yet available!] | 1998-99 Exam -- Model Solutions [likewise] |