CE112 PROCEDURAL AND OBJECT-ORIENTED PROGRAMMING
REVISION TIMETABLE (SUMMER TERM)
Lectures:
Tuesday 1400-1600 weeks 31 and 32 (May 4 and 11) (LTB8)
The week 31 revision lecture will cover C and the week 32 lecture will cover
Java
PAST EXAM QUESTIONS
The CE112 module was taught for the first time in 2008-2009 - hence the only past exam paper for this module is the one from last year. You can find a selection of relevant questions on C from previous CC151 exam papers here.
RECOMMENDED WORK SCHEDULE
Week 2: Read chapter 1 of Deitel & Deitel, start lab 1
Week 3: Complete lab 1 (before your lab), read chapter 2, start lab 2
Week 4: Complete lab 2 (before your lab), read chapter 3 (skipping
section 3.12), section 4.10 and sections 5.1 to 5.6, start lab 3
Week 5: Complete lab 3 (in your lab if necessary), revise for week 6 test, start lab 4, start
assignment 1
Week 6: Complete lab 4 (before your lab), read chapter 6, start lab 5,
continue working on
assignment 1
Week 7: Complete assignment 1 and lab 4, read sections 7.1 to 7.4 and
sections 10.1 to 10.6, start lab 6
Week 8: Complete lab 6 (before your lab), read section 10.11 and chapter
9, start lab 7
Week 9: Complete lab 7, start work on assignment 2, read sections 8.1 to 8.8, start and complete lab 8
Week 10: Continue work on assignment 2, read sections 7.7 to 7.10 and
chapter 13, start lab 9
AUTUMN TERM LECTURE SLIDES (pdf files)
part 1 - introduction
part 2 - variables, expressions, conditional statements
part 3 - while loops, functions
part 4 - arrays, strings, for loops, pointers
part 5 - structures, type definitions, 2-dimensional
arrays, enumerations, switch statements
part 6 - the standard library
part 7 - more operators, the preprocessor, do loops,
scope and lifetime
part 8 - recursion, slef-referential data structures and dynamic memory allocation
Note: There was an error on slide 22 of the printed version of part 5 - there should be no = signs in the enum declarations. On slide 13 of part 7 all occurrences of left and right other than those on the second line should be inverted. The online versions of these handouts have been corrected.
LAB EXERCISES
lab 1 (week 2)
lab 2 (week 3)
lab 3 (week 4)
lab 4 (week 5)
lab 5 (week 6)
lab 6 (week 7)
lab 7 (week 8)
lab 8 (week 9)
lab 9 (to be attempted after you have completed assignment 2)
SOME SOLUTIONS
lab 2
lab 3
lab 4
lab 5
lab 6
lab 7
lab 8
ASSIGNMENTS
The template file for assignment 1: assign1.c
Assignment 2 (deadline 16 December)
Sample data files for testing your programs:
students (for exercise 1),
grid1 (for exercise 2)
SETTING UP THE C COMPILER ON YOUR OWN MACHINE
This guide was prepared for CC151 2 years ago and is not guaranteed to work under Vista.
For Vista users here are some instructions about a installing a different version of the compiler and configuring Textpad to use it
STAFF
LECTURER (AUTUMN TERM) AND MODULE SUPERVISOR
Dr Mike Sanderson
Room 5B.539
email sands@essex.ac.uk
LECTURER (SPRING TERM)
Prof Simon Lucas
Room 4B.526
email sml@essex.ac.uk
Last updated: 4 May 2010