Tutorial Exercises - University of Wolverhampton

advertisement
CP2236: Information Systems Design
Tutorial Exercises
Schedule:
Week 1:
Lab session (unsupervised)
Week 2:
Required System Logical DFDs (Tuts 2a & 2b)
Week3:
Relational Data Analysis (Tuts 3a &3b)
Week 4:
RDA (Tuts 4a & 4b)
Note: Students should also attempt to normalise the two forms given in
tutorial exercise 5 before coming to the session next week.
Week 5:
RDA (Consolidation and preparation for test)
Week 6:
NO TUTORIAL (Time Constrained Test in lecture session)
Week 7:
Rationalisation (Tut 5) and Report Design (Tut 7)
(Set up groups for Assessment 1.2)
Week 8:
Screen Design (Tut 8) & GROUP SURGERY
Week 9:
Program Design (Tut 9) & GROUP SURGERY
Week 10: GROUP SURGERY (Groups report to their assigned
tutors)
Week 11: GROUP SURGERY (Tutors allocate timeslots for the
group viva. Tutors answer any queries about the
assessment.)
Week 12: GROUP SURGERY (Hand in Group report to Tutor)
Week 13: Group viva
CP2236 ISD: Tutorial Exercises
Page: 1 of 13
WEEK 2:
Required System DFDs: Tutorial Exercise 2a
Post-Graduate Admissions System
Wulfruna University processes applications for its post-graduate courses from its own (home)
graduates, from graduates from other institutions and also from other applicants who would
like to gain a higher qualification.
The Admissions Team records the date on which the application is received. The applications
received are sorted into home students and others.
Home students are accepted if they meet the entry requirements. No references are required
for home students. The Admission Team requests examination results from the Assessment
Unit, as they do not have direct access to the results. The results are recorded by Course Code
and Academic Year and the Assessment Unit keeps these.
Graduates from other institutions are rejected if they do not meet the entry requirements. If
they meet the entry requirements, references are requested. If the references are satisfactory,
they are accepted on the course, and if not, they are rejected.
Applications from other applicants, who are not recent graduates, are processed in the same
way as those from graduates from other institutions.
All applicants are notified by letter advising them whether they have been successful or not.
The date is recorded on which the notification was sent.
Current problems:
Often, applications received are recorded incorrectly.
References requested and received get lost in the system.
Receiving results from the Assessment Unit takes far too long.
New Requirements:
Automate the process of checking results.
Home applications and others should be recorded correctly.
References requested and received should be recorded.
CP2236 ISD: Tutorial Exercises
Page: 2 of 13
Partly the analysis was done and the logical DFD (incomplete) is shown below.
1
Applicant
Application
Entry qualf.
details
Process
Application
*
Entry
D1 Qualification
Application
details
Conf.
accept/reject
D2 Applicant
Send ref.
Ref. info.
2
Referee
Request
& check
reference
Request ref.
Ref. details
D3 References
*
Student Tasks:
You are required to produce the following data flow diagrams:
i)
ii)
The Context Level DFD of the required system
The Level 1 DFD of the required system
CP2236 ISD: Tutorial Exercises
Page: 3 of 13
WEEK 2:
Required System DFDs: Tutorial Exercise 2b
Sales Enquiry System
All telephone sales enquiries are recorded by the sales clerk on a two part (pink) enquiry
form. The bottom copy is filed in the sales office and the top copy is sent to the Sales
Manager, who allocates the enquiry to the appropriate Product Manager.
The Product Manager pursues the enquiry until
either
1. A sale is made
or
2. No sale is made and the enquiry is terminated
or
3. Currently product is not available and the enquiry will be followed-up at a later
date
In the first two cases, the pink form is returned to the Sales Manager with the result of the
enquiry. The Sales Manager records these details on to a file held on his PC and the form is
filed under ‘Completed Enquiries’.
The Product Manager keeps the outstanding enquiries and sends the results back to the Sales
Manager within the agreed deadline.
At the end of each week, the Sales Manager’s secretary goes through the filed copies and
prepares a report under the following headings:




Number of enquiries received
Number resulting in a sale
Number not resulting in a sale
Number of outstanding enquiries
The report is given to the Sales Manager. A Monthly Sales Report is generated and sent to the
Regional Sales Manager.
If the enquiry results in a sale, confirmation of the order is sent to the customer and the
Product Manager records the order details in a file and sends a copy to the Warehouse. The
Product Manager updates the product file.
Problems:

Enquiries are not chased to obtain a result.

Order details are mislaid.

As people leave, it is not clear who is responsible for which product line.
Requirements:

Automate the enquiry recording system – no paper forms to be used.

