![Page 1: Examples - · PDF fileGroup Project Report Submission Date 25th December Presentation/Demonstration Marking Criteria/Deliverables Submit single .zip Student number, e.g](https://reader033.vdocuments.net/reader033/viewer/2022042801/5a78e21e7f8b9aa17b8e0934/html5/thumbnails/1.jpg)
Examples Object Orientated Analysis and Design
Benjamin Kenwright
![Page 2: Examples - · PDF fileGroup Project Report Submission Date 25th December Presentation/Demonstration Marking Criteria/Deliverables Submit single .zip Student number, e.g](https://reader033.vdocuments.net/reader033/viewer/2022042801/5a78e21e7f8b9aa17b8e0934/html5/thumbnails/2.jpg)
Outline
Revision Questions
Group Project
Review Deliverables
Exam/Quizzes/Project Dates
Example System Problem
Case Studey
![Page 3: Examples - · PDF fileGroup Project Report Submission Date 25th December Presentation/Demonstration Marking Criteria/Deliverables Submit single .zip Student number, e.g](https://reader033.vdocuments.net/reader033/viewer/2022042801/5a78e21e7f8b9aa17b8e0934/html5/thumbnails/3.jpg)
Milestone Dates
Demonstrate Date
Submission Deadline
Exam 3rd Jan 2017
2 Hours
![Page 4: Examples - · PDF fileGroup Project Report Submission Date 25th December Presentation/Demonstration Marking Criteria/Deliverables Submit single .zip Student number, e.g](https://reader033.vdocuments.net/reader033/viewer/2022042801/5a78e21e7f8b9aa17b8e0934/html5/thumbnails/4.jpg)
25th December
Last Day – Quizzes
Grade Taken
![Page 5: Examples - · PDF fileGroup Project Report Submission Date 25th December Presentation/Demonstration Marking Criteria/Deliverables Submit single .zip Student number, e.g](https://reader033.vdocuments.net/reader033/viewer/2022042801/5a78e21e7f8b9aa17b8e0934/html5/thumbnails/5.jpg)
Group Project
Report
Submission Date 25th December
Presentation/Demonstration
Marking Criteria/Deliverables
Submit single .zip
Student number, e.g., 20939302.zip
Report and any supporting material
![Page 6: Examples - · PDF fileGroup Project Report Submission Date 25th December Presentation/Demonstration Marking Criteria/Deliverables Submit single .zip Student number, e.g](https://reader033.vdocuments.net/reader033/viewer/2022042801/5a78e21e7f8b9aa17b8e0934/html5/thumbnails/6.jpg)
Case Study Example
Online Ticket Reservation System
![Page 7: Examples - · PDF fileGroup Project Report Submission Date 25th December Presentation/Demonstration Marking Criteria/Deliverables Submit single .zip Student number, e.g](https://reader033.vdocuments.net/reader033/viewer/2022042801/5a78e21e7f8b9aa17b8e0934/html5/thumbnails/7.jpg)
Exercise
Write down the steps you’d go through
for a Online Ticket Reservation System
(5 Minutes)
![Page 8: Examples - · PDF fileGroup Project Report Submission Date 25th December Presentation/Demonstration Marking Criteria/Deliverables Submit single .zip Student number, e.g](https://reader033.vdocuments.net/reader033/viewer/2022042801/5a78e21e7f8b9aa17b8e0934/html5/thumbnails/8.jpg)
Example Steps Step 1
- Before entering the system, users have to login
- Get the username and password from existing users.
- Give new users the option to sign up.
Step 2
- Get the source and destination.
- Provide a dropdown box for the date.
- Check availability of tickets.
Step 3
- If tickets are available, get the number of passengers.
- Get the name and age of all passengers.
- If tickets are not available, reschedule.
Step 4
- Print the cost of the tickets.
- Get the payment details from the user.
- Confirm the details and the ticket.
- Display confirmed ticket to the user
![Page 9: Examples - · PDF fileGroup Project Report Submission Date 25th December Presentation/Demonstration Marking Criteria/Deliverables Submit single .zip Student number, e.g](https://reader033.vdocuments.net/reader033/viewer/2022042801/5a78e21e7f8b9aa17b8e0934/html5/thumbnails/9.jpg)
Exercise
Given your steps, draw an Activity
Diagram
![Page 10: Examples - · PDF fileGroup Project Report Submission Date 25th December Presentation/Demonstration Marking Criteria/Deliverables Submit single .zip Student number, e.g](https://reader033.vdocuments.net/reader033/viewer/2022042801/5a78e21e7f8b9aa17b8e0934/html5/thumbnails/10.jpg)
Activity Diagram
![Page 11: Examples - · PDF fileGroup Project Report Submission Date 25th December Presentation/Demonstration Marking Criteria/Deliverables Submit single .zip Student number, e.g](https://reader033.vdocuments.net/reader033/viewer/2022042801/5a78e21e7f8b9aa17b8e0934/html5/thumbnails/11.jpg)
Exercise
Extend your understanding of the
system to include a Class Diagram
![Page 12: Examples - · PDF fileGroup Project Report Submission Date 25th December Presentation/Demonstration Marking Criteria/Deliverables Submit single .zip Student number, e.g](https://reader033.vdocuments.net/reader033/viewer/2022042801/5a78e21e7f8b9aa17b8e0934/html5/thumbnails/12.jpg)
Class Diagram
![Page 13: Examples - · PDF fileGroup Project Report Submission Date 25th December Presentation/Demonstration Marking Criteria/Deliverables Submit single .zip Student number, e.g](https://reader033.vdocuments.net/reader033/viewer/2022042801/5a78e21e7f8b9aa17b8e0934/html5/thumbnails/13.jpg)
Exercise
Draw a use case diagram of your
solution
![Page 14: Examples - · PDF fileGroup Project Report Submission Date 25th December Presentation/Demonstration Marking Criteria/Deliverables Submit single .zip Student number, e.g](https://reader033.vdocuments.net/reader033/viewer/2022042801/5a78e21e7f8b9aa17b8e0934/html5/thumbnails/14.jpg)
Use Case Diagram
![Page 15: Examples - · PDF fileGroup Project Report Submission Date 25th December Presentation/Demonstration Marking Criteria/Deliverables Submit single .zip Student number, e.g](https://reader033.vdocuments.net/reader033/viewer/2022042801/5a78e21e7f8b9aa17b8e0934/html5/thumbnails/15.jpg)
Exercise
Draw a sequence diagram of your
system
![Page 16: Examples - · PDF fileGroup Project Report Submission Date 25th December Presentation/Demonstration Marking Criteria/Deliverables Submit single .zip Student number, e.g](https://reader033.vdocuments.net/reader033/viewer/2022042801/5a78e21e7f8b9aa17b8e0934/html5/thumbnails/16.jpg)
Sequence Diagram
![Page 17: Examples - · PDF fileGroup Project Report Submission Date 25th December Presentation/Demonstration Marking Criteria/Deliverables Submit single .zip Student number, e.g](https://reader033.vdocuments.net/reader033/viewer/2022042801/5a78e21e7f8b9aa17b8e0934/html5/thumbnails/17.jpg)
Exercise
Draw a collaboration diagram of your
system solution
Note collaboration diagram, also called a
communication diagram or interaction diagram , is an
illustration of the relationships and interactions among
software objects
![Page 18: Examples - · PDF fileGroup Project Report Submission Date 25th December Presentation/Demonstration Marking Criteria/Deliverables Submit single .zip Student number, e.g](https://reader033.vdocuments.net/reader033/viewer/2022042801/5a78e21e7f8b9aa17b8e0934/html5/thumbnails/18.jpg)
Collaboration Diagram
![Page 19: Examples - · PDF fileGroup Project Report Submission Date 25th December Presentation/Demonstration Marking Criteria/Deliverables Submit single .zip Student number, e.g](https://reader033.vdocuments.net/reader033/viewer/2022042801/5a78e21e7f8b9aa17b8e0934/html5/thumbnails/19.jpg)
Exercise
Draw a state chart diagram of your
system
![Page 20: Examples - · PDF fileGroup Project Report Submission Date 25th December Presentation/Demonstration Marking Criteria/Deliverables Submit single .zip Student number, e.g](https://reader033.vdocuments.net/reader033/viewer/2022042801/5a78e21e7f8b9aa17b8e0934/html5/thumbnails/20.jpg)
State Chart Diagram
![Page 21: Examples - · PDF fileGroup Project Report Submission Date 25th December Presentation/Demonstration Marking Criteria/Deliverables Submit single .zip Student number, e.g](https://reader033.vdocuments.net/reader033/viewer/2022042801/5a78e21e7f8b9aa17b8e0934/html5/thumbnails/21.jpg)
Exercise
Draw a component diagram of your
system
![Page 22: Examples - · PDF fileGroup Project Report Submission Date 25th December Presentation/Demonstration Marking Criteria/Deliverables Submit single .zip Student number, e.g](https://reader033.vdocuments.net/reader033/viewer/2022042801/5a78e21e7f8b9aa17b8e0934/html5/thumbnails/22.jpg)
Component Diagram
![Page 23: Examples - · PDF fileGroup Project Report Submission Date 25th December Presentation/Demonstration Marking Criteria/Deliverables Submit single .zip Student number, e.g](https://reader033.vdocuments.net/reader033/viewer/2022042801/5a78e21e7f8b9aa17b8e0934/html5/thumbnails/23.jpg)
Exercise
Draw a deployment diagram of your
system
![Page 24: Examples - · PDF fileGroup Project Report Submission Date 25th December Presentation/Demonstration Marking Criteria/Deliverables Submit single .zip Student number, e.g](https://reader033.vdocuments.net/reader033/viewer/2022042801/5a78e21e7f8b9aa17b8e0934/html5/thumbnails/24.jpg)
Deployment Diagram
![Page 25: Examples - · PDF fileGroup Project Report Submission Date 25th December Presentation/Demonstration Marking Criteria/Deliverables Submit single .zip Student number, e.g](https://reader033.vdocuments.net/reader033/viewer/2022042801/5a78e21e7f8b9aa17b8e0934/html5/thumbnails/25.jpg)
Question
Write down the differences between
Agile and Plan-Driven development
(5 Minutes)
![Page 26: Examples - · PDF fileGroup Project Report Submission Date 25th December Presentation/Demonstration Marking Criteria/Deliverables Submit single .zip Student number, e.g](https://reader033.vdocuments.net/reader033/viewer/2022042801/5a78e21e7f8b9aa17b8e0934/html5/thumbnails/26.jpg)
Project is small
Experienced teams with a wide
range of abilities take part
Teams are self-starters, independent
leaders and others who are self-
directing
Project is an in-house project and
the team co-located
System is new with lots of unknowns
Requirements must be discovered
Requirements and environment are
volatile with high change rates
End-user environment is flexible
Relationship with customer is close
and collaborative
Customer is readily available
dedicated and co-located
High trust environment exists within
the development teams and
customer
Rapid value and high-
responsiveness are required
Project is large
Teams include varied capabilities and
skill sets
Teams are geographically distributed
and/or outsourced
Project is of strategic importance
System is well understood (scope
and features set)
Requirements are fairly stable
System is large and complex (critical
safety/high reliability requirements)
Project stakeholders have a weak
relationship with the development
team
External legal concerns
Focus is on a strong, quantitative
process improvement
Definition and management of
process are important
Predictability and stability of process
are important
Agile Plan-Driven Answer
![Page 27: Examples - · PDF fileGroup Project Report Submission Date 25th December Presentation/Demonstration Marking Criteria/Deliverables Submit single .zip Student number, e.g](https://reader033.vdocuments.net/reader033/viewer/2022042801/5a78e21e7f8b9aa17b8e0934/html5/thumbnails/27.jpg)
Question
Briefly summarize the importance of
using inheritance
(5 minutes)
![Page 28: Examples - · PDF fileGroup Project Report Submission Date 25th December Presentation/Demonstration Marking Criteria/Deliverables Submit single .zip Student number, e.g](https://reader033.vdocuments.net/reader033/viewer/2022042801/5a78e21e7f8b9aa17b8e0934/html5/thumbnails/28.jpg)
Answer
Inheritance is one of the most powerful features of object oriented programming. Most important advantages of inheritance are:
Reusability
Saves times and efforts
Closeness with the real world
Easy modification
Transitive Nature of inheritance
![Page 29: Examples - · PDF fileGroup Project Report Submission Date 25th December Presentation/Demonstration Marking Criteria/Deliverables Submit single .zip Student number, e.g](https://reader033.vdocuments.net/reader033/viewer/2022042801/5a78e21e7f8b9aa17b8e0934/html5/thumbnails/29.jpg)
Question
Write down what Use case diagrams
are used for?
![Page 30: Examples - · PDF fileGroup Project Report Submission Date 25th December Presentation/Demonstration Marking Criteria/Deliverables Submit single .zip Student number, e.g](https://reader033.vdocuments.net/reader033/viewer/2022042801/5a78e21e7f8b9aa17b8e0934/html5/thumbnails/30.jpg)
Answer
To model the context of a system by
enclosing all the activities of a system
within a rectangle and focusing on the
actors outside the system by interacting
with it
To model the requirements of a system
from the outside point of view
![Page 31: Examples - · PDF fileGroup Project Report Submission Date 25th December Presentation/Demonstration Marking Criteria/Deliverables Submit single .zip Student number, e.g](https://reader033.vdocuments.net/reader033/viewer/2022042801/5a78e21e7f8b9aa17b8e0934/html5/thumbnails/31.jpg)
Question
Write down what Interaction Diagrams
and what are they used for?
![Page 32: Examples - · PDF fileGroup Project Report Submission Date 25th December Presentation/Demonstration Marking Criteria/Deliverables Submit single .zip Student number, e.g](https://reader033.vdocuments.net/reader033/viewer/2022042801/5a78e21e7f8b9aa17b8e0934/html5/thumbnails/32.jpg)
Answer
Interaction diagrams depict interactions of objects and their relationships. They also include the messages passed between them.
Interaction diagrams are used for modeling −
the control flow by time ordering using sequence diagrams.
the control flow of organization using collaboration diagrams.
![Page 33: Examples - · PDF fileGroup Project Report Submission Date 25th December Presentation/Demonstration Marking Criteria/Deliverables Submit single .zip Student number, e.g](https://reader033.vdocuments.net/reader033/viewer/2022042801/5a78e21e7f8b9aa17b8e0934/html5/thumbnails/33.jpg)
Question
There are two categories of elements in
an object-oriented system
Major Elements & Minor Elements
Write down the the four major and three
minor elements.
![Page 34: Examples - · PDF fileGroup Project Report Submission Date 25th December Presentation/Demonstration Marking Criteria/Deliverables Submit single .zip Student number, e.g](https://reader033.vdocuments.net/reader033/viewer/2022042801/5a78e21e7f8b9aa17b8e0934/html5/thumbnails/34.jpg)
Answer
Major
Abstraction
Encapsulation
Modularity
Hierarchy
Minor
Typing
Concurrency
Persistence
![Page 35: Examples - · PDF fileGroup Project Report Submission Date 25th December Presentation/Demonstration Marking Criteria/Deliverables Submit single .zip Student number, e.g](https://reader033.vdocuments.net/reader033/viewer/2022042801/5a78e21e7f8b9aa17b8e0934/html5/thumbnails/35.jpg)
Question
There are two types of typing are −
write them down and explain them
![Page 36: Examples - · PDF fileGroup Project Report Submission Date 25th December Presentation/Demonstration Marking Criteria/Deliverables Submit single .zip Student number, e.g](https://reader033.vdocuments.net/reader033/viewer/2022042801/5a78e21e7f8b9aa17b8e0934/html5/thumbnails/36.jpg)
Answer
Strong Typing − Here, the operation on an object is checked at the time of compilation, as in the programming language Eiffel
Weak Typing − Here, messages may be sent to any class. The operation is checked only at the time of execution, as in the programming language Smalltalk
![Page 37: Examples - · PDF fileGroup Project Report Submission Date 25th December Presentation/Demonstration Marking Criteria/Deliverables Submit single .zip Student number, e.g](https://reader033.vdocuments.net/reader033/viewer/2022042801/5a78e21e7f8b9aa17b8e0934/html5/thumbnails/37.jpg)
Question
Write down the five phases of the XP
lifecycle
![Page 38: Examples - · PDF fileGroup Project Report Submission Date 25th December Presentation/Demonstration Marking Criteria/Deliverables Submit single .zip Student number, e.g](https://reader033.vdocuments.net/reader033/viewer/2022042801/5a78e21e7f8b9aa17b8e0934/html5/thumbnails/38.jpg)
Answer
1. Exploration: Determine feasibility, understand key “stories” for the first release, and develop exploratory prototypes
2. Planning: Agree on the date and stories for the first release
3. Iterations to release: Implement and test selected stories in a series of iterations. Refine the iteration plan
4. Productionizing: Prepare supporting materials (documentation, training, marketing), and deploy the operational system
5. Maintenance: Fix and enhance the deployed system
![Page 39: Examples - · PDF fileGroup Project Report Submission Date 25th December Presentation/Demonstration Marking Criteria/Deliverables Submit single .zip Student number, e.g](https://reader033.vdocuments.net/reader033/viewer/2022042801/5a78e21e7f8b9aa17b8e0934/html5/thumbnails/39.jpg)
Question
Write down what the advantages and
disadvantages of the Spiral Model
![Page 40: Examples - · PDF fileGroup Project Report Submission Date 25th December Presentation/Demonstration Marking Criteria/Deliverables Submit single .zip Student number, e.g](https://reader033.vdocuments.net/reader033/viewer/2022042801/5a78e21e7f8b9aa17b8e0934/html5/thumbnails/40.jpg)
Answer
![Page 41: Examples - · PDF fileGroup Project Report Submission Date 25th December Presentation/Demonstration Marking Criteria/Deliverables Submit single .zip Student number, e.g](https://reader033.vdocuments.net/reader033/viewer/2022042801/5a78e21e7f8b9aa17b8e0934/html5/thumbnails/41.jpg)
Question
Write down the advantages and
disadvantages of the V-Shaped Model
![Page 42: Examples - · PDF fileGroup Project Report Submission Date 25th December Presentation/Demonstration Marking Criteria/Deliverables Submit single .zip Student number, e.g](https://reader033.vdocuments.net/reader033/viewer/2022042801/5a78e21e7f8b9aa17b8e0934/html5/thumbnails/42.jpg)
Answer
![Page 43: Examples - · PDF fileGroup Project Report Submission Date 25th December Presentation/Demonstration Marking Criteria/Deliverables Submit single .zip Student number, e.g](https://reader033.vdocuments.net/reader033/viewer/2022042801/5a78e21e7f8b9aa17b8e0934/html5/thumbnails/43.jpg)
Discussion
When would you use an Iterative or
Incremental approach?
![Page 44: Examples - · PDF fileGroup Project Report Submission Date 25th December Presentation/Demonstration Marking Criteria/Deliverables Submit single .zip Student number, e.g](https://reader033.vdocuments.net/reader033/viewer/2022042801/5a78e21e7f8b9aa17b8e0934/html5/thumbnails/44.jpg)
Summary
Review
Case Study
Example Problems/Solutions
Final Exam (January)
Group Project
Review Questions
![Page 45: Examples - · PDF fileGroup Project Report Submission Date 25th December Presentation/Demonstration Marking Criteria/Deliverables Submit single .zip Student number, e.g](https://reader033.vdocuments.net/reader033/viewer/2022042801/5a78e21e7f8b9aa17b8e0934/html5/thumbnails/45.jpg)
This Week
Review Slides
Coursework
Reviewing Quiz Questions
Reviewing Associated Chapter
![Page 46: Examples - · PDF fileGroup Project Report Submission Date 25th December Presentation/Demonstration Marking Criteria/Deliverables Submit single .zip Student number, e.g](https://reader033.vdocuments.net/reader033/viewer/2022042801/5a78e21e7f8b9aa17b8e0934/html5/thumbnails/46.jpg)
Question
Deadline for final group project
submission?
![Page 47: Examples - · PDF fileGroup Project Report Submission Date 25th December Presentation/Demonstration Marking Criteria/Deliverables Submit single .zip Student number, e.g](https://reader033.vdocuments.net/reader033/viewer/2022042801/5a78e21e7f8b9aa17b8e0934/html5/thumbnails/47.jpg)
Answer
25th December
Also deadline for online quizzes
![Page 48: Examples - · PDF fileGroup Project Report Submission Date 25th December Presentation/Demonstration Marking Criteria/Deliverables Submit single .zip Student number, e.g](https://reader033.vdocuments.net/reader033/viewer/2022042801/5a78e21e7f8b9aa17b8e0934/html5/thumbnails/48.jpg)
Questions/Discussion