<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>use case diagram Archives - IRM Training</title>
	<atom:link href="https://irm.com.au/tag/use-case-diagram/feed/" rel="self" type="application/rss+xml" />
	<link></link>
	<description>Australian Leading Training Provider since 1989</description>
	<lastBuildDate>Tue, 28 May 2024 05:49:03 +0000</lastBuildDate>
	<language>en-AU</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	
<site xmlns="com-wordpress:feed-additions:1">214999885</site>	<item>
		<title>How to Create Use Cases</title>
		<link>https://irm.com.au/how-to-create-use-cases/</link>
					<comments>https://irm.com.au/how-to-create-use-cases/#respond</comments>
		
		<dc:creator><![CDATA[IRM Training]]></dc:creator>
		<pubDate>Tue, 28 May 2024 04:56:57 +0000</pubDate>
				<category><![CDATA[Use Case]]></category>
		<category><![CDATA[activity diagram]]></category>
		<category><![CDATA[business analysis]]></category>
		<category><![CDATA[textual use case]]></category>
		<category><![CDATA[use case diagram]]></category>
		<category><![CDATA[use cases]]></category>
		<guid isPermaLink="false">https://irm.com.au/?p=8117</guid>

					<description><![CDATA[<p>Use Cases allow requirements to be presented as a collection of stories from the user&#8217;s perspective. A Use Case can be used on its own or in addition to a User Story to provide more detailed descriptions of how users interact with a system. Use Case Diagram Use Case Diagrams can be used to help [&#8230;]</p>
<p>The post <a href="https://irm.com.au/how-to-create-use-cases/">How to Create Use Cases</a> appeared first on <a href="https://irm.com.au">IRM Training</a>.</p>
]]></description>
										<content:encoded><![CDATA[<p><strong>Use Cases</strong> allow requirements to be presented as a collection of stories from the user&#8217;s perspective. A <em>Use Case</em> can be used on its own or in addition to a <a href="https://en.wikipedia.org/wiki/User_story"><em>User Story</em></a> to provide more detailed descriptions of how users interact with a system.</p>
<h2>Use Case Diagram</h2>
<p><strong>Use Case Diagrams</strong> can be used to help visualise the story described in a <em>Use Case</em>. A <em>Use Case Diagram</em> consists of 3 components:</p>
<ol>
<li><em>Actor</em> &#8211; represented by a stick figure</li>
<li><em>Use Case Name</em> &#8211; represented by an ellipse</li>
<li><em>Association</em> &#8211; represented by a straight line that links an <em>Actor</em> with a <em>Use Case Name</em></li>
</ol>
<p>Example:</p>
<p><img data-recalc-dims="1" decoding="async" class="aligncenter wp-image-8120 size-full" src="https://i0.wp.com/irm.com.au/wp-content/uploads/2024/05/use-case-request-study-leave.png?resize=404%2C87&#038;ssl=1" alt="Use Case Diagram for an employee requesting Study Leave to their manager" width="404" height="87" srcset="https://i0.wp.com/irm.com.au/wp-content/uploads/2024/05/use-case-request-study-leave.png?w=404&amp;ssl=1 404w, https://i0.wp.com/irm.com.au/wp-content/uploads/2024/05/use-case-request-study-leave.png?resize=300%2C65&amp;ssl=1 300w, https://i0.wp.com/irm.com.au/wp-content/uploads/2024/05/use-case-request-study-leave.png?resize=150%2C32&amp;ssl=1 150w" sizes="(max-width: 404px) 100vw, 404px" /></p>
<p>Conventions followed when creating a <em>Use Case Diagram</em>:</p>
<ul>
<li>The <em>Use Case Name</em> starts with a verb and (optionally) followed by a noun.</li>
<li>The main / primary actor is usually drawn on the left and the supporting / secondary actor (if there is one) on the right.</li>
</ul>
<h3>Exercise</h3>
<h4>Course Registration</h4>
<div style="background-color: #cccccc;">
<p style="background-color: #cccccc;">At the start of each semester a student can request a prospectus containing a course list. Information about a course is provided, such as the tutor, department and prerequisites.</p>
<p style="background-color: #cccccc;">The new system will allow students to create a schedule, then select four courses. Each student chooses two others in case their first choices become full or are cancelled. No course<br />
can have more than 10 students. No course can have less than 3 students or it will be<br />
cancelled. This will be the same functionality as available to other internal users of the<br />
system.</p>
<p style="background-color: #cccccc;">When registration is complete, the registration system sends a message to the billing system<br />
to send out a bill to the student.</p>
<p style="background-color: #cccccc;">Tutors use the system to find which classes they are teaching and who the students are. The registrar will administer the system.</p>
<p style="background-color: #cccccc;">For a period at the beginning of the semester the student can change their schedule.<br />
Students must be allowed to access the system during this time to add or delete courses.</p>
</div>
<h4>Task</h4>
<p>Analyse the &#8216;Course Registration&#8217; requirements above and represent them as a <em>Use Case Diagram</em>.</p>
<h5><strong>Example answer</strong></h5>
<p><img data-recalc-dims="1" fetchpriority="high" decoding="async" class="aligncenter wp-image-3821 size-full" src="https://i0.wp.com/irm.com.au/wp-content/uploads/2007/10/use-case.png?resize=621%2C602&#038;ssl=1" alt="use case" width="621" height="602" srcset="https://i0.wp.com/irm.com.au/wp-content/uploads/2007/10/use-case.png?w=621&amp;ssl=1 621w, https://i0.wp.com/irm.com.au/wp-content/uploads/2007/10/use-case.png?resize=150%2C145&amp;ssl=1 150w, https://i0.wp.com/irm.com.au/wp-content/uploads/2007/10/use-case.png?resize=300%2C291&amp;ssl=1 300w" sizes="(max-width: 621px) 100vw, 621px" /></p>
<h2>Textual Use Case</h2>
<p>A textual <em>Use Case</em> typically include:</p>
<ul>
<li>Use Case ID</li>
<li>Use Case Name</li>
<li>Actors (or Users)</li>
<li>Description</li>
<li>Pre-conditions</li>
<li>Post-conditions</li>
<li>Trigger</li>
<li>Primary Flow</li>
<li>Alternative Flows</li>
<li>Exception Flows</li>
</ul>
<p>The <em>Primary Flow</em> is usually quite simple and shows what normally occur in the most common scenario and when nothing out of the ordinary happens. Any possible variations to the normal story are then presented as <em>Alternative Flows</em>, while the <em>Exception Flows</em> describe what can go wrong and how the <em>Use Case</em> will handle it.</p>
<p>Example textual <em>Use Case</em> for &#8216;Register for Courses&#8217;:</p>
<table style="border: 1px groove #999999; border-collapse: separate; color: #000000; padding: 15px; margin: 15px;">
<tbody style="padding: 15px; margin: 15px;">
<tr>
<th>Use Case ID:</th>
<td>UC-101</td>
</tr>
<tr>
<th>Use Case Name:</th>
<td>Register for Courses</td>
</tr>
<tr>
<th style="vertical-align: top;">Description:</th>
<td>This use case allows the student to register for courses by creating, viewing, modifying<br />
or deleting a schedule for a specified semester. Pertinent billing information is sent to<br />
the Billing System.</td>
</tr>
<tr>
<th>Primary Actor:</th>
<td>Student</td>
</tr>
<tr>
<th>Secondary Actor:</th>
<td>Billing System</td>
</tr>
<tr>
<th>Pre-conditions:</th>
<td>Registrations for the Semester are open to Students.</td>
</tr>
<tr>
<th>Post-conditions:</th>
<td>List of students enrolled in the course is updated.</td>
</tr>
<tr>
<th>Trigger:</th>
<td>Student submits the enrolment form.</td>
</tr>
<tr>
<th style="vertical-align: top;">Primary Flow:</th>
<td>
<ol>
<li>The Student initiates the use case by entering a student number and<br />
password.</li>
<li>The System prompts the student for one of the following options:
<ul style="list-style:circle;">
<li>Create a schedule</li>
<li>Review a schedule</li>
<li>Change a schedule (to add or delete a course offering)</li>
</ul>
</li>
<li>The Student selects an option, completes the task and indicates when finished.</li>
<li>The System saves any changes made, sends billing details to the Billing<br />
System and prints the schedule.</li>
<li>The Use Case ends.</li>
</ol>
</td>
</tr>
<tr>
<th style="vertical-align: top;">Alternative Flow:</th>
<td>1.a. The password has expired</p>
<ul>
<li>The System prompts the student to enter a new password.</li>
<li>The Use Case resumes at step #2 (of Primary Flow).</li>
</ul>
</td>
</tr>
<tr>
<th style="vertical-align: top;">Exception Flow:</th>
<td>1.a. Invalid student details entered</p>
<ul>
<li>The System denies access and displays an error message.</li>
<li>The Use Case ends.</li>
</ul>
</td>
</tr>
</tbody>
</table>
<h2>Further Learning</h2>
<p>In <em>Use Case Diagrams</em>, apart from the simple association there can also be other relationships between an <em>Actor</em> and a <em>Use Case</em> that you can show, such as <em>Extend</em>, <em>Include</em> and <em>Generalisation</em>.</p>
<p>In textual <em>Use Cases</em>, there can also be more complex requirements, possible alternatives and exceptions.</p>
<p>Learn further about <em>Use Cases</em> and more, by attending one of the following IRM Training&#8217;s hands-on courses:</p>
<ul>
<li><a href="/business-analysis-training/">Business Analysis</a></li>
<li><a href="/writing-better-requirements-training/">Writing Better Requirements</a></li>
</ul>
<hr>
<p style="text-align: right;">
<p>The post <a href="https://irm.com.au/how-to-create-use-cases/">How to Create Use Cases</a> appeared first on <a href="https://irm.com.au">IRM Training</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://irm.com.au/how-to-create-use-cases/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
		<post-id xmlns="com-wordpress:feed-additions:1">8117</post-id>	</item>
	</channel>
</rss>
