首页 > 其他分享 >UML class diagrams and UML interaction diagrams

UML class diagrams and UML interaction diagrams

时间:2024-09-04 19:13:46浏览次数:7  
标签:interaction may will relevant design Tarnished marks UML diagrams

Assignment 1

Learning Outcomes & Materials

This assignment is intended to develop and assess the following unit learning outcomes:

LO1. Iteratively apply object-oriented design principles to design small to medium-size software systems, using

standard software engineering notations, namely UML class diagrams and UML interaction diagrams.

LO2. Describe the quality of object-oriented software designs, both in terms of meeting user requirements and

the effective application of object-oriented design concepts and principles.

LO3. Apply object-oriented programming constructs, such as abstraction, information hiding, inheritance, and

polymorphism, to implement object-oriented designs using a programming language (namely, Java).

LO5. Apply principles of software engineering practice to create object-oriented systems with peers using tools

including integrated development environments (IDEs), UML drawing tools, and version control systems.

To demonstrate your ability, you will be expected to:

read and understand UML design documentation for an existing Java system

propose a design for additional functionality for this system

create UML class diagrams to document your design using a UML drawing tool such as

diagrams.net, UMLet or plantuml – you are free to choose which one

write a design rationale evaluating your proposed design and outlining some alternatives

implement the features of the system that you designed

use an integrated development environment to do so

use git to manage your team's files and documents

The marking scheme for this assignment will reflect these expectations

Learning Materials

The base code will be automatically available in your group's repository (Gitlab).

Repeat this mantra: Design, write code, test, fix design, fix code, repeat �

Note: You must NOT follow demo apps' design decisions; they only show how to use the engine, NOT how to

design a proper system with object-oriented principles.Introduction

For the rest of the semester, you will be working on a relatively large software project. You will design

and implement new functionalities to an existing system that we will provide to you.

IMPORTANT: A document explaining the FIT2099 Assignment Rules (a module above Assignment 1). Please

read it and make sure you understand BEFORE you begin the project for your own benefits (i.e., get good

grades and better learning experience).

In this assignment (Assignment 1), you will be working individually to implement the first few

features of the game. We highly recommend starting by extracting all of the game features. Then,

proceed with designing, testing, and repeating the process as needed. This iterative design-thinking

approach will help ensure a well-developed and refined system.

Getting Started

The initial codebase will be available in a repository that will be created for you on

git.infotech.monash.edu. In the meantime, please go through the assignment support modules on Ed

Lesson to familiarise yourself with the game engine that you will use during the assignment.

You do not need to submit an interaction diagram (e.g. sequence diagram or communication diagram) in

assignment 1. However, you will need to submit these documents for Assignment 2 and Assignment 3. For

assignment 1, you may still create these documents if you find them useful for designing the system.

General background

You will be working on a text-based “rogue-like” game. Rogue-like games are named after the first

such program: a fantasy game named Rogue. They were very popular in the days before home

computers were capable of elaborate graphics and still have a small but dedicated following.

If you would like more information about rogue-like games, a good site is http://www.roguebasin.com/. The

initial codebase will be 代 写UML class diagrams and UML interaction diagrams available in the repository mentioned above. It includes a folder containing design

documents for the system. ELDEN THING: SHADOW OF THE INHERITREE

In this assignment, we will develop the “ELDEN THING: SHADOW OF THE INHERITREE” game, inspired

by the recently released downloadable content for the game Elden Ring: "ELDEN RING Shadow of the

Erdtree". We may use several similar names (characters, items, locations) and concepts. The purpose

of using an actual game’s concepts is to help you visualise the required features, such as watching the

video gameplay from the actual game to illustrate features that you may find challenging to

comprehend. We also believe using actual game references may bring fun while working on the

assignments.

All linked game contents, videos, and images belong to the respective owners and are

subject to copyright. We mainly use the concepts for educational purposes and provide

credit to the original creators accordingly. We may also add, alter, and reduce the

original content and features to make them more suitable to the game engine, unit

outcomes, and assignments’ time frame.

What’s next?

Below are four slides (REQ1-REQ4) describing the requirements you need to complete. Each

requirement includes game features that include background stories, entity descriptions (actors,

items, or ground), relationships between entities, and actions between them. We suggest extracting

