Вы находитесь на странице: 1из 2

Universitt Stuttgart

Institute of Industrial Automation and Software Engineering


Prof. Dr.-Ing. Dr. h. c. P. Ghner

WS 04/05 1 24 Nov. 2004, Gt
Exercise 5 " Structured Analysis (SA) "


Question 5.1 Correctness of SA diagrams
Check, if the following SA-diagram is correct and indicate possible errors as correction
suggestions.

Context diagram:
Client
0
manage
wine store
Supplier
order
delivery
inquiry
job
delivery
offer


manage
clients
.2
manage
suppliers
wine storage
o
r
d
e
r
bill
d
e
liv
e
r
y
n
o
t
e
j
o
b
offer
d
e
l
iv
e
r
y
DFD 0 wine store


.1
manage
deliveries
.2
get
offers
suppliers
w
in
e

a
m
o
u
n
t
price
i
n
q
u
i
r
y

wine
storage
DFD 0.2 manage suppliers

compare
offers
and give
order
jo
b
wine storage
o
f
f
e
r
s

Software Engineering for Real-Time Systems Exercise 5: Structured Analysis
WS 04/05 2 24 Nov. 2004, Gt
Data Dictionary (extract)

wine storage = 1{wine bottle}
wine bottle = name + bottling year + bottling location + delivery date
delivery = bill + delivery note
wine amount = 1{number of wine bottles + wine bottle name}


Question 5.2 HIWI Management
A HIWI management system is to be created. About every HIWI the following information is
to be stored: name, first name, register number, date of birth, homeland address including the
telephone no., studying address including the respective telephone no., too, academic subject
(can be more than one), number of semesters, bachelor (yes/no, if yes, then grade and date),
times of employment (start date, end date, hours per week, field(s) of activity, used software
system(s)), diploma (yes/no, if yes, then grade and date), reference being available (yes/no, if
yes, then date). It has to be ensured that a maximum number of 1000 HIWIs may be handled.

The product is used in the secretariat of a chair and operated by the secretary. The following
functions are to be implemented:
to add a HIWI and set up a HIWI contract
to modify a HIWI's data
to remove a HIWI by deleting all information about that HIWI
to output all data for one HIWI
to output an alphabetical list with all HIWIs providing the following data items: name, first
name, register no., study address, date of birth

a) Is the specification of the HIWI management system complete or are there still issues
being unclear? If so supplement the specification in an appropriate way.
b) Create a context diagram and a data dictionary for the HIWI management system including
the supplements added on your part, if any.
c) Refine the created context diagram to the next sub level. Divide the data to be stored in the
system into at least two different groups and provide a own memory for each of these data
groups. Supplement the data dictionary if necessary.
d) Specify the MiniSpecs for all processes on that refinement level.

Вам также может понравиться