6
2 IDCS Task1 SPM TASK-1 Problem: The company manager requires the following reports: Report 1 A list of all purchases made in the preceding year, by customer number, listing stock item, date, number purchased and amount paid. Report 2 A weekly list of the total number of items purchased, by stock item, listing number sold, purchase price and total cash received for each stock item. Report 3 A weekly list of the total stock in the shop, by stock item, listing stock item, number sold that week, number delivered to the shop that week and supplier’s name. Using JSP techniques and methodology, analyse the requirements for all three reports. Produce diagrams for each report showing the step-wise progression, including logical data structure diagrams (DSDs) and preliminary program structures (PSDs) as well as the detailed program specification for each report. Introduction: This assignment is based on the analysis and design of a stock management system for a bicycle shop which sells bicycles (mountain bikes, road bikes, bmx, etc.) and bicycle accessories (helmets, pumps, gears, etc.). Prepared by Mahabubur Rahman

Task 1

Embed Size (px)

Citation preview

Page 1: Task 1

2

Task1 SPM

TASK-1Problem:

The company manager requires the following reports:

Report 1

A list of all purchases made in the preceding year, by customer number, listing stock item, date, number purchased and amount paid.

Report 2

A weekly list of the total number of items purchased, by stock item, listing number sold, purchase price and total cash received for each stock item.

Report 3

A weekly list of the total stock in the shop, by stock item, listing stock item, number sold that week, number delivered to the shop that week and supplier’s name.

Using JSP techniques and methodology, analyse the requirements for all three reports. Produce diagrams for each report showing the step-wise progression, including logical data structure diagrams (DSDs) and preliminary program structures (PSDs) as well as the detailed program specification for each report.

Introduction:

This assignment is based on the analysis and design of a stock management system for a bicycle shop which sells bicycles (mountain bikes, road bikes, bmx, etc.) and bicycle accessories (helmets, pumps, gears, etc.).

These tasks will be complete with several kinds of programming method and techniques when developing computer programs. Every task has completed with specific method condition.

Data Structure Diagrams (DSDs):

Prepared by Mahabubur Rahman

Page 2: Task 1

3Purchase

Table

Purchase Record

No. purchased

DateStock itemCustomer Number

Task1 SPM

Data Structure Diagram (DSD) can be thought of as graphical representation of DD entries such that the composition of each data item is shown in terms of the connected data items below it. The DSD notation corresponds, in effect, to a graphical version of the DD composition specification BNF.

Report-1

A list of all purchases made in the preceding year, by customer number, listing stock item, date, number purchased and amount paid.

Figure: data structure diagram - report 1

Report 2

A weekly list of the total number of items purchased, by stock item, listing number sold, purchase price and total cash received for each stock item.

Prepared by Mahabubur Rahman

Page 3: Task 1

4

Total Amount

Purchase ID

Purchase Table

Purchase Record

No. purchased

DateStock itemCustomer Number

Weekly Record

Stock

Stock Record

Task1 SPM

Figure: data structure diagram - report 2

Report 3

A weekly list of the total stock in the shop, by stock item, listing stock item, number sold that week, number delivered to the shop that week and supplier’s name.

Prepared by Mahabubur Rahman

Page 4: Task 1

5

Report 1

All stock InformationReport TitleDisplay Table HeaderDisplay Purchase Info

Report 2

Total Cash received

Report TitleDisplay Table HeaderDisplay Weekly purchase Info

Task1 SPM

Figure: data structure diagram - report 3

Program structure diagrams (PSDs):

Report-1:

Figure: program structure diagram - report 1

Report-2:

Prepared by Mahabubur Rahman

Page 5: Task 1

6Report 3

No. of Sold Report TitleTotal Stock information Supplier details

Task1 SPM

Figure: program structure diagram - report 2

Report-3:

Figure: program structure diagram - report 3

Prepared by Mahabubur Rahman