2.1 Date Night Assignment

Under Construction

This page is currently being built. Please check back soon.

A platypus
2.1 Date Night Assignment — overview

Use the goals, acceptance criteria, and nested tasks below to prepare and complete this activity. Follow the stated scope carefully.

1.Gather your resources
A Open the assignment resources
Date Night 2.1.zip Feedback Go to the completion checklist
Download the starting code
2.Complete the required preparation
A Carry out the source requirement

Download the starting code.

Date Night 2.1.zip

Represent the class view
3.Review the notation example
A Identify the notation used in this view
Class diagram notation example. class Example { - value : int + Example(value : int) + Value : int {get} + Accept(item : Other) : Other } Example --> Other : item
Class diagram notation example
  • New
  • Changed
  • Removed
4.Represent the Car class methods in a class diagram. Don't represent fields
A Verify the required change or observation

Check the result against this instruction: Represent the Car class methods in a class diagram. Don't represent fields.

5.Represent all of the missing fields by putting [...] in the Attributes section
A Verify the required change or observation

Check the result against this instruction: Represent all of the missing fields by putting [...] in the Attributes section.

6.Verify the diagram against the evidence
A Inspect the rendered diagram

Open or render your diagram, inspect every label and relationship, and compare it with the code or debugger state. Resolve syntax errors, clipped labels and unreadable crossings before submission.

Represent the object view
7.Review the notation example
A Identify the notation used in this view
Object identity and list order example. object "items : List<Example>" as items object "first : Example" as first { value = 7 } object "second : Example" as second { value = 9 } items --> first : [0] items --> second : [1]
Object identity and list order example
  • New
  • Changed
  • Removed
8.Set a breakpoint at the end of the GoTo method in the Car class
A Verify the required change or observation

Check the result against this instruction: Set a breakpoint at the end of the GoTo method in the Car class.

9.Start the application and click 'New Harry and Sally date' and then 'Harry, prepare for date'
A Verify the required change or observation

Check the result against this instruction: Start the application and click 'New Harry and Sally date' and then 'Harry, prepare for date'.

10.Represent the driver object, the driver object's primitive fields and their object fields (folded in) except for Vehicle and CarKey. Fold in the Gps field for the Vehicle

There should only be three object nodes when finished.

A Verify the required change or observation

Check the result against this instruction: Represent the driver object, the driver object's primitive fields and their object fields (folded in) except for Vehicle and CarKey. Fold in the Gps field for the Vehicle.

11.Verify the diagram against the evidence
A Inspect the rendered diagram

Open or render your diagram, inspect every label and relationship, and compare it with the code or debugger state. Resolve syntax errors, clipped labels and unreadable crossings before submission.

Represent the sequence view
12.Review the notation example
A Identify the notation used in this view
Sequence notation example. participant Caller participant Receiver Caller -> Receiver : Accept(item) activate Receiver Receiver --> Caller : returned object deactivate Receiver
Sequence notation example
  • New
  • Changed
  • Removed
13.Set a breakpoint at the beginning of the DriveTo method in the Pursuer class
A Verify the required change or observation

Check the result against this instruction: Set a breakpoint at the beginning of the DriveTo method in the Pursuer class.

14.Start the application and click 'New Harry and Sally date' and then 'Harry, go on mini golf date'
A Verify the required change or observation

Check the result against this instruction: Start the application and click 'New Harry and Sally date' and then 'Harry, go on mini golf date'.

15.Create a sequence diagram that represents the flow of the application in the if statement, not including the call to this.Friend.GoTo()

The beginning object node should be: Harry: Pursuer

A Verify the required change or observation

Check the result against this instruction: Create a sequence diagram that represents the flow of the application in the if statement, not including the call to this.Friend.GoTo().

16.Verify the diagram against the evidence
A Inspect the rendered diagram

Open or render your diagram, inspect every label and relationship, and compare it with the code or debugger state. Resolve syntax errors, clipped labels and unreadable crossings before submission.

Represent the activity view
17.Review the notation example
A Identify the notation used in this view
Nested decisions example. start if (Object exists?) then (yes) if (Condition is satisfied?) then (yes) :Perform conditional action; endif :Perform action common to the outer branch; endif stop
Nested decisions example
  • New
  • Changed
  • Removed
18.Represent the ServeIceCream method in an Activity Diagram

There should be a total of 8 nodes without the start and end scenario circles.

A Verify the required change or observation

Check the result against this instruction: Represent the ServeIceCream method in an Activity Diagram.

19.Verify the diagram against the evidence
A Inspect the rendered diagram

Open or render your diagram, inspect every label and relationship, and compare it with the code or debugger state. Resolve syntax errors, clipped labels and unreadable crossings before submission.

Submit to the Feedback System and Canvas
20.Save and submit
A Carry out the source requirement

Submit to the Feedback System and Canvas

Completion checklist
21.Review the required evidence
A Check every acceptance criterion

Return to each user story and confirm that you can demonstrate its acceptance criteria. Use the task checkboxes to track completion; a checked box is not a substitute for testing or inspecting the required evidence.

Represent the class view Represent the object view Represent the sequence view Represent the activity view
B Follow this activity’s submission instructions

Use the submission or attendance instructions in this page. For a Feedback System submission, upload the requested ZIP, review and resolve the feedback, and submit the resulting URL to the matching Canvas activity. For a Canvas quiz, enter only the requested answers; for an oral final, complete the scheduling and attendance steps.