these features into a list and discussing it with the TAs to ensure all features are included (this

discussion is not assessed, but highly recommended).

Following these requirement slides, we will outline the deliverables necessary for the Assignment 1

assessment.Meet Alexander, the Pot Friend

Alexander, the Pot Friend

Image: Alexander, Warrior Jar (source: https://eldenring.fandom.com/wiki/Alexander,_Warrior_Jar)

Throughout your learning journey, "Alexander, the Pot Friend" will give you advice throughout the

assignment specifications that you may need to take note of inside "info" boxes. For example:

Alexander says, "Prithee, peruse the assignment specifications with care ere thou dost commence."

Please read the assignment specifications thoroughly before you start. We recommend that you visit (or re

visit) the Assignment Support modules in Weeks 2-5.

Expand

Disclaimer:

In the spirit of the original game, we have enlisted the help of ChatGPT 4.0 (Microsoft Copilot) to

generate all Old English quotes within these assignment specifications. It always starts with a wise

quote from Alexander, the Pot Friend, followed by the actual information/hint/warning that you

need to care about. We hope this adds a slight element of fun and whimsy as you read through

the requirements. Enjoy the journey back in time!

Here are some example prompts we have used:

“Generate an Old-English quote about the XXX.”

“Create an Old-English phrase about 'keep it simple, stupid'.”

“Provide an Old-English proverb related to 'be careful of giant's attack'.”REQ1: The Lord of the Old Order

Image: The Tarnished (source:

https://static.wikia.nocookie.net/eldenring/images/5/52/Tarnished_E3_2021.jpg/revision/latest/scale-to

width-down/1000?cb=20210621011318)

In Elden Thing, you play as the “Tarnished” ( @ ), who has claimed the Elden Throne, becoming the

Lord of the Old Order.

Now, following the trail of a seemingly missing demigod, the Tarnished enters the Land of Shadow

(see REQ2 Title), where the event of the game takes place.

The “Tarnished” starts at a map called the “Gravesite Plain” inside a small shack (see info box below).

"..........~~~~~~~...~~~~~~~......~...........",

"~..........~~~~~....~~~~~~...................",

"~~.........~~~~.....~~~~~~...................",

"~~~..#####..~~.....~~~~~~~...................",

"~~~..#___#........~~~~~~~~~..................",

"~~~..#___#.......~~~~~~.~~~..................",

"~~~..##_##......~~~~~~.......................",

"~~~~...........~~~~~~~...........~~..........",

"~~~~~.........~~~~~~~~.......~~~~~~~.........",

"~~~~~~.......~~~~~~~~~~.....~~~~~~~~........."

The "Gravesite Plain" map

The small shack is represented by several squares of floor ( _ ) and surrounded by walls ( # ).

```

#####

#____#

#____#

##_##

```They start with 150 hit points (health), 100 mana, and 5 strength.

Alexander says, "Verily, ensure thou dost ever display the Tarnished’s vitalities"

Make sure to always display the Tarnished’s attributes (hitpoints, mana, and strength) at each game tick.

Within the surroundings of the shack, there are two weapons that the Tarnished can pick up: A Short

Sword ( ! ) and Great Knife ( † ).

The Tarnished must have at least 10 strength points to pick up the Short Sword and at least 5 strength

points to pick up the Great Knife. Once picked up, they can use the Short Sword to attack enemies (see

REQ4), dealing 100 damage with a 75% chance to hit (hit rate). The Great Knife can also be used to

attack enemies, dealing 75 damage with a 60% chance to hit. The Tarnished may also decide to drop

any of the picked-up weapons at any time and pick any of them up again.

The Tarnished may also decide to attack enemies with their bare fist, dealing 25 damage with a 50%

chance to hit.

Alexander says, "Gather thou the weapons thy heart desires, for in thy hands lies the power to wield them all.”

The Tarnished can pick up as many weapons as they want. If there are multiple weapons in their inventory, the

Tarnished can choose to attack with each weapon, in addition to the bare fist.REQ2: The Land of Shadow

Image. The Land of Shadow (source:

https://static.wikia.nocookie.net/eldenring/images/5/52/ER_The_Land_of_Shadows.jpeg/revision/latest/scal

e-to-width-down/1000?cb=20240221154538)

Inside the small shack, the Tarnished can pick up two items: Flask of Healing ( u ) and Flask of

Rejuvenation ( o ). Both items can be consumed by the Tarnished. Similar to the weapons in REQ1,

both items can be dropped off at any time.

Upon use, Flask of Healing heals the Tarnished by 150 hit points. This flask has 5 charges, i.e., it can be

consumed by the Tarnished 5 times.

Flask of Rejuvenation restores the Tarnished’s mana by 100 points when used. Unlike the Flask of

Healing, this flask only has 3 charges.

Once a flask (Flask of Healing or Flask of Rejuvenation) runs out of charges, it will not vanish from the

world, i.e., the Tarnished can still choose to consume the empty flask, but attempting to consume an

empty flask will result in a message, such as Flask of Healing is empty or Flask of

Rejuvenation is empty , to be displayed on the screen.

Heading out to explore the Land of Shadow, the Tarnished finds several Shadowtree Fragments ( e )

scattered around, which can be picked up and dropped off at any time. Consuming one Shadowtree

Fragment blesses the Tarnished, increasing their maximum hit points by 50 points, their maximum

mana by 25 points, and their maximum strength points by 5 points.

Alexander says, "Pray thee, kind soul, lend thine aid in this endeavour, for together we shall achieve greatness."

You must manually put 5 instances of the Shadowtree Fragment on the first game map.

Unlike the Flask of Healing and Flask of Rejuvenation, once consumed, the Shadowtree Fragment will disappear from the Tarnished’s inventory, i.e., it can only be consumed once.

Here are some design considerations when working on this requirement (Note that this list is non-exhaustive):

- In the future version of the game, there could be other “things” that the Tarnished can consume.

- A “thing” may not always be an item.

- Once consumed, these “things” may produce different effects, such as poisoning the player, healing the

player over time, etc.

Can your design accomodate this potential extension while adhering to the principles taught in the unit, e.g.,

the SOLID principles?REQ3: The Furnace Golem

Image. The Furnace Golem (source:

https://static.wikia.nocookie.net/eldenring/images/0/08/Shadow_of_the_Erdtree_promotional_screenshot_2

.jpg/revision/latest/scale-to-width-down/1000?cb=20240221190058)

The Furnace Golems ( A ) are foes that the Tarnished must face in the Land of Shadow. They are large

titans with flames set eternally ablaze in their basket-like torso.

A Furnace Golem has 1000 hit points. It can wander around the game map.

If the Tarnished is within its surroundings (adjacent squares), the golem will stop wandering around,

but instead, it will stomp the Tarnished with its foot, dealing 100 damage with a 5% chance to hit.

Alexander says, “An enemy’s blade may not seek their own ally, yet in the clash of arms, unintended harm may befall.”

An enemy cannot directly target and attack another enemy. An enemy's attack may result in a collateral

damage to another enemy.

Alexander says, "Pray thee, kind soul, the heavens proclaim thy name should thee meet thy end, for it is a reminder of our

mortal trials."

Make sure to print out the "YOU DIED" message when the Tarnished dies.

Once within its surroundings, the Furnace Golem will follow the Tarnished around the map until either

one of them dies.

Expand

Alexander says, "Venture forth upon the path to the Red Planet, and grand rewards shall be thine!"

It also cannot enter the floor ( _ ), allowing the Tarnished to escape safely to the small shack if needed.Here are some design considerations when working on this requirement (Note that this list is non-exhaustive)

- There may be other NPCs (non-playable characters) in the future version of the game, which may or may not

be hostile towards the Tarnished.

- Other NPCs may be able to wander around and attack the Tarnished if they are hostile. They may have other

ways of behaving, e.g., following the Tarnished around, picking up items, etc.

- There's a possibility to have more behaviours in the future, and these behaviours must be 'ordered' to

simulate a "rule-based Artificial Intelligence".

Can your design accomodate this potential extension while adhering to the principles taught in the unit, e.g.,

the SOLID principles?REQ4: "O Tarnished of no renown, you shall burn"

Image. The Furnace Golem's stomp attack, resulting in a large explosion within its surroundings area

(source: https://eldenring.wiki.fextralife.com/file/Elden-Ring/furnace-golem-elden-ring-wiki.jpg)

Due to its size, a Furnace Golem stomp has a 10% chance to create an explosion regardless of whether

the stomp attack hits the Tarnished, dealing 50 collateral damage to all actors (friends or foes) within

the golem's surroundings. This means that there is a possibility for the Golem to deal damage twice

to the tarnished: one with its stomp attack and the other one with the explosion.

Alexander again says, “An enemy’s blade may not seek their own ally, yet in the clash of arms, unintended harm may

befall.”

An enemy cannot directly target and attack another enemy. An enemy's attack may result in a collateral

damage to another enemy.

Alexander says, "Beware the giant’s onslaught, for their might is great and their wrath fierce."

Make sure to print out a message when the Furnace Golem deals the explosion damage, e.g., Furnace

Golem's stomp attack results in shockwave in the surrounding areas.

Additionally, the explosion results in the surrounding area of the Furnace Golem being burned. The

fire ( w ) lasts for 5 turns. If the tarnished stands within the burning ground, they will take 5 damage

per turn. The Furnace Golem itself is resistant to fire, i.e., stepping into the burning ground will not

inflict damage upon it. Puddles ( ~ ), however, cannot be burned, allowing the Tarnished to stay safe

from the burn damage, i.e., Other grounds, including Dirt, Wall, and Floor can be burned. Once the

burning ends, the ground will return to its original form.

Expand

Depending on your implementation, the fire damage may stack if the Furnace Golem burns the

same locations over and over again.Here are some design considerations when working on this requirement (Note that this list is non-exhaustive)

- Other NPCs' attack may result in a different effect, e.g. Furnace Golem's attack can cause a shockwave,

damaging all actors within its surroundings.

- There may be other types of grounds that are not burnable.

- Other NPCs' may be resistant to burning

Can your design accomodate this potential extension while adhering to the principles taught in the unit, e.g.,

the SOLID principles?Submission Instructions

Not following any one of the instructions below will result in penalty being applied to your final submission.

You do not need to submit an interaction diagram (e.g. sequence diagram or communication diagram) in

assignment 1. However, you will need to submit these documents for assignment 2 and assignment 3. For

assignment 1, you may still create these documents if you find them useful for designing the system although

we cover them in later weeks.

We will mark your assignment based on the latest commit in the main branch in your GitLab repository by the

due date, not in the master branch.

Class Diagrams & Documentation Submission

As mentioned in the Design & Diagrams section, you MUST create one design (class)

diagram per requirement. In other words, each requirement must be represented in its own

separate diagram. Organising them in one large design diagram or combining requirements

based on their packages is not allowed. Doing so may reduce the clarity of your design diagram

or could be seen as an attempt at reverse engineering. Penalties will be applied if this occurs.

Please keep each requirement diagram distinct and avoid any attempts to merge or combine

them.

You MUST save your design documentation, including design diagrams, rationale and report

(diagram + rationale combined into a single document), in the

"docs/design/{assignmentName}" directory. So, for Assignment 1, you must save all design

documentation in the "docs/design/assignment1" directory.

TAs cannot be expected to look at other directories, except for "docs/design/{assignmentName}", when

marking the design diagrams and rationale.

All design documentation must be saved in PDF format (or PNG/PDF for diagrams, such as

REQ1.png, REQ2.png, and so on).

A Moodle submission is compulsory, and it must be done before the deadline. Please,

compress ALL files (code, documentation, and diagrams) as one zip file, and submit the

compressed file.

Disclaimer: Although there are multiple ways to design the game, there are also bad designs and good designs

- we will mark your submission not against one design but based on the design principles

Design DiagramsWe expect you to produce four UML class diagrams following the FIT2099 Assignment Rules. These

Rules are available on EdLesson.

You should not create one class diagram that shows the entire system. The sample diagram in

the base code shows the whole system to help you understand how the game works with the

engine . But, in this assignment, you only need to show the following:

the new parts,

the parts you expect to change, and

enough information to let readers know where your new classes fit into the existing system.

As it is likely that the precise names and signatures of methods will be refactored during

development, you do not have to put them in these class diagrams. Instead, the overall

responsibilities of the classes need to be documented somewhere, as you will need this information to

begin implementation. This can be done in a separate text document ( .md markdown format) or

spreadsheet, which you should put inside the docs directory. We will not assess this document, but

we believe it will be handy during the implementation phase.

Design Rationale

A design rationale should be created for each requirement, with a maximum word limit of 1,000 words per

requirement. However, aim for concise and focused explanations (at least ~500 words). You can submit a single

text-based/PDF document.

To help us understand how your system will work, you must also write a design rationale to explain

your choices. You must demonstrate how your proposed system will work and why you chose to do

it that way. Here is where you should write down concepts and theories you've learnt so far (e.g.,

DRY, coupling and cohesion, etc.). You must consider the pros and cons of the design to justify your

argument.

The design (which includes all the diagrams and text that you create) must clearly show the following:

what classes will exist in your extended system

what the roles and responsibilities of any new or significantly modified classes are

how these classes relate to and interact with the existing system

how the (existing and new) classes will interact to deliver the required functionality

You are not required to create new documentation for components of the existing system that you do

not plan to change.

IMPORTANT! We will not accept any Word document because it cannot be opened/displayed in Gitlab.

ImplementationWe will assess your design implementation (i.e., Java codes). We will assess all of your codes in the

Gitlab repository. Please ensure you push/merge all of your local Java codes to the main branch.

You need to ensure that your game can run without breaking. Please follow the "Testing Instructions"

from each requirement to satisfy the completeness of its features.

A reminder: you must not modify the game engine, as stated in the assignment rules document.

Your implementation must adhere to the Google Java coding standards.

Google Java coding standards: https://google.github.io/styleguide/javaguide.html#s5-naming

Write Javadoc comments for at least all public and protected methods and attributes in your classes.

You will be marked on your adherence to the standards, Javadoc, and general commenting guidelines

that were posted to EdStem earlier in the semester.

To ensure that your work adheres to good coding practices in this unit, we encourage you to minimise the use

of instanceof and/or downcasting, as they are considered code smells. It's important to note that if there are

any instances where you need to use them, please provide appropriate justifications in code comments or

design rationale. We believe learning how to properly utilise polymorphism is crucial in addressing this code

smell, and we are committed to teaching you how to do so effectively.Marking Rubric

Assignment 1 rubric

Prerequisite for marking: Design documents (UML diagrams and design rationale) and

implementation need to be submitted for the assignment to go through the marking process. Missing

any of these will result in 0 marks.

Overview:

Total: 28 points

Feature implementation completeness (6 points)

Implementation quality: design principles (8 points)

Design rationale (4 marks)

Integration with the existing system (2 points)

UML syntax and clarity (2 points)

Alignment and design consistency (2 points)

Style & Javadoc (1 point)

Git usage (2 points)

Format and directory structure (1 point)

Detailed rubric items:

Feature implementation completeness (6 points)

6 marks - The system runs and perfectly meets all functional expectations as per the relevant

requirement(s) with no runtime errors. All required classes and relationships are implemented, and

the program's behaviour aligns perfectly with the specification.

5 marks - The system runs and meets all functional expectations (with some minor errors or

punctual omissions) as per the relevant requirement(s). All necessary classes and relationships are

included, and the program's behaviour largely matches the specification, except for one or two

minor unexpected behaviours. No runtime errors occur.

4 marks - The system runs and partially meets all functional expectations, displaying several

minor functional errors or omissions as per the relevant requirement(s). Despite this, the majority

of necessary classes and relationships are included, and only a few minor unexpected behaviours

occur. No runtime errors are present.3 marks - The system runs and all functional expectations were addressed to some extent,

(with one or two major functional errors) as per the relevant requirement(s). Most important classes

and relationships are included but at least one or two major unexpected behaviors are

observed. A major unexpected behaviour is that which affects considerably the completeness of at

least one requirement. No runtime errors occur.

2 marks - The system runs but several functional expectations were not addressed as per the

relevant requirement(s) (e.g. the notion of Behaviour is not included even though it is a part of the

requirement). Alternatively, runtime errors occur during the execution of the system but they can be

easily fixed.

1 mark - The system runs but addresses only some functional expectations and shows major

omissions as per the relevant requirement(s) (important classes or relationships are missing).

Alternatively, runtime errors occur during the execution of the system without a clear idea of the

cause or cannot be easily fixed.

0 marks - The system runs but it poorly addresses or doesn’t address the functional

expectations as per the relevant requirement(s). Alternatively, the system might not run at all.

Implementation quality: design principles (8 points)

This item applies across all functional expectations as per the relevant requirement(s)

8 marks - The implementation of all functional expectations as per the relevant requirement(s)

flawlessly adheres to good design principles and concepts (e.g., DRY and SOLID principles),

making the design easy to extend and maintain. Any punctual violations are convincingly justified in

the design rationale (e.g., using singleton to implement a feature). All relevant requirements have

been addressed.

7 marks - The implementation follows good design principles nearly perfectly making the design is

easy to extend and maintain (if some punctual principles are violated, the trade-off is somewhat

justified in the design rationale. All relevant requirements have been addressed.

6 marks - The implementation involves one or two minor violations of design principles (could

be easily fixed) across all functional expectations as per the relevant requirement(s) (e.g., some

attributes are not set to private without any justification). All relevant requirements have been

addressed.

5 marks - The implementation involves minor violations of design principles in multiple places

(could still be easily fixed) across all functional expectations as per the relevant requirement(s). All

relevant requirements have been addressed.

4 marks - The implementation involves one or two non-severe violations of design principles

that could be implemented in a better way (no trade-offs are convincingly provided in the

design rationale) across all functional expectations as per the relevant requirement(s) (e.g. some code repetitions are found in the implementation that would require some refactoring to be fixed). All

relevant requirements have been addressed.

3 marks - The implementation involves non-severe violations of design principles in multiple

places (no trade-offs are convincingly provided in the design rationale). All relevant requirements

have been addressed.

2 marks - The implementation involves one or two severe violations of design principles that could

be implemented in a better way across all functional expectations as per the relevant requirement(s),

e.g. violating the basic principles covered so far. Fixing them would require substantial refactoring.

Alternatively, not all relevant requirements have been attempted.

1 mark - The design/implementation can be considered hacky or various instances of procedural

programming are found. For example, the implementation uses downcasting and ‘instanceof’ in

various cases without a convincing justification. Alternatively, it can also be the case that abstraction

is not used, making the design difficult to extend and maintain. Alternatively, only some relevant

requirements have been attempted.

0 marks - The implementation mainly follows a non-OO paradigm; or the UML class diagram(s) or the

implementation is missing. Alternatively, most relevant requirements have not been attempted.

Design rationale (4 points)

4 marks - The design rationale includes a description of what has been done and why, focusing on

the principles and concepts taught in the unit (such as DRY and SOLID principles) and not in terms of

game design. The rationale discusses the advantages and disadvantages of the design (pros and

cons), the reasons for choosing the current design, and ways in which it can be easily extended

(e.g. my design achieves OCP because if a new character is added in the future ...). All relevant

requirements have been addressed.

3 marks - The rationale describes what has been done and why, based on the principles and

concepts taught in the unit. It also includes some discussion of the pros and cons of the design and

the reasons for the current design choice but lacks examples of future extensibility. All relevant

requirements have been addressed.

2 marks - The rationale describes what has been done and why, aligning with the principles and

concepts taught in the unit. However, it lacks a discussion on the pros and cons of the design

and/or examples of future extensibility. All relevant requirements have been addressed.

1 mark - The rationale primarily describes what has been done without a thorough explanation

of the decision-making reasons. For instance, it may mention design principles ad concepts without

providing convincing explanations, discussion of pros and cons, or examples of how the system can

be extended. Alternatively, not all relevant requirements have been attempted.

0 marks - The design rationale is either very challenging to read, is missing, or the submitted work omits more than one relevant requirement.

Integration with the existing system (2 points)

This item applies across all relevant requirements.

2 marks - The implementation effectively uses the engine classes (e.g. the submitted work

demonstrates that the students understand the difference between actions and behaviours). All

relevant requirements have been addressed.

1 mark - The implementation does not use some engine classes as intended (e.g. behaviours are

created for some actions that do not need it, such as actions performed by the player) or includes

custom classes for functionality that could be implemented with the engine class (e.g.

created a custom ground class instead of using the ground class given in the engine package). Most

relevant requirements have been addressed.

0 marks - The engine has been modified in a minor or significant way OR the UML class diagram OR

the implementation is missing

UML syntax and clarity (2 points)

This item applies across all relevant requirements.

2 marks - Relevant (static and/or dynamic) diagrams are perfect in terms of syntax, with no

missing multiplicities, correct arrowheads for all relationships, and appropriate usage of realisation

for classes implementing interfaces, generalisation for classes or interfaces inheriting others, etc.

Diagram formatting is consistent and clear. All requested diagrams have been submitted.

1 mark - Diagram(s) contain some minor syntax errors, such as missing multiplicities for several

associations, inappropriate use of generalisation for classes implementing interfaces, realisation for

classes extending others, or classes extending multiple classes, etc. Nonetheless, the design can still

be understood by the TA with a little effort. Alternatively, there are several inconsistencies across

diagrams. All necessary diagrams have been submitted.

0 marks - Diagram(s) are significantly hard to understand or show major inconsistencies in formatting

and clarity, OR more than one required diagram is missing, OR they do not resemble a UML diagram

as required.

Alignment and design consistency (2 points) - incl.

Design rationale, code and UML diagrams

2 marks - The design rationale and UML diagrams are in perfect alignment with each other and

with the code implementation across all functional expectations, as per the relevant requirement(s). All relevant requirements have been addressed or attempted and they are covered in the

implementation, UML diagrams and design rationale.

1 mark - There are some small inconsistencies (that can be easily fixed) between the design

documents and the implementation, but all relevant requirements have been addressed or

attempted, and they are covered in the implementation, UML diagrams and design rationale.

0 marks - There are major inconsistencies (which would necessitate significant changes for

correction) or numerous smaller discrepancies distributed throughout the design documents and

the implementation. Alternatively, one or more than one required diagram or implemented

requirement is missing, or some submitted design documents do not resemble the required UML

diagram format.

Style & Javadoc (1 point)

1 mark - The code is properly documented with Javadoc across all functional expectations as per the

relevant requirement(s), including class-level and method-level documentation. The Google Java Style

guide is followed properly (e.g. package names are written in lowercase, attributes and variables

names are written in lowerCamelCase, class names are written in UpperCamelCase, etc.). All relevant

requirements have been addressed or attempted.

0.5 marks - Some classes and methods are missing Javadoc documentation OR some classes do not

follow the Google Java style guide

0 marks - Most classes and methods are missing Javadoc documentation OR The Google Java style

guide is not followed.

Git usage (2 points)

2 marks - At least 15 meaningful commits have been logged (with meaningful comments) each with

a descriptive commit comment (note: default comments from the web UI don't count.), ideally, one

commit per week previous to the submission deadline.

1 mark - Between 7 and 14 meaningful commits have been logged (with meaningful comments)

each with a descriptive commit comment (note: default comments from the web UI don't count.) OR

there are more than 10 commits but ALL were done on the week of the submission deadline.

0 marks - There are less than 7 commits OR commit messages do not correspond to the changes in

the code.

IMPORTANT: if most of the code has been (in practice) uploaded in one go the whole assignment will not be

marked and 0 marks will be awarded. Project formatting and directory structure (1 point)

1 mark - If the directory structure suggested in the specification has been followed. All the documents

are easily found where expected.

0 marks - The suggested directory structure was not followed and some files may be hard to find.

Handover Interview (Compulsory)

COMPLETED - The student can answer all (or at least 2) questions during the handover interview

satisfactorily. The responses need to demonstrate that the student understands the various parts of

the submitted assignment.

NOT COMPLETED If two or more questions are not responded to adequately and sensibly. The

remaining question(s) is/are partly responded to, but it is unclear whether the student understands

their own work.

IMPORTANT: Failing to have meaningful commits (i.e. showing that the task was progressively completed) or

having most commit messages not correspond to the changes in the code, and/or failing the handover

interview would automatically flag this as a potential case of plagiarism. This may be further investigated using

a similarity check software, and zero marks would be awarded for the entire assignment.Assignment 1 Q&A Session

Direct link: https://monash.au.panopto.com/Panopto/Pages/Viewer.aspx?id=4b3d7250-f8b8-448a-

9ec3-b1d600d5f02a

Meeting chat:

GMT20240823-081233_RecordingnewChat.txt

In the Q&A recording, a Shadowtree Fragment is represented with , , but in the specification, it is

represented with e . Please make sure to follow the Assignment 1 specification instead of the

recording!

标签:interaction,may,will,relevant,design,Tarnished,marks,UML,diagrams
From: https://www.cnblogs.com/qq--99515681/p/18396995

相关文章

  • BISM7255 UML VendWise Solutions Vending Machines
    UML Assignment–Semester2,2024BISM7255AdigitalsolutionforVendWiseSolutionsVending MachinesAssignmentOverviewAssessmentWeight:40%IndividualorGroupwork:Either–yourchoiceMaximumgroupsize:2Due Date:13......
  • Interaction
    这个作业属于哪个课程https://edu.cnblogs.com/campus/fzu/SE2024这个作业要求在哪里https://edu.cnblogs.com/campus/fzu/SE2024/homework/13243这个作业的目标快速上手如何写blog学号082100170Part1Mypurposeistogereratethelogowhichfitmy......
  • MinimumLongestTripG
    https://www.luogu.com.cn/problem/P9981首先显而易见的是第一问的答案用拓扑排序,然后用它的倒序进行DP。我们考虑第二问。首先要保证第一问的情况下才能考虑第二问,于是我们对于所有点按照第一问的答案分层,先按照新加入的边考虑,再按照上一层点的排名考虑,做完这一层后直接对这一......
  • 探讨 AI 驱动的 PlantUML:高效创建专业的 UML活动图
    承接前文关于如何运用AI工具生成时序图的内容【1】,今天我们继续探讨AI驱动的PlantUML:高效创建专业的UML活动图。【1】:https://juejin.cn/post/7407637717206728755【2】:案例参照开源项目ruoyi-cloud:https://gitee.com/y_project/RuoYi-Cloud【3】:PlantUML活动图语法......
  • AI驱动的PlantUML:快速生成专业级UML类图和用例图
    承接前文关于如何运用AI工具生成时序图的内容【1】,今天我们继续探讨AI驱动的PlantUML:高效创建专业的UML类图与用例图。【1】:https://juejin.cn/post/7407637717206728755【2】:案例参照开源项目ruoyi-cloud:https://gitee.com/y_project/RuoYi-CloudAI驱动分析类间关......
  • 设计模式反模式:UML图示常见误用案例分析
    设计模式反模式:UML图示常见误用案例分析在软件开发中,设计模式是应对常见设计问题的最佳实践,但如果使用不当,设计模式也可能变成反模式,导致系统架构的复杂性增加,甚至引发各种问题。在这篇文章中,我们将探讨在UML图示中常见的设计模式误用案例,尤其是在电商交易系统中的实际应用......
  • 万丈高楼平地起:UML类图
    UML类图UML类图是一种静态的结构图,描述了系统的类的集合,类的属性和类之间的关系,可以简化了人们对系统的理解。UML类图是系统分析和设计阶段的重要产物,是系统编码和测试的重要模型。图示类解析圆角矩形框,它就代表一个类(Class)类图分为三层:第一层显示类的名称,如果是抽象......
  • AI驱动的PlantUML:快速生成专业级UML图表
    **对于程序员来说,编写验收文档中的各种UML图是最让人头疼的事情之一,相信各位读者对此深有体会。**本文将探讨如何利用AI驱动的PlantUML来快速生成专业级别的UML图表,从而减轻这一负担。PlantUML简介PlantUML是一种开源的、易于使用的工具,它允许用户通过简单的文本描述来生成各......
  • 设计模式反模式:UML图示常见误用案例分析
    设计模式反模式:UML图示常见误用案例分析在软件开发过程中,设计模式(DesignPatterns)作为解决常见设计问题的最佳实践,被广泛地应用于提高代码质量和可维护性。然而,当这些设计模式被误用或滥用时,它们可能会变成反模式(Anti-Patterns),导致系统架构的复杂性增加,甚至引发一系列问题......
  • MarkDown基础及表格、KaTeX公式、矩阵、流程图、UML图、甘特图语法
    概述最多可设置6级标题技巧列表有序列表MD语法:1.你好2.我也好呈现效果:你好我也好无序列表MD语法:-a-b*aa*bb+aaa+bbb效果:abaabbaaabbb结论,支持三种方式:-、*、+TODO列表MD语法:-[x]后端接口开发-[]与前端联调呈现效果:后端......