Tech 2 Exercises Updated 
Tech 2 (Computer Networks)
4. Semester: International Datamatician Course (Advanced Computer Science)
 
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

LeonardoException
LeonardoStaticEx

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

CourseWork3.zip
BorrowerFiles.zip
ItemFiles.zip

CMC_CalculatePriceInfo

The keyboard class. Save in working folder compile! 

The zip file for FastCar with 11 files 
The zip file forborrower administration with 9 files 
The zip file for item administration with 4 files 

Controller class for price information 

LibraryGUI.zip All GUI and FMC classes for Library and Borrower
LibraryCreate.sql
LibraryInsert
LibraryQuery

DMC_Library
DMC_Connector
LibraryWithDMC
CMC_BorrowerSQL
LibraryCMCWithDMC

Borrower
 
 
 

LibraryDBGUI.zip

sql-sentences for creating a Library 
Simple insert-statements 
Simple query-statements 

Special data base facade class 
Super class to all CMC-classes 
Simple insert and query utilizing DMC_Library 
Controller class for sql-sentences on Borrower table 
Simple insert and query utilizing _BorrowerSQL 

Borrower class: extra constructor and 
toDBString for insert 
toDBUpdateString for update 
 

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
Maintenance by claudius@rhs.dk