Download presentation
Presentation is loading. Please wait.
1
Requirements Analysis
Outline Applying Waterfall inside a sprint Requirements elicitation Use cases and application domain classes Captured in use case descriptions and class diagrams Requirements analysis Methods, attributes and classes (UI, control, container) Captured in class diagrams and sequence diagrams Group assignment Effective learner - motivation Demonstration of Visual Paradigm adding methods and types to class diagrams sequence diagrams COMP S356F Week 5
2
Requirements Elicitation
Communicate with stakeholders and actors Create problem statements Scope and objective of your product Original situation versus new situation Write scenarios/use case descriptions Draw use case diagrams Draw class diagrams with application domain objects Don’t forget nonfunctional requirements. COMP S356F Week 5
3
Agile + Waterfall = ? Steps in Waterfall model
Requirements elicitation Analysis Design Coding Testing Can/Should we apply the stages in the Waterfall model to the Scrum method that we are using? Can we use user stories and use cases together? COMP S356F Week 5
4
Questions and Answers Can we apply the stages in the Waterfall model to the Scrum method that we are using? Yes. In a sprint, we can apply the steps to a small number of user stories. In conventional waterfall model, people would apply the stages to all features of the product. Can we use user stories and use cases together? Yes, we can use user stories to help us to limit the scope of a sprint. We then create use cases by combining and expanding the user stories. COMP S356F Week 5
5
Draw Use Case Diagrams What do the dotted lines with arrows mean?
COMP S356F Week 5
6
Use Case: Take a Quiz – Part 1 of 2
Actor: student Entry condition: A quiz record exists Exit condition: A quiz-taking record and multiple answer records are created Quality requirements: 50 students can take a quiz simultaneously, median system time is at most 2 seconds Why do I underline some phrases? COMP S356F Week 5
7
Use Case: Take a Quiz – Part 2 of 2
Event flow: Student enters name and student id (story 6) The system shows a question in the quiz (story 7) Student enters an answer (story 8) Student chooses to go forward, backward or finish Go to step 2 if applicable There may be one or more user stories per use case. COMP S356F Week 5
8
Draw Class Diagrams Using Nouns in Use Case Descriptions
COMP S356F Week 5
9
(Requirements) Analysis Activities
Identifying additional attributes Identifying methods Identifying types Identify additional classes Use case controller - enforces the event flow of a use case Object container - contains a collection of objects, e.g. a student container User interface - some people consider this a part of the design activity Reading the use case descriptions may help. COMP S356F Week 5
10
Outcome of Your Analysis Activities
New classes (use case control flow, UI and container) Class diagrams with Added attributes Methods Types Possibly revise use case descriptions Sequence diagrams that capture event flow in use cases COMP S356F Week 5
11
Part of the Previous Class Diagram – Expanded in Analysis
COMP S356F Week 5
12
Question The class diagram on slide 11 is created in the analysis activities. It shows the same classes in the top half of slide 8 which is a deliverable of requirements elicitation activities. How do the two diagrams differ (other than one hold more classes than the other)? COMP S356F Week 5
13
Sequence Diagram for the Take a Quiz Use Case
COMP S356F Week 5
14
Questions Note that StudentContainer in the sequence diagram did not appear in a class diagram. You should avoid that in your supported documentation of your project. We have identified four types of classes on previous slides. What are they? Identify for each kind whether it is created in elicitation or analysis. You told us earlier that agile methods do not rely on documentation. Why are we still writing use case descriptions and drawing class diagrams and sequence diagrams? COMP S356F Week 5
15
Answers We have 4 kinds of classes
Application domain (elicitation) – Quiz and Student Answer Use case event flow controller (analysis) – Quiz UI Object container (analysis) – Student Container User interface (analysis or design) – Quiz UI Use case descriptions are quite easy to create. They clarify what objects are involved in a user task. The class diagrams and sequence diagrams are very useful when non-agile methods are used. Therefore you should learn them for future employment. COMP S356F Week 5
16
Group Assignment 1 Each group will do the followings for this assignment Submit supporting materials ( 3 copies) during the tutorial in the week of Nov 9 [30%] Demonstrate the completed features of your software application during the tutorial in the week of Nov 16 [50%] Provide constructive and useful comments to another group after seeing their demonstration [20%] COMP S356F Week 5
17
Assignment 1 Supporting Materials
Sprint backlog for the current sprint user stories should be divided into tasks assigned to team members tasks should show time estimate and actual time spent (you will not be penalized for not estimating accurately) Use case descriptions can but not required to use the format of slide 23 in week 4 Class diagrams show important classes used in your program draw them with UML drawing tools such as Visual Paradigm (MS Word does not qualify) Sequence diagrams One per use case COMP S356F Week 5
18
Criteria of Supporting Materials
Draw diagrams with software tools with good UML support, MS Word does not qualify because it does not prevent you from producing incorrect diagrams Diagrams must be consistent among themselves, e.g. Messages in sequence diagrams must agree with the event flow in use case descriptions Classes in sequence diagrams must be present in class diagrams Diagrams must be consistent with the software e.g. a class in a diagram Submit 3 hardcopies, one for tutor, one for lecturer and one for another group assigned to comment on your work Clearly highlighted minor correction of supporting materials MAY be accepted at the demonstration COMP S356F Week 5
19
Assignment 1 Demonstration [50%]
Demonstration will take place in the tutorial room Demonstration will be done on your product not on slides The team order will be determined with the tutor one week before the demo. If two teams fight for the same spot, the outcome can be determined by rock-paper-scissors Each team will be responsible for the set up of their own equipment (They are suggested to test their equipment and the projection in the tutorial room one week before the demonstration) All team members are expected to be present though not everyone must be part of the presentation 8-minute time limit inclusive of equipment setup COMP S356F Week 5
20
Commenting Team Suppose there are three teams in a tutorial and their presenting order is as follows Team A Team B Team C After Team A has presented, Team C will comment on Team A. After Team B has presented, Team A will comment on Team B. After Team C has presented, Team B will comment on Team C. The general rule is that the team just finished will comment on the next team that presents. COMP S356F Week 5
21
After the Demonstration
Tutor or lecturer may ask individual members about the tasks they perform (as a result, it is possible for different members of a team to get a different score) One or more members from the commenting team will give constructive comments to the team just finished their demonstration (3 minutes maximum) Comments may be based on supporting materials and demonstration The commenting team can optionally provide printed materials of their comments Tutor and lecture will grade the commenting teams based on the following quality of their comments Correctness Usefulness Specificity Completeness COMP S356F Week 5
22
Miscellaneous Things of Assignment 1
The assignment is worth 5% of your final grade Your tutor and lecturer will mark your performance independently. The average of their scores will be used. Your supporting materials and spoken words in the demonstration tutorial will be in English though the user interface of your software can have Chinese your code to tutor and lecturer on the same day of your demonstration (10%) COMP S356F Week 5
23
Effective Learner Part 1: Intrinsic Motivation and Extrinsic Rewards
You enjoy doing an activity Examples: painters enjoy painting even if they cannot sell their work at a high price Extrinsic rewards You enjoy the outcome of an activity Examples: students hate school work but enjoy good grades so that they can collect the prizes from their parents and get a well paying job COMP S356F Week 5
24
Problem of Overusing Extrinsic Rewards
Parents buy stuff for their children when they achieve a certain grade or behave in a certain way Gradually students’ attention is on the extrinsic rewards not intrinsic enjoyment Oliver’s suggestion: Motivate yourself both intrinsically and extrinsically If you do not like some aspects of computing, choose another subject that you like Visual Paradigm demo, you may leave early COMP S356F Week 5
Similar presentations
© 2024 SlidePlayer.com. Inc.
All rights reserved.