Tech 2 Exercises | Updated |
Solutions | Links to examples and exercises |
TMC_ComparatorGeneral ComparatorGeneral |
Test program for general sorting of
collections Implementations of Comparator interface |
TMC_SuperSortGen ComparatorImplGeneral SuperSortGeneral TMC_SuperSort ComparatorImpl SuperSort ComparatorInterfaces |
Test program for general sorting Implementations of Object comparator Class for general sorting Test program for Borrower sorting Implementations of Borrower Comparator Class for sorting borrowers Interfaces |
Interfaces | Definition and implementation |
Exception class Catching LeonardoException in main |
|
Parameter LeonardoStatic Leonardo |
Parameter passing by value Using class methods (static) Using instance methods |
TMC_Socket
Concurrent SocketConcurrent TMC_SocketIterative SocketIterative TCPClient2 |
Application class for SocketConcurrent
Concurrent server class with one thread per client. Application class for SocketIterative Concurrent server class with one thread per client. |
TCPServer1 TCPClient1 |
Server program handling more than
one line per client Client program sending 5 lines |
Keyboard | The keyboard class. Save in working
folder compile!
The zip file for FastCar with 11 files Controller class for price information |
LibraryGUI.zip | All GUI and FMC classes for Library and Borrower |
LibraryCreate.sql
LibraryInsert LibraryQuery DMC_Library
|
sql-sentences for creating a Library
Simple insert-statements Simple query-statements Special data base facade class Borrower class: extra constructor and All LibraryGUI on RDB with CMC-classes |
Trial
Exam 1 Assignment 1 Assignment 2AB Assignment 2CD Assignment 3 Assignment 4 Assignment 5ABCD Assignment 6 |
The text of the exam paper Solutions !
|
Trial
Exam 2 Assignment 1 Assignment 2AB Assignment 2CD Assignment 3 Assignment 4 Assignment 5AB Assignment 5CD |
The text of the exam paper Solutions !
|
Exam 2004 01 07 | .zip file with the solutions |
Michael's favourites Maze
|
Solutions acknowledged to my great students Solution made by by longest spanning path |