Assignment 3
Value: 10%
Due date: 14-Oct-2014
Return date: 04-Nov-2014
Submission method options
Alternative submission method
Task
Write a JAVA program that would facilitate text chatting/exchanging between two or multiple computers over the network/internet, using the concept of JAVA socket programming. If you do not have any network environment, you can run on a single machine by instantiating your program multiple times. E.g. you can have program1 and program2 running on same machine exchanging texts between themselves.
Note: For further clarification and concerns about the assignment, students are recommended to talk to the subject lecturer.
Rationale
This assignment is designed to asses following learning outcomes:
- be able to write programs that would communicate with another program running in the network;
- be able to deconstruct/analyse the object-oriented features of a Java program;
Marking criteria
|
Items
|
Full Marks
|
PS
|
CR (PS+)
|
DI (CR+)
|
HD (DI+)
|
| Presentation |
15
|
Very basic presentation (no source code or screen shots were included) | Only report (with screen shots) is present but no source code was submitted | Report, screen shots and source code both are submitted as required | The presentation includes all requirements and is easy to read and understand |
| Program execution |
25
|
Program is not running but the source code indicates the correctness | Program is running but not working properly | Program is running perfectly but cannot handle unexpected inputs/events | Program is running perfectly and not crashing because of unexpected inputs/events |
| Texts being exchanged between both parties |
60
|
Partially done. E.g. the socket is created but other parts are not working | Connection established but texts are not exchanged | Connection established and texts are being exchanged both way | Working perfectly and the interface is user friendly |
Note: Marks will be scaled to adjust this assessment item’s actual mark.
Presentation
Following items are to be submitted in the Turnitin:
- Report: The report (in .doc or .pdf format) should explain how to run your program (1 or 2 page long) and any settings needed to run your program. Enough number of screenshots should be shown in the document. In case if the assignment marker fails to run your program, because of any inconvenience, these screenshots would show how the program worked on your machine/environment.
- Source code and other files: All source codes, exe file and other relevant files must have to be zipped in a folder such that unzipping would keep the file/folder structure unaffected


0 comments