| Computer Laboratory Course material 2009–10 |
Programming in Java
|
| Date | Time | Ticker |
|---|---|---|
| Thursday 14th January | 2pm — 4pm | A & B |
| 4pm — 6pm | C & D | |
| Thursday 21st January | 2pm — 4pm | A & B |
| 4pm — 6pm | C & D | |
| Thursday 28th January | 2pm — 4pm | A & B |
| 4pm — 6pm | C & D | |
| Thursday 4th February | 2pm — 4pm | A & B |
| 4pm — 6pm | C & D | |
| Thursday 11th February | 2pm — 4pm | A & B |
| 4pm — 6pm | C & D | |
| Thursday 18th February | 2pm — 4pm | A & B |
| 4pm — 6pm | C & D | |
| Thursday 25th February | 2pm — 4pm | A & B |
| 4pm — 6pm | C & D | |
| Thursday 4th March | 2pm — 4pm | A & B |
| 4pm — 6pm | C & D |
![]()
![]()
![]()
![]()
![]()
![]()
![]()
![]()
![]()
![]()
![]()
![]()
The submissions for Tick 3* can be viewed here
A description of how each submission works can be viewed here
The workbook for each practical class will appear here just prior to the start of the practical session.
You may find the restart guide helpful if you need to reboot your PWF workstation from Windows into Linux.
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 |
|---|---|---|---|---|---|
| 2 | 4 | -5 | should not leave the PackedLong class in the tick2 package | should not leave the PackedLong class in the tick1 package | cv274 |
| 2 | 5 | -22 | the method PackedLong.set in Tick 2 | the method PackedLong.set in Tick 1 | arb33 |
| 4 | 10 | -10 | The source code and byte code for PatternLife is required. | Add: PatternLife.java and PatternLife.class | cjre3 |
| 4* | 1 | 7 | teaching/0809/ProgJava/life.txt | teaching/current/ProgJava/life.txt | fr272 |
| 7 | 12 | 1 | Make the variable patternList inside the method setPatterns in the class PatternPanel a private field of the class instead. (This will allow the event handler you write in the next step to access the list of patterns referenced by patternList.) | Create a new field called patternList in the class PatternPanel. Change the method setPatterns in the class PatternPanel to update the field patternList to reference the method argument list whenever the setPatterns method is called. (This will allow the event handler you write in the next step to access the list of patterns by referencing the field patternList.) | acr31 |
You can download three bit visualisation programs from this website:
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.
Students have been assigned the following seats for the practical classes. Please email the Principal Lecturers without delay if your name is not on this list and you are a Part IA CST student or otherwise due to offer Paper 1 of Part IA CST.
| Student | Ticker | Machine |
|---|---|---|
| Akra, A.M. | A | PCCL001 |
| Allen, J.-M.A. | A | PCCL002 |
| Amarsi, A.M. | A | PCCL003 |
| Balogh, M. | A | PCCL004 |
| Bargery, L.J. | A | PCCL005 |
| Beardmore, F.S.W. | A | PCCL006 |
| Beaumont, S.J. | A | PCCL007 |
| Bergman, A. | A | PCCL008 |
| Bland, J.R. | A | PCCL010 |
| Bowers, W.A. | A | PCCL011 |
| Burksaitis, A. | A | PCCL012 |
| Bytheway, T.A. | A | PCCL013 |
| Chau, K.C.I. | A | PCCL014 |
| Chen, D. | A | PCCL015 |
| Colliver, E.C. | A | PCCL016 |
| Conway, M.J. | A | PCCL017 |
| Cowan, P.R. | A | PCCL018 |
| Lockett, J.A. | A | PCCL019 |
| Long, X. | A | PCCL020 |
| Lonsdale, T.B. | A | PCCL021 |
| Lucas, S.E. | A | PCCL022 |
| Marsh, W. | A | PCCL023 |
| Morland, W.M. | A | PCCL024 |
| Norris, J.J. | A | PCCL025 |
| Ostasevicius, T. | A | PCCL026 |
| Pappenheim, E.R. | A | PCCL027 |
| Paris, J. | A | PCCL067 |
| Pinski, P. | A | PCCL028 |
| Potts, A.T. | A | PCCL029 |
| Reed, S.L. | A | PCCL030 |
| Rex, S.K. | A | PCCL031 |
| Robertson, A. | A | PCCL032 |
| Robertson, F.R. | A | PCCL033 |
| Ryrie, A.M. | A | PCCL034 |
| Cross, S.M. | B | PCCL035 |
| Cunningham, E.J. | B | PCCL036 |
| Day, F.V. | B | PCCL037 |
| Day, M.D.J. | B | PCCL038 |
| Dittes, B.C.M. | B | PCCL039 |
| Gibbons, A.H. | B | PCCL040 |
| Goodenough, M.W.A. | B | PCCL041 |
| Guruswamy, T. | B | PCCL042 |
| Hall, R.M. | B | PCCL043 |
| Harvey, D.M. | B | PCCL044 |
| Hillary, E.J. | B | PCCL045 |
| Hobson Sayers, A.P. | B | PCCL046 |
| Keen, W.P. | B | PCCL047 |
| Kenyon, W. | B | PCCL048 |
| Lepper, A.J. | B | PCCL049 |
| Sargent, M.J. | B | PCCL050 |
| Seaton, J. | B | PCCL051 |
| Semeniuk, K. | B | PCCL052 |
| Shah, J. | B | PCCL053 |
| Shaikh, A.A. | B | PCCL054 |
| Silaghi, D. | B | PCCL055 |
| Skehin, N. | B | PCCL056 |
| Soloviev, M. | B | PCCL057 |
| Stannard, O.J. | B | PCCL058 |
| Stanyon, P.G. | B | PCCL059 |
| Tait, E.W. | B | PCCL060 |
| Tang, H. | B | PCCL061 |
| Tang, S. | B | PCCL062 |
| Tian, B. | B | PCCL063 |
| Tomlinson, N.S. | B | PCCL064 |
| Wang, R. | B | PCCL065 |
| Whitehead, R.J.F. | B | PCCL066 |
| Aboobakar, M.F. | C | PCCL001 |
| Ahmed, M. | C | PCCL002 |
| Arulkumaran, K. | C | PCCL003 |
| Ashton, E.D. | C | PCCL004 |
| Caller, B.S. | C | PCCL005 |
| Cheung, H.C.S. | C | PCCL006 |
| Chowdhury, M.R. | C | PCCL007 |
| Crooks, N.S.C. | C | PCCL008 |
| Curello, G. | C | PCCL010 |
| Danka, M.A. | C | PCCL011 |
| Elsby, C.J.R. | C | PCCL012 |
| Green, D. | C | PCCL013 |
| Hellier, J.D.M. | C | PCCL014 |
| Herbst, M.F. | C | PCCL015 |
| Hinks, M.J. | C | PCCL016 |
| Lawrence-Jones, J.V. | C | PCCL017 |
| Lim, K.V.R. | C | PCCL018 |
| Mannan, F.A. | C | PCCL019 |
| Mao, J.X. | C | PCCL020 |
| Mehandzhiyski, Y.R. | C | PCCL021 |
| Narula, H. | C | PCCL022 |
| Nguyen, H.M.T. | C | PCCL037 |
| Pace, E.T. | C | PCCL023 |
| Peskett, M. | C | PCCL024 |
| Roffey, J. | C | PCCL025 |
| Sarkar, A. | C | PCCL026 |
| Shaw, B.D. | C | PCCL027 |
| Tchokni, S.E. | C | PCCL028 |
| Thamotheram, D.G. | C | PCCL029 |
| Tran, T.K. | C | PCCL030 |
| Tsoi, M.C. | C | PCCL031 |
| Irish, H.C. | D | PCCL032 |
| Jarvis, M.F. | D | PCCL033 |
| Jones, R.L. | D | PCCL034 |
| Killough, M.J. | D | PCCL035 |
| Kram, J.D. | D | PCCL036 |
| Lica, A.S. | D | PCCL038 |
| Lindstrom, C.A. | D | PCCL039 |
| Liotsiou, D. | D | PCCL040 |
| Loew, D. | D | PCCL041 |
| Low, W.X.A. | D | PCCL042 |
| Maughan, J.M. | D | PCCL043 |
| McManus, M.D. | D | PCCL044 |
| Norman, S.M. | D | PCCL045 |
| Tsoi, Y.C.J. | D | PCCL046 |
| Vaghela, M.B. | D | PCCL047 |
| Vaquero-Stainer, C.P. | D | PCCL048 |
| Vriend, P.B. | D | PCCL049 |
| Webb, B.J. | D | PCCL050 |
| Wells, A.W.J. | D | PCCL051 |
| Withnall, P.R. | D | PCCL052 |
| Wood, E.W. | D | PCCL053 |
| Wood, J.A. | D | PCCL054 |
| Xie, C. | D | PCCL055 |
| Xu, B. | D | PCCL056 |
| Yeeles, P.M. | D | PCCL057 |
| Zabarauskas, M. | D | PCCL058 |
| Zupkauskas, M. | D | PCCL059 |