INFORMATION SECURITY IN USE CASE DIAGRAM

QUESTION

2012 SP1 CPT230     Assignment Two Specification
ASSIGNMENT TWO ~ SOFTWARE ENGINEERING FUNDAMENTALS

Final Submission Due Date:  11:59pm, Sunday 29
Assignment Objectives & Structure

th
April (week 9)
This assignment consists of seven questions, focusing on the practical use of UML diagrams covered in lectures 2-8.

Assessment Value
20% of your final mark will come from this assignment.  As such, this assignment will be marked out of 20.

Assignment Two – Forums and Help
Two forums are dedicated to Assignment two.  Ensure you select the relevant forum when asking questions.

A2 – General Queries. This forum is for queries to the instructor regarding general assignment queries/requirements,
and peer discussions. It is not for questions of scope. You may discuss queries, share URLs or offer suggestions, but do
not paste answers. Last minute work is discouraged and all queries should be posted  by 5pm Friday 27
April.

A2 – Client Queries.  This forum is purely for discussions with Isaac from iEat.  It should be used for queries
regarding scope and definition.  Remember that the client cannot answer technical questions. Note too that the client
will only be available for a limited period.  All client queries must be posted by 5pm Friday 13
th
April.

It is preferable that instructor queries are posted on the discussion board, so it’s asked once, answered once and
shared with everyone.  However, if you are uncomfortable posting publicly, or feel that your question gives away too
much of your answer, then you may email the instructor providing you email by 5pm Wednesday 25
April.  The
hard deadline is to both discourage last minute work, and facilitate the required reply time.

Trouble Getting Started / Being Overwhelmed
If you find yourself overwhelmed / going around in circles, the following advice may help.
– review the relevant lecture material briefly
– identify the functionality of the system referred to
– quickly ‘brainstorm’ an answer to the question, as if you were only given 10 minutes to answer each question
– review your answer and make adjustments, be they sweeping or subtle
– be prepared to adjust / refine your answer after completing the other questions

This assignment touches some topics which have potential complexity.
You are not expected to return
complex, industry level responses. You are not being asked for a complete system
design. Focus on directly answering each question and capturing the key functionalities presented.

How to Submit
You should submit your assignment using Weblearn’s submission system. Email submissions will not be accepted.

What to Submit

Your submission should include a single pdf file only – no other formats will be accepted.  Use the web to locate and
download a free pdf writer as required or ask for help on the forum if needed.

You should submit only one unzipped pdf. If you have used graphic/modelling programs to generate models, copy/
paste these completed models into your main document with an appropriate heading and make sure they are readable
in the pdf document you create. Difficulty combining graphics with a main document is not a valid reason for lateness.

Hand drawn diagrams are not acceptable
in assignment two.

Late policy
Late assignments will attract a penalty of 10% (2 marks) per day. After 5 days, the penalty will be 100%.

Extension policy
If unexpected or extenuating circumstances mean that you will not be able to submit on time, you can request  an
extension, but not from the instructor – note that your instructor is not involved in the extension process in any
capacity.

All extension requests need to be sent to
ouacsit@rmit.edu.au.  You should consult the document “CPT230 Overview
SP1 2012” for more information about the extension process. Please be aware that difficulty juggling your time
commitments (e.g. busy at work) are not acceptable reasons for extensions.  Extension requests may take time to
process and should be sent sooner rather than later.  Extension requests cannot be made after the due date of the
assignment.

th
th
Page 1 of 4

2012 SP1 CPT230     Assignment Two Specification
Scenario ~ Exploration of Urbanspoon.com

You have been engaged by a Melbourne client, for their new project codenamed “iEat”.  The iEat team have
asked you to explore urbanspoon.com, as shown at http://www.urbanspoon.com.  Urbanspoon is a web
accessed application that primarily enables web users to search for information about restaurants and
review them. It also has some supplemental functionality.

Your exploration should be Australia focused (exploring restaurants in Australia) rather than checking for
functionality available in other countries.  You are required to submit the diagrams specified in the following
pages. Note you are not modelling a website using storyboards, site-maps etc.

You may uncover areas which require scope clarification.  Scope queries can only be clarified by the client –
Isaac from iEat, via the A2 Client Queries forum.  Isaac is available until 5pm April 13
after which time
he will be on-leave.  All client responses will form part of every student’s assignment specification.  Isaac  is
very helpful, but is not technical – he can’t give technical advice, or judge if a question is relevant.

Scope

