EEN118, Programming I, Autumn 2005
- Library downloads and documentation
- Summary of the Most Useful graphics functions
- Guide to using Unix
- Geographical data files
- First mid-term: Thursday 20th October.
- Second mid-term: Tuesday 22nd November.
- Final Examination: Tuesday 13th December.
- Class History:
- Class 1 (25-8-2005) General introductions; what the class is about, what programming really is.
- Class 2 (30-8-2005) Case study of software development process:
(database sample),
(the program's development).
- Class 3 (1-9-2005) Finishing the structured development overview; Entering, compiling, and running a program.
- Class 4 (6-9-2005) The structure of a program, constants, literals, expressions, and functions.
- Class 5 (8-9-2005) Arithmetic and Functions (notes part 1),
(notes part 2).
- Class 6 (13-9-2005) Naming constants for Correctness, Self-Commenting code, Maintainability, Efficiency, Sequencing.
- Class 7 (15-9-2005) (today's samples) Predicting overflow, two-to-the-power-ofs; Conditional Execution.
- Class 8 (20-9-2005) Hurricane day, no class.
- Class 9 (22-9-2005) Review examples, happy street scene (notes).
- Class 10 (27-9-2005) Professional responsibility in programming, the Mariner 1 probe; printf and switchable debugging; Scope of declarations.
- Class 11 (29-9-2005) Repetition with functions: how do you do something 1000 times? Recursion; the bigger/smaller guessing game.
- Class 12 (4-10-2005) (punched card demo); Serious use of recursion: numbers in English.
- Class 13 (6-10-2005) Introducing loops and variables: while, break, declaration, assignment; many examples.
- Class 14 (11-10-2005) Loop examples: formatted table;
square-root calculator v1;
and v2;
day number calculator.
- Class 15 (13-10-2005) (A Warning),
Structured development, today's samples:
0,
1,
2,
3,
4,
5;
Full date calculator.
(and a reduced library.h for console apps).
- Class 16 (18-10-2005) Analysing programs to work out what they do; another composition study.
- Class 17 (20-10-2005) Mid-Term Exam.
- Class 18 (25-10-2005) Hurricane day, no class.
- Class 19 (27-10-2005) Hurricane day, no class.
- Class 20 (1-11-2005) Fractals - design case study. (screen captures 1
2
3),
(source),
(executable (win)).
- Class 21 (3-11-2005) Question 1; <iostream>, <fstream>, etc. Using cin, cout, and files.
- Class 22 (8-11-2005) (intro sample).
Introducing Objects (structs), points and triangles example.
(Today's worked example)
- Class 23 (10-11-2005) (cube sample cpp, exe) More on objects: weights and measures, dates and times.
- Class 24 (15-11-2005) (samples) Introduction to arrays and digital audio.
- Class 25 (17-11-2005) Reviewing files, objects, and arrays: normalizing sound levels, counting occurences, simple database.
- Class 26 (22-11-2005) Mid-Term Exam.
- Class 27 (29-11-2005) File processing and Arrays, Digital Elevation Models.
(data files here),
demo viewers: 1,
2,
3,
4.
- Class 28 (1-12-2005) The hippopotamus family; database operations; sorting an array.
- Class 29 (6-12-2005) For-loops, and occasional convenience; Orbital mechanics by simulation
(.cpp,
.exe).
- Class 30 (8-12-2005) Image processing case study, the day I swallowed a dog.
(samples: contrast enhancing program,
image-file-1,
image-file-2)
- Class 31 (13-12-2005) Final Exam.
- Lab History:
- Lab 1 (1/2-9-2004) Using visual C++ to run programs; drawing stick figures.
- Lab 2 (8/9-9-2004) Structured Design: drawing stars, Texan flag, U.S. flag.
- Lab 3 (15/16-9-2004) Clean design: interactive cannon aiming game.
- Lab 4 (substitute) (22/23-9-2004) Make the Street Scene happen.
- Lab 4 (real) (29/30-9-2004) More of structured design: An analogue clock.
- Lab 5 (6/7-10-2004) Graph plotting.
- (13/14-10-2004) No lab due to microscopic holiday on Friday.
- Lab 6 (20/21-10-2004) Using Unix (sample)
and Creating your own web site. (bring digital image if you've got one).
- Lab 7 (3/4-11-2004) Ecological simulations: grass, bunnies, foxes, dinosaurs (samples).
- Lab 8 (10/11-11-2004) An interactive map of the U.S.A. (download data file)
- Lab 9 (17/18-11-2004) Audio Processing.
- Lab 10 (1/2-12-2004) Video game, part 1.
- Lab 10 (8/9-12-2004) Video game, part 2.