[Year 12 SofDev] Use Case

Mel Yuan melyuan at hotmail.com
Sat Apr 30 20:52:52 AEST 2016


Hi,

We have just started the Use Case diagrams. 

I am getting the students do write some more detailed Use Cases to help them understand the most appropriate level of granularity for each Use Case. Per example below. The focus is on the Main/ Basic flow and perhaps any obvious Exceptions. The idea being they do their diagram, jot down a few detailed Use Cases, then revise their model. I have encouraged them to do a first pass then go back and see if anything is better modelled as <<includes>> or <<extends>> as these are tough to get your head around and may or may not even be needed. 

I think the most important thing is to be crystal clear that Use Cases are about things that the user does to/with the system. The detailed use case shows the interaction between the user and the system in a step-by-step fashion. 



Use Case: change password

Actor: Student

Description:
The student can change his password.

Precondition:
		-

Main Flow:
The student chooses to change his password
The student enters the current password and the new password twice.
The system validates the entered passwords. 3.1
The new password is stored in the database.
The students gets a message that the new password has changed.
Postcondition:
A password is generated for a member and stored in the database linked with the student’s profile.

Exceptions:
		3.1	Precondition: A fault has occurred at the validation of the passwords.
			Main: The student gets an informative error massage.
			Postcondition: The student returns to step 2 in the main flow.


The example above is from a real world use case doco I have from a previous life. I’m happy to share this example (I may have a few others in the vault) to anyone who’s interested. When you see Use Cases applied I think the idea of the model gets a whole lot easier …. 

Cheers, Mel

P.S. Yes, it feels very late in the term and yes I am panicking. 


> On 25 Apr 2016, at 5:32 pm, Mary Ho <homn at aquinas.vic.edu.au> wrote:
> 
> I have a student who is really good and he has created a use case with only 1 actor, I'm not 100% sure if this could be correct.  I just wanted some clarification.
> <image.png>
> So the member of the system uses calculators to convert measurements etc, but should there me the mentor there? What's missing?!
> 
> Thanks in advance
> 
> -- 
> 
> MARY HO
> TEACHER
> AQUINAS COLLEGE
> Great Ryrie Street
> P.O. Box 190, Ringwood VIC 3134
> T: (03) 9259 3045
> VM: (03) 9259 3139
> E: homn at aquinas.vic.edu.au <mailto:homn at aquinas.vic.edu.au>
> CELEBRATING OUR YEAR OF STEWARDSHIP
> 
> This email and any attachments may be confidential. If you are not the intended recipient, you must not disclose or use the information in this email. If received in error, please notify the sender or Aquinas College immediately and delete the email and all copies. Aquinas College does not represent or warrant that the attached files are free from computer viruses or other defects. Any attached files may only be used on the basis that the user assumes all responsibility for any loss, damage or consequences resulting directly or indirectly from the use of the attached files, whether caused by the negligence of the sender or not. The liability of Aquinas College is limited in any event to either the resupply of the attached files or the cost of having the attached files resupplied. Any representations or opinions presented in this email are solely those of the individual sender and do not necessarily represent those of Aquinas College. Emails and data sent and received by Aquinas email accounts may be stored offsite.
> 
> _______________________________________________
> http://www.edulists.com.au - FAQ, Subscribe, Unsubscribe
> IT Software Development Mailing List kindly supported by
> http://www.vcaa.vic.edu.au - Victorian Curriculum and Assessment Authority and
> http://www.vcaa.vic.edu.au/vce/studies/infotech/softwaredevel3-4.html 
> http://www.vitta.org.au  - VITTA Victorian Information Technology Teachers Association Inc
> http://www.swinburne.edu.au/ict/schools - Swinburne University

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.edulists.com.au/pipermail/sofdev/attachments/20160430/b850731a/attachment.html 


More information about the sofdev mailing list