Your efforts should focus predominately on the functionality provided by Urbanspoon.com at the backend
(the application end). Scope can be roughly defined as:
• Out of scope
o Most front end content that does not provide you with information about the application’s
functionality, such as ‘Blog’, ‘Go mobile’, Terms of Service’, ‘Privacy’, ‘About Us’, ‘Careers’
o Integration to external applications such as Facebook, Twitter, Google Maps, Partner Sites, etc
o Advertising, or adding a badge to your website
o Any references to “Rez” (a reservation service)
o Smart phone apps or mobile versions of this website
• Limited Scope
o Owner Accounts.  You are required to capture as much of the unique Owner functionality as you
are aware of (predominately by reading the FAQs), without creating an owner’s account.
o Blogger and Critic Accounts.  You are required to capture any Blogger and Critic Account
functions you can observe without actually creating a Blogger or Critic account.
• In scope
o All system functions and data, such as looking for a restaurant, viewing the restaurants details
and reviews, writing a review, sharing, editing a restaurant, liking a restaurant, feedback to
Urbanspoon, adding a restaurant, etc.  This list is not exhaustive.
o Normal Account (also referred to as a Diner Account).  You are required to create a diner
account and document the functionality you observe. You will need a valid email to do this, and
may consider creating a free anonymous email account to undertake this task.  Note you are not
required to incur any cost or impart any actual personal details to complete this assignment.
o Information contained in the front end content that serves to explain key system functionality
(eg Owner’s functions are described in the FAQ section).

Additional Information
There is some additional information to be incorporated that is not necessarily apparent from a public or
Diner view.  These factors should be included in your analysis:

• Urbanspoon has Administrators (Admins). They have a username and password, and must login.
• A User can submit additions to Urbanspoon using the Add Restaurant function. These must be
approved by an Admin before being added to the system. The user is emailed the outcome of their
submission.  Submissions not accepted are deleted from the system.
• Admins may mark a restaurant as closed, or suspend a restaurant from visibility. They can also mark
a restaurant as “pending” whilst they decide if they should suspend the restaurant of not.  An email is
sent to the restaurant owner (if an owner is listed) informing them of the action.
• Admins do have the ability to actually delete a restaurant entry, although this function is usually
reserved for test data rather than real listings.
• Admins also undertake the following actions:
o Editing a restaurant entry
o Viewing feedback
o Upgrading a reviewer to “Prime” status
o Sending a message to an account holder
o Generating reports such as account holder activity, and popular restaurants by town
• In addition to the fields determinable when viewing a restaurant, all restaurants also have the
following information stored about them
o A unique restaurant ID number, the date the restaurant entry was submitted, the date the entry
was approved (and by which Urbanspoon Administrator), the restaurant’s status, every edit ever
submitted, and where the owner is known, their contact name, phone, email, and date they
were declared the owner (in case the owner changes). Past owner’s data is also kept.
th
Page 2 of 4

2012 SP1 CPT230     Assignment Two Specification

1. Provide a use-case diagram of the Urbanspoon.com system.
You should provide ONE diagram that includes all actors and use cases within scope.  Scope queries
should be clarified in the appropriate discussion forum.  Do  not add creative new functionalities.  Do not
use notation not covered in CPT230.

Your diagram will be assessed on:
• Consistency with Urbanspoon.com, additional information provided, and forum discussions
• Correct demonstration of each of the following use case concepts:
o Primary actors
o Use cases
o Associations
o Generalisation, Includes and extends relationships

2.  Create a class diagram of the Urbanspoon.com system
Your should create one class diagram, reflective of the problem domain at UrbanSpoon.com and any
additional information provided in this specification or the discussion forum.  Ensure your class diagram is
consistent with the object diagram in question 3 – you may need to add classes / attributes to capture the
scenario data. Do  not add creative new functionalities or data.  Do not use notation not covered in
CPT230.

Your diagram will be assessed on:
• Consistency with Urbanspoon.com, additional information provided, and forum discussions
• Consistency with your submitted use-case model in question one
• Correct demonstration and inclusion of the following class diagram concepts
o Classes, and generalisations
o Class members such as attributes (including type) and key operations (not signatures)
o Associations and multiplicity
o Notation relevant to the problem domain, not an implementation model
• One class which serves as the entry point into the system (also known as a driver or control
class) as discussed in week 4.

5 marks

3.  Create one
object diagram corresponding to the scenario described below.
You should model the scenario described below in ONE object diagram.