When a new product is introduced, the Sales Manager must assign that product to
the appropriate Product Manager and also record the product details in the product
file.

The Warehouse should access the order details once the order is confirmed.
CP2236 ISD: Tutorial Exercises
Page: 4 of 13
A partial analysis was done and the logical DFD (incomplete) is shown below.
1
Customer
Cus sales enq
Cus enq.
details
Record
Enquiry
*
Sales enq.
to SM
Sales
Manager
D1 Sales Enquiry
Cus enq.
details
2
Sales enq.
allocation
Prod. man.
details
Allocate
Enquiry
D2
Product
Manager
*
3
Product
Manager
Sales
Manager
Outstanding
enq.
Sales enq.
result
Follow-up
outtanding
enquiry
Outstanding
enq. details
*
Enq. result
info
4
Record
Enquiry
result
Enq result
info to PC
D1 Sales Enquiry
*
Enq details
for Reports
PC
5
Reg. Monthly
report
Generate
Reports
Sales
Manager
Weekly Report
*
Reg.
Sales
Manager
Student Tasks:
You are required to produce the following data flow diagrams:
i) The Context Level DFD of the required system
ii) The Level 1 DFD of the required system
CP2236 ISD: Tutorial Exercises
Page: 5 of 13
WEEK 3
Relational Data Analysis: Tutorial Exercise 3a
Normalisation
Using the data items in the Drug Card below perform normalisation to 3rd normal form.
Layout of your answer should conform to the SSADM standard. State any assumptions.
The Hawthorns Veterinary Centre
INVOICE
Client No: 9KL112
Mr J Smith
The Riddings Farm
Gladebrook Road.
Heaverton BR18 9KL
Treatment
Clip Ewes Nails
Give Heifer drench
Ziloxyl Drench 250ml
Deliver Foal
Epohydrin
Zenecarp 20mg
Date: 30 June 2002
Invoice No: 1226D
Code
T4335
T3227
D1276
T5534
D7319
D6498
Date
4/5/02
4/5/02
4/5/02
10/6/02
10/6/02
10/6/02
Quantity
5
4
4
1
1
8
Unit Cost
3.10
5.50
3.375
25.00
8.50
0.96
Item Total
15.50
22.00
13.50
25.00
8.50
7.68
Total for this
invoice
92.18
Tutorial Exercise 3b
Perform normalisation to 3rd normal form on the report below. The purpose of this report is
to indicate which customer will be serviced by which warehouse and where it is located.
HandyTool Ltd.
Monthly Salesperson Report
Salesperson No: 1001
Salesperson Name: Bloggs, J.
Sales Area: West
Customer
No.
101
102
103
Customer name
Smith & Co
Jones & Son
Smithsons
Date: May 1999
Warehouse
code
2
4
7
Warehouse
location
Bilston
Oxley
Parklane
Sales
Total Monthly
Sales
44,4404.80
12,950.00
21,255.00
10,199.80
You should make an attempt at Tutorial 4a before next week’s session.
CP2236 ISD: Tutorial Exercises
Page: 6 of 13
WEEK 4
Relational Data Analysis: Tutorial Exercises 4a & 4b
Normalisation
Using the data items in the Spare Parts Request Form and Drug Card below, perform
normalisation to 3rd normal form. Layout of your answers should conform to the SSADM
standard. State any assumptions made.
Tutorial 4a
SPARE PARTS REQUEST FORM
REQUEST REFERENCE:
Z201-354
NAME:
FRED MCFEE
ADDRESS: 32, SIX TREE LANE, PENN, WOLVERHAMPTON
PHONE NO: 01902 321000
PART
No
0151
PART
NAME
Right Leg
ITEM
CD
EX701
ITEM
NAME
Pine King
0216
Nut
EX701
Pine King
0217
Stool Top
ST401
Bar High
ITEM
DESC
Coffee
Table
Coffee
Table
Bar Stool
TIME: 14:45
DATE: 11/11/97
COLOUR
QTY
BLACK
1
BLACK
5
RED
1
.
Tutorial 4b
Drug Card
Patient No: 923
Ward No: 10
Surname: Face
Ward Name: Greenfields
Forename: Baby
Drugs Prescribed:
Date
20/5/88
Drug Code
CO2355P
Drug Name
Cortisone
20/5/88
MO3416T
Morphine
25/5/88
MO3416T
Morphine
26/5/88
PE8694N
Penicillin
Dosage
2 pills x 3 day
after meals
Injection every 4
hours
Injection every 8
hours
1 pill 3 x day
Length of Treatment
14 days
5 days
3 days
7 days
You should attempt to normalise/apply relational data analysis to the documents in
Week 5 tutorial before next week’s session.
CP2236 ISD: Tutorial Exercises
Page: 7 of 13
WEEKs 5 & 7
Rationalisation: Tutorial Exercise 5
There are NO Tutorials or exercises in week 6.
Apply relational data analysis to the staff allocation sheet and the invoice.
The following are required:
1.
2.
3.
4.
A normalised set of relations from the analysis of each document.
Rationalised set of 3NF Tables.
Develop a data structure diagram to represent the rationalised tables.
Compare this with the LDS given below and amend this to give an updated LDS.
D
E
P
A
R
T
M
E
N
T
Q
U
A
L
F
I
A
C
T
O
I
N
E
M
P
L
O
Y
E
E
P
R
O
J
E
C
T
E
M
P
L
O
Y
E
E
/
A
L
L
O
C
A
T
I
O
N
Q
U
A
L
F
I
A
C
T
O
I
N
LDS
Staff Allocation Sheet
This indicates which staff members are allocated to a project. A staff allocation sheet is
drawn up for each project as the contract is awarded. The No. of Days column relates to the
planned number of days that an employee will spend on the project. A project is assigned a
unique code and each project will be carried out for a single customer.
Project Code: 3411
Cust No:
3475
Project Desc: New Accounts
Cust Name: British Bakers
Staff No.
34
12
23
Grade
S.Prog
Analyst
Manager
Name
Bloggs
Jones
Brown
CP2236 ISD: Tutorial Exercises
No. of Days
12
3
9
Page: 8 of 13
Project Code: 2356
Cust No:
5134
Project Desc: Betting System
Cust Name Bobs Bookies
Staff No.
34
12
23
Grade
S.Prog
Analyst
Manager
Name
Bloggs
Jones
Brown
No. of Days
12
3
9
Invoice
Each active customer is invoiced once a month for the work performed in the previous
month. The Start and Finish dates refer to the overall project but the Man-Days column refers
only to those worked in that particular month.
Invoice No:
3412
From:
Systems Ltd
Wolverhampton
WV1 1SB
Cust No.
Cust Name
Address
3475
British Bakers
Bread House
Albert Square
London
E12 6TY
Project Code Project Desc
3411
New Accounts
3411
Delivery Sys
CP2236 ISD: Tutorial Exercises
Date of Invoice:
Start Date
15/10/96
3/3/96
Finish Date
20/11/96
25/11/96
23/12/96
Man Days
13
58
Cost
£13,000
£42,000
Total Cost
£55,000
Page: 9 of 13
WEEK 7
REPORT DESIGN: Tutorial Exercise 7
TUTORIAL:
1. The Video club wants to produce a report showing a detailed monthly sales analysis
of its products. It is to contain the following details:
For each video
Category
Video number
Video title
Number of loans of the video during month
Income generated during month
For each category
Total of loans during month
Total income generated during month
Grand Totals
Loans during month
Income during month
Design a report layout to provide the above information.
2. Design a pre-printed membership form for the Video Club. It is to contain
Name of member
Address
Membership number
Date of joining
Signature
Suitable logo + conditions of membership
CP2236 ISD: Tutorial Exercises
Page: 10 of 13
WEEK 8
SCREEN DESIGN: Tutorial Exercise 8
TUTORIAL: SCREEN DESIGN
1. Design a character type screen for the Video club, allowing the user to
display the current whereabouts of a selected video.
2. Design a character type enquiry screen for the Video club to display all the
titles, and their whereabouts for a selected category. Whereabouts is either
in stock or the name and address of the user who has it out on loan.
3. The Video club wants a screen program to allow members to book a video or
videos by telephone. The program must firstly allow the member’s details to
be verified – the user may not know their membership number, so a partial
access by name is required. They may also not know the video number only
the title. More than 1 video may also be required.
Design suitable windows type screens for the above program.
CP2236 ISD: Tutorial Exercises
Page: 11 of 13
WEEK 9
PROGRAM DESIGN: Tutorial Exercise 9
STUDENT REGISTRATION
On joining the University, a student must be added to the computer system as a
new student.
The data involved are the student’s number, and the course code for which the
student is registered. The tables (files) used are the STUDENT file and the
COURSE file.
1. What are the likely data items and key fields for these files, and how are they
linked?
2. Write down the processes carried out by the update program that adds a new
student to the system. Take care that the correct validation is carried out.
Do this by way of a Decision Table and Structured English.
CHANGING A STUDENT’S COURSE
A student moves from one course to another.
updating the computer system.
This must be reflected by
Write down the processes carried out by the update program that carries out this
change. Take care that the correct validation is carried out. Do this by way of a
Decision Table and Structured English.
CP2236 ISD: Tutorial Exercises
Page: 12 of 13
Download