Course pages 2012–13
Programming in Java
Course Lecturers
![]() | ![]() |
| Alastair Beresford | Andrew Rice |
Game of Life animations (Tick3*)
![]()
![]()
![]()
![]()
![]()
![]()
![]()
View all the submissions for Tick3*: all submissions
Audio representations of the Game of Life (Tick 5*)
Practical sessions
Students are expected to attend one practical session per week. The dates and times of the practical sessions associated with this course are as follows:
| Date | Time | Ticker |
|---|---|---|
| Thursday 17th January | 2pm — 4pm | A & B |
| 4pm — 6pm | C & D | |
| Thursday 24th January | 2pm — 4pm | A & B |
| 4pm — 6pm | C & D | |
| Thursday 31st January | 2pm — 4pm | A & B |
| 4pm — 6pm | C & D | |
| Thursday 7th February | 2pm — 4pm | A & B |
| 4pm — 6pm | C & D | |
| Thursday 14th February | 2pm — 4pm | A & B |
| 4pm — 6pm | C & D | |
| Thursday 21st February | 2pm — 4pm | A & B |
| 4pm — 6pm | C & D | |
| Thursday 28th February | 2pm — 4pm | A & B |
| 4pm — 6pm | C & D | |
| Thursday 6th March | 2pm — 4pm | A & B |
| 4pm — 6pm | C & D |
Workbooks
- Introduction (PDF) and optional Android tutorial (PDF)
- Workbook 1 (PDF) and Tick 1* (PDF)
- Workbook 2 (PDF) and Tick 2* (PDF)
- Workbook 3 (PDF) and Tick 3* (PDF)
- Workbook 4 (PDF) and Tick 4* (PDF)
- Workbook 5 (PDF) and Tick 5* (PDF)
- Workbook 6 (PDF) and Tick 6* (PDF)
- Workbook 7 (PDF) and Tick 7* (PDF)
You may find the restart guide (PDF) helpful if you need to reboot your PWF workstation from Windows into Linux.
Workbook Errata
The printed workbooks contain (at the very least!) the following errors. Errors are indexed by workbook (W), page (P) and line (L), which may be negative, indicating that the reader should count upwards from the bottom of the page. These errors have been corrected in the on-line versions of the workbooks shown above. If you find any further errors, please email ticks1a-admin[at]cl.cam.ac.uk.
| W | P | L | Errata | Corrige | From |
|---|---|---|---|---|---|
| 7 | 10 | -25 | three protected methods | four projected methods ... | ojgl2 |
| 7 | 11 | 12 | provide implementation of setSourceThreeStar | ojgl2 |
Bit visualisation programs
You can download three bit visualisation programs from this website:
- b2d.jar (exploring binary to decimal conversion)
- d2b.jar (exploring decimal to binary conversion)
- bitwise.jar (exploring bitwise operators)
To use the programs, download them to your home directory, start a new shell, and run the jar file as described in the workbook. For example, to run bitwise.jar you would type the following:
java -jar bitwise.jar
Each program will print out a helpful usage message which you can use to work out what additional options to give the program. Ask a demonstrator for help if you get stuck.