Your diagram will be assessed on:
• Consistency with your class diagram from question 2
• Completeness of scenario
• Correct demonstration of the following object diagram concepts
o Recognition of instances and instance re-use
o Attribute values
o Appropriate associations

Scenario
• On the 26

th
March, a user creates a new diner account, with the username AtariChild and the
password RiverRaid, and email frogger@bigdeeppond.con  This user then submits a favourable
review of the Melbourne based café, Pearson and Murphy, at 124 LaTrobe Street. (This café
was initially added by Diner David Brewster of Melbourne. He has a profile photo on his
account).
• On the same day, AtariChild also ‘likes’ the following restaurants : “Chin Chin” in Melbourne
and “Sandy Feet” in Apollo Bay.  AtariChild also ‘really likes’  “Red Til” in Anglesea.
• On the same day AtariChild notices a new café is absent from UrbanSpoon, and submits the
following data using the “Add Restaurant” function:
o Name: PongPing.  Address: 23 Bowen Street, Melbourne.  Phone: 8888 0000
o Price Range: Under $15  Kind of Food: Coffee   Open: 7 days for lunch only
• On the 27
th
March, UrbanSpoon administrator Jackal (password LeCarre) approves the
creation of the entry of PongPing.

2 marks

5 marks
Page 3 of 4

2012 SP1 CPT230     Assignment Two Specification

4.  Create a sequence diagram.
You should create a sequence diagram for the scenario below.  You should highlight how objects will
interact to achieve the aims of the user, and any objects that are created or destroyed.

Your diagram will be assessed on:
• Consistency with your class diagram from question 2
• Completeness of scenario
• Correct demonstration of the following sequence diagram concepts
o Participants (objects), lifelines, activations, and participant creation
o Appropriate Messages
o The use of Frames

Scenario
Create a diagram to demonstrate the scenario of user AtariChild (who is already logged in) searching for
the restaurant Pearson Murphy and viewing it’s details and reviews.

2 marks

5) Create a communication diagram.
You should create a communication diagram for the scenario below.  You should highlight how objects will
interact to achieve the aims of the user, and any objects that are created or destroyed.

Your diagram will be assessed on:
• Consistency and completeness with both the scenario, and your class diagram in question 2.
• Appropriate identification and use of the following communication diagram concepts
o Participants and participant creation
o Messages
o Ordering and labelling of interactions

Scenario
Create a diagram to demonstrate AtariChild logging in, and Adding a Restaurant.

2 marks

6) Create a state diagram
Create a state diagram to model a Restaurant’s status.  Use the class where this information is captured.
You must state which class you are modelling on your diagram.

Your diagram will be assessed on:
• Consistency and completeness with both the scenario and your class diagram in question 2.
• Correct demonstration of the following state diagram concepts
o Appropriate identification and use of entry & exit points
o Appropriate identification and naming of states
o Appropriate transitions – each MUST have an event specified
o At least one example of a relevant internal action
o At least one example of a transition with a guard condition

2 marks

7. Create an activity diagram.
Create an activity diagram for the scenario below.  Your diagram will be assessed on:
• Consistency and completeness with both the scenario and your class diagram in question 2.
• Your diagram MUST include correct demonstration of each of the following activity diagram
concepts
o Actions, documented at a relevant level of detail
o Decisions, joins, forks, and merges
o Swimlanes by role
o Appropriate UML notation

Scenario
Create an activity diagram for the use case “Add Restaurant”, including it’s acceptance or rejection by the
Admin.  Your diagram must be consistent with the logic visable on Urbanspoon.com and in this
specification.

SOLUTION

  1. 1.    Use-case diagram of the Urbanspoon.com system.

 

 

Notation of use-case diagram:

   

 

                                                                                           Use cases

 

 

 

 

 

 

 

 

                                                                                                                                            Staff

Admin

 

 

 

 

 

 

Management

 

 

 

 

 

 

 

 

 

 

 

 

 

2.  Class diagram of the Urbanspoon.com system.

 

Notation of class diagram:

 

 

 

 

 

 

 

 

 

 

                                                                                                                class

 

 

 

Cashier

 

name

 

 

                                                      Associates

Attrib                          

 

 

 

 

 

Name: string

 

                                                              Constraint                                       delivers

 

 

 

 

 

 

 

 

 

 

 

 

 

Management

 

                                                                       Serves

                                        connects

user

 

servers

 

 

 

 

 

 

 

  1. 3.     Object diagram corresponding to the scenario

 

 

Username:AtariChild;

Pwd:RiverRide;

Email:frogger@bigdeeppond.com;

 

 

 

Dinner at AtariChild

                                                                                                            

                                          Order for dinner

 

 

 

Melbourne

Name: PongPing. Address: 23 Bowen Street, Melbourne.

Phone: 8888 0000

 

                                                        “Chin Chin”

 

 

 

 

Apollo Bay

Price Range: Under $15 Kind of Food: Coffee Open: 7 days for lunch only

 

                                                     “Sandy Feet”

 

 

 

 

  1. 4.    Sequence diagram.

 

Notation of sequence diagram:

      

 

 

Admin

 

 

 

waiter

 

Staff

 

Manager

 

                              

 

 

                   Making edit

Checking the data in database

Saving

Maintain

Feedback                                                         Updating the data

 

Checking request confirmation and modifying

Output is displaying in the records

 

 

 

 

  1. 5.     Communication diagram.

 

 

 

:Admin

Details;

 

Manager:

View, book table, reserve table:

 

Login:

Edit, update, feedback, record in system;

                                    getname:string

                                                                                          getname:string

 

 

 

 

 

 

 

 

 

 

 

cook:

cook orderd food, feedback from customer, serve ontime to customer:

 

                                                       

                                                                                                 Getinfo();

 

 

 

 

 

 

 

 

 

 

                                                                                                         Getinfo();

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

  1. 6.    State diagram

 

 

 

 

 

 

 

 

 

 

 

 

 

 

7.  Activity diagram..

 

  1. 1.    Use-case diagram of the Urbanspoon.com system.

 

 

Notation of use-case diagram:

   

 

                                                                                           Use cases

 

 

 

 

 

 

 

 

                                                                                                                                            Staff

Admin

 

 

 

 

 

 

Management

 

 

 

 

 

 

 

 

 

 

 

 

 

2.  Class diagram of the Urbanspoon.com system.

 

Notation of class diagram:

 

 

 

 

 

 

 

 

 

 

                                                                                                                class

 

 

 

Cashier

 

name

 

 

                                                      Associates

Attrib                          

 

 

 

 

 

Name: string

 

                                                              Constraint                                       delivers

 

 

 

 

 

 

 

 

 

 

 

 

 

Management

 

                                                                       Serves

                                        connects

user

 

servers

 

 

 

 

 

 

 

  1. 3.     Object diagram corresponding to the scenario

 

 

Username:AtariChild;

Pwd:RiverRide;

Email:frogger@bigdeeppond.com;

 

 

 

Dinner at AtariChild

                                                                                                            

                                          Order for dinner

 

 

 

Melbourne

Name: PongPing. Address: 23 Bowen Street, Melbourne.

Phone: 8888 0000

 

                                                        “Chin Chin”

 

 

 

 

Apollo Bay

Price Range: Under $15 Kind of Food: Coffee Open: 7 days for lunch only

 

                                                     “Sandy Feet”

 

 

 

 

  1. 4.    Sequence diagram.

 

Notation of sequence diagram:

      

 

 

Admin

 

 

 

waiter

 

Staff

 

Manager

 

                              

 

 

                   Making edit

Checking the data in database

Saving

Maintain

Feedback                                                         Updating the data

 

Checking request confirmation and modifying

Output is displaying in the records

 

 

 

 

  1. 5.     Communication diagram.

 

 

 

:Admin

Details;

 

Manager:

View, book table, reserve table:

 

Login:

Edit, update, feedback, record in system;

                                    getname:string

                                                                                          getname:string

 

 

 

 

 

 

 

 

 

 

 

cook:

cook orderd food, feedback from customer, serve ontime to customer:

 

                                                       

                                                                                                 Getinfo();

 

 

 

 

 

 

 

 

 

 

                                                                                                         Getinfo();

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

  1. 6.    State diagram

 

 

 

 

 

 

 

 

 

 

 

 

 

 
KC47

“The presented piece of writing is a good example how the academic paper should be written. However, the text can’t be used as a part of your own and submitted to your professor – it will be considered as plagiarism.

But you can order it from our service and receive complete high-quality custom paper.  Our service offers Information security  essay sample that was written by professional writer. If you like one, you have an opportunity to buy a similar paper. Any of the academic papers will be written from scratch, according to all customers’ specifications, expectations and highest standards.”

Please  Click on the  below links to Chat Now  or fill the Order Form !

order-now-new                            chat-new (1)