关键词 > COMP4320
4320_COMP_SCI_X_0006 Programming Assignment 2
发布时间:2023-09-19
Hello, dear friend, you can consult us at any time if you have any questions, add WeChat: daixieit
4320_COMP_SCI_X_0006
Programming Assignment 2
Due 14 Oct by 23:59 Points 200 Submiমng an external tool
Available 7 Sep at 0:00 - 18 Oct at 23:59
Assessment
Weighting:
|
20% (200 Marks) |
Task
description: |
In this assignment, you will be designing and implemenঞng Petri- nets to manage signalling in a rail yard.
|
Academic
Integrity Checklist |
Do
comments/notes on you commits Be careful Θ Code snippets from reference pages/guides/Stack Overflow must be attributed/referenced. Θ Only use code snippets that do not significantly contribute to the exercise soluঞon. Do NOT
|
Before you begin
This assignment will be marked using a combinaࢼon of automated and manual techniques.
You must log your development progress
During manual marking, we will look look at your development process. If we do
not see a clear path to a solution
(i.e. code changes and regular commits and comments on those commits reflecting your learning to develop your implementation)
you may forfeit up to 100 marks.
An example case of forfeiࢼng 100 marks would be the sudden appearance of working code with no prior evidence of your development process.
It is up to you to provide evidence of your development through regular commits and comments.
You must test your code
Event-Driven code is especially error-prone, so testing is important.
During marking, we will look look at your test cases and test case coverage.
If you do not sufficiently test your code you may forfeit up to 100 marks. An example case of forfeiࢼng 100 marks would no test cases present.
This assignment requires thought and planning. You need to start early to allow
yourself time to think of what and how to test before writing any code. Failing to do this is likely to make the assignment take far more time than it should.
|
|
|
You have been hired by a railway company to build a prototype of the so[ware to manage an interlocking for one corridor in their rail network:
An interlocking Your system needs to:
|
Your task is to plan and implement the system described above.
First, plan out your system using Petri Nets
progress whose commits you can add comments on. Finally, implement your code.
InterlockingImpl in a file named InterlockingImpl.java that implements the interface above. Event Driven systems are particularly prone to errors so you'll |