1B1b 2004

Home Up

Programming II (Object-Oriented Programming with Java)

This is the 1st year Term 2 programming course, taken by all 1st year students, covering object-oriented programming with Java.

Note - 1B1b is a new half-unit course that replaces term 2 of the old one-unit course 1B11.

Programming Lecture Slides

(Lecture slides are all in PDF format. Slides sets will be added as the course progresses.)

Course Introduction
Classes Part I
Classes Part II
Classes Part III
Testing
Doing the Mini-Project Properly
Inheritance
Data Structures

Within the CS Department pdf files can be printed on a laser printer only. When viewing a pdf file in the web browser, click the print button, or print menu item.

Additional Notes and Resources

The following notes are available in addition to the contents of the course text. Don't forget that you must read the course text.

KeyboardInput class
FileInput class
FileOutput class
Installing the Java Development Kit and setting your CLASSPATH
Robot Program
Phonebook Program
SnackBar Program
Design Notes
UML Class Diagram
Source Code
Text-based list of underground lines and stations
Data Structure Classes
Linked List
Binary Tree
Chained Hash Table
Linear Probing Hash Table

Lab Groups

Group  List

Programming Exercises and Coursework

Exercises 1 (aim to finish by Friday 23rd January)
Exercises 2 (aim to finish by Friday 6th February)
Exercises 3 (aim to finish by Tuesday 26th February)
Mini-Project (finish by 26th March)

Past Exam Papers

As 1B1b is a new course there are no past papers but a sample paper will be made available.

1B1b replaces term 2 of 1B11 but the 1B11 past papers are still relevant when revising for the 1B1a and 1B1b exams. The following past 1B11 papers are available: 

2003 paper (pdf format)
2002 paper (pdf format)
2001 paper (pdf format)
2000 Paper (pdf format)
1999 Paper (pdf format)

Past papers for all other CS courses can be found at the Past Papers web page.

Java Resources

The CS Java Page provide additional information about using Java on the CS department machines. 

The local copy of the Javadoc documentation can be found here. The lists of classes can be directly accessed here. 

Course Text

It is essential that you obtain and read a copy of this book:

A Textbook written by
Russel Winder and
Graham Roberts (UCL)

published by John Wiley & Sons.

This is an academic text aimed at those learning Java as a core programming language.

Visit the "Developing Java Software" Website


Computer Science Home Page


Search the local web

Last updated: 23/04/2004