EEN118, Programming I, Autumn 2004
- Library downloads and documentation
- Guide to using Unix
- The book(s) (last modified 26-8-2004)
- First mid-term: Tuesday 19th October 2004.
- Second mid-term: Tuesday 23rd November 2004. (Solutions here, .doc file).
- Final Examination: Thursday 9th December 2004, 11am to 1pm.
- Class History:
- Class 1 (26-8-2004) General introductions; what the class is about, preview of what you'll do.
- Class 2 (31-8-2004) What programming is about; how to use visual C++ failed demo: bad software.
- Class 3 (2-9-2004) No class, campus closed.
- Class 4 (7-9-2004) Successful demonstration: how to use visual C++ versions 6 and 7.
- Class 5 (9-9-2004) Program components and layout; defining functions; integer overflow.
- Class 6 (14-9-2004) I've forgotten what we did that day: any ideas?
- Class 7 (16-9-2004) special types, type conversions in expressions, type-casts; functions with values.
- Class 8 (21-9-2004) Virtual Lab: scientific method applied to the development process.
- Class 9 (23-9-2004) Scope of declarations; functions that return results; conditional expressions.
- Class 10 (28-9-2004) Conditional execution: if statements, else, circular definition of "statement".
- Class 11 (30-9-2004) Complex program development example (part 1) drawing a house
- Class 12 (5-10-2004) Complex program development example (part 2) controlled repetition, random house, whole street.
- Class 13 (7-10-2004) loops and variables; verifying user input; the guessing game.
- Class 14 (12-10-2004) What is expected for the coming test; digits from floating point numbers.
- Class 15 (14-10-2004) Case study, recursive function development: saying numbers in words.
- Class 16 (19-10-2004) Mid-term examination.
- Class 17 (21-10-2004) Tracing complicated functions; listing primes;
- Class 18 (26-10-2004) Searching: reversing a function (factorial e.g.); searching a database;
- Class 19 (28-10-2004) Sorting a database; Binary chop search; timing: N, N-squared, and log-N operations.
- Class 20 (2-11-2004) Search implementations; inverting monotonic functions; update (e.g. +=) operations.
- Class 21 (4-11-2004) Bunnies and Planets; simulations; uncertainty; chaos theory.
- Class 22 (9-11-2004) Special day with Arnaud the Lab Guy, printf etc.
- Class 23 (11-11-2004) Arrays: factory clock-in and out example.
- Class 24 (16-11-2004) Arrays: sound generation, fourier, etc; arrays as parameters, two-dimensional arrays.
- Class 25 (18-11-2004) more arrays, 2 and 3 dimensional, create, initialise, pass as parameter, size vs. shape.
- Class 26 (23-11-2004) Mid-term examination. Sections 10, 11, 13; basics of 12.1-12.4, review section 9.
- Class 27 (30-11-2004) Tests returned; introducing objects/structs: shop stock-keeper example.
- Class 28 (2-12-2004) All about structs.
- Lab History:
- Lab 1 (9/10-9-2004) Using visual C++ and unix to run programs; telnet; ftp.
- Lab 2 (16/17-9-2004) Modular structred development: flag drawing.
- Lab 3 (23/24-9-2004) Physics simulation: ballistic trajectories.
- Lab 4 (30-9/1-10-2004) Animating a clock.
- Lab 5 (7/8-10-2004) Mathematics: plotting a scaled graph
- Lab 6 (14/15-10-2004) Calculating day of week, printing a formatted calendar.
- Lab 7 (28/29-10-2004) Ecological simulations: grass, bunnies, foxes, dinosaurs.
- Lab 8 (4/5-11-2004) An interactive map of the U.S.A. (download data file)
- Lab 9 (11/12-11-2004) Database file operations (file downloads:
1,
2,
3,
10; these are not real people)
- Lab 10 (18/19-11-2004) Robotic maze exploration game Part One (starter maze).
- Lab 11 (2/3-12-2004) Part Two of lab 10.