Class Activity 2 Class Diagrams
Library catalog example:
- One book has 1 or more copies
- One copy is linked to exactly one
- One copy is borrowed by either
zero or one Library Member
A role can be a student, faculty,
staff or v
Class Activity Sequence Diagrams
Library System Description:
Sequence Diagram for search function:
Patrons can use library system to
search library catalog in order to locate
various resources - books, periodicals,
audio and visual materials, or other
Class Activity Statec Diagrams
Problem 1: Can you draw a statechart diagram for customer object interacting with the
ATM Machine? A customer can insert the card, enter his pin and choose a transaction.
The card can be ejected if the pin is incorrect. The
Class Activity OO Design & Implementation
Answer the following questions:
Why large software projects fail?
What is the consequences of failed
What is software engineering?
Why software engineering is a solution
for large software projects?
Object Oriented Analysis and Design
Using the UML
Can you explain the following main concepts of OO?
What is an Object and what is a Class? What is the difference between them? Give an
What is an Attribute? Add attributes to the
Class Activity Use Case Diagrams
ATM Machine Description:
A customer can use ATM machine
to check balance, deposit fund,
withdraw cash and transfer funds.
The ATM technician can maintain
and repair the ATM machine.
Use Case Diagram:
An Order Management Sy
Class Activity 4 Activity Diagrams
Problem 1: A customer can insert the card and enter his pin in any ATM Machine. ATM
Machine will check whether it is correct pin or not. If it is correct, it will display the
menu to the customer, otherwise, it will disp
Define the best design pattern that can be applied in the following examples:
Let us take the case of a vehicle manufacturer that, from a set of parts, can build a car,
a bicycle, a motorcycle or a scooter.
It can be used in the design of
DESIGN OF MACHINERY SOLUTION MANUAL 3-3-1
25 PROBLEM 3-3
Statement: Design a foul-bar mechanism to give the two positions shown in Figure P3-l of output rocker
motion with no quick-retum. (See Example 3-2.) Build a cardboard model and determine the