Presentation is loading. Please wait.

Presentation is loading. Please wait.

CSE1204 - Information Systems 1 Detailed Process Definitions; The Data Dictionary.

Similar presentations


Presentation on theme: "CSE1204 - Information Systems 1 Detailed Process Definitions; The Data Dictionary."— Presentation transcript:

1 CSE1204 - Information Systems 1 Detailed Process Definitions; The Data Dictionary

2 Monash University, SIMS, Semester One, 20052 the data dictionary is a database or repository of information about objects identified during systems development the data dictionary is a database or repository of information about objects identified during systems development every object (and each of its components) must have a definition in the data dictionary every object (and each of its components) must have a definition in the data dictionary the data dictionary is a major source of documentation about the information system the data dictionary is a major source of documentation about the information system Data Dictionary

3 Monash University, SIMS, Semester One, 20053 Data Dictionary Entries for Components of DFDs the data dictionary must contain precise definitions of all components of all data flow diagrams: the data dictionary must contain precise definitions of all components of all data flow diagrams: to fully explain the meaning of the DFDs to fully explain the meaning of the DFDs to describe the contents of all data flows and data stores to describe the contents of all data flows and data stores to describe the processing that occurs in primitive processes to describe the processing that occurs in primitive processes to ensure that names and meanings of components are used consistently (a common vocabulary) to ensure that names and meanings of components are used consistently (a common vocabulary)

4 Monash University, SIMS, Semester One, 20054 Data Dictionary Entries a data dictionary entry must be included for each a data dictionary entry must be included for each data flow data flow data store data store higher level process higher level process primitive process primitive process external agent (source/sink) external agent (source/sink)

5 Monash University, SIMS, Semester One, 20055 each data flow consists of a series of data elements each data flow consists of a series of data elements a data element is a unit of data that cannot be further broken down into meaningful units of data a data element is a unit of data that cannot be further broken down into meaningful units of data each data element should also have an entry in the data dictionary each data element should also have an entry in the data dictionary data flows and data stores are made up of data elements data flows and data stores are made up of data elements Data elements

6 Monash University, SIMS, Semester One, 20056 Data Dictionary -data element entry ACADEMIC CONSULTANCY DATA ELEMENT: Product code Alias: Inventory number, product number Description: Number to identify and differentiate each product held in warehouse Values: Must be a positive integer Range: 00001 to 99999 AUTHOR: David Ross DATE: 14 Oct 2002

7 Monash University, SIMS, Semester One, 20057 Data Flows a data dictionary entry for a data flow describes the sequence of data elements and data structures in the data flow using the following connectors: a data dictionary entry for a data flow describes the sequence of data elements and data structures in the data flow using the following connectors: =is equivalent to =is equivalent to +and +and [ ]select one of [ ]select one of { }iterations of { }iterations of ( )optional ( )optional *comments *comments

8 Monash University, SIMS, Semester One, 20058 Data Dictionary -data flow entry ACADEMIC CONSULTANCY DATA FLOW: Sales order Alias: Customer order Description: Request for product from customer Composition: sales order = sales order no. + sales order date+ customer number+ [account customer cash customer]+ customer name+ customer address+ (customer telephone no) + {item no + item desc + item price + item qty} + sales order total amount AUTHOR: David Ross DATE: 03 July 2002

9 Monash University, SIMS, Semester One, 20059 Data Stores a data store is made up of data flows and data elements a data store is made up of data flows and data elements where a data store consists of a collection of data flows it is described as repetitions of that data flow where a data store consists of a collection of data flows it is described as repetitions of that data flow e.g. Data Store:{customer invoice} e.g. Data Store:{customer invoice} data stores may also be described by listing their data elements data stores may also be described by listing their data elements e.gcustomer deposit =account no + e.gcustomer deposit =account no + deposit date + deposit amount + account balance

10 Monash University, SIMS, Semester One, 200510 Data Dictionary -data store entry ACADEMIC CONSULTANCY DATA STORE: Sales Description: Store of all pertinent data about product sales made to customers Composition: sales = date+ ({product} product quantity)+ sales total {customer} AUTHOR: David Ross DATE: 10 Oct 2002

11 Monash University, SIMS, Semester One, 200511 Describing Processes each process in higher level DFDs is defined by the DFD that decomposes the process at the next level down: each process in higher level DFDs is defined by the DFD that decomposes the process at the next level down: these are parent processes each such process should have a data dictionary entry which includes a brief description of the overall nature and purpose of the process each such process should have a data dictionary entry which includes a brief description of the overall nature and purpose of the process

12 Monash University, SIMS, Semester One, 200512 Describing Processes example data dictionary entry for a process example data dictionary entry for a process Treat patients: Patient consultations are carried out to determine the causes of patients’ illnesses/ medical problems. Further treatment/ follow up is recommended if appropriate. Details of consultations are recorded. specific process description (minispecs) specific process description (minispecs)

13 Monash University, SIMS, Semester One, 200513 Data Dictionary -data store entry ACADEMIC CONSULTANCY DATA PROCESS Treat patient Description: Patient consultations are carried out to determine the causes of patients’ illnesses/ medical problems. Further treatment/ follow up is recommended if appropriate. Details of consultations are recorded, and fees charged to the patient on the basis of these sessions. Data required: {Patient}+ Fee schedule AUTHOR: David Ross DATE: 10 Oct 2002

14 Monash University, SIMS, Semester One, 200514 Describing External Agents each external agent (source or sink) should have a data dictionary entry which describes its relationship with the system each external agent (source or sink) should have a data dictionary entry which describes its relationship with the system e.g. e.g. Referring Doctors: These are doctors who refer their patients to a specialist medical practitioner for treatment. They are usually general practitioners.

15 Monash University, SIMS, Semester One, 200515 Data Dictionary –external agent entry ACADEMIC CONSULTANCY DATA AGENT: Referring doctor Alias: Inventory number, product number Description: D octors who refer their patients for treatment. Values: Must be a positive integer Range: 00001 to 99999 AUTHOR: David Ross DATE: 14 June 2002 ACADEMIC CONSULTANCY DATA AGENT: Referring doctor Alias: Inventory number, product number Description: D octors who refer their patients for treatment. Values: Must be a positive integer Range: 00001 to 99999 AUTHOR: David Ross DATE: 14 June 2002 ACADEMIC CONSULTANCY DATA AGENT: Referring doctor Alias: Referrer, GP Description: Doctors who refer their patients for treatment. AUTHOR: David Ross DATE: 14 June 2002

16 Monash University, SIMS, Semester One, 200516 Building and Maintaining the Data Dictionary determine standard formats and information content for all types of data dictionary entries determine standard formats and information content for all types of data dictionary entries have a standard means of organising and storing the entries in the data dictionary have a standard means of organising and storing the entries in the data dictionary ensure that all components of the DFDs have entries in the data dictionary and that they are kept up-to-date ensure that all components of the DFDs have entries in the data dictionary and that they are kept up-to-date cross-referencing of entries in the data dictionary can help to check the completeness and consistency of the DFDs and other types of models cross-referencing of entries in the data dictionary can help to check the completeness and consistency of the DFDs and other types of models

17 Monash University, SIMS, Semester One, 200517 Detailed Process Definitions the processing that occurs within the bottom level (primitive) processes in DFDs needs to be defined the processing that occurs within the bottom level (primitive) processes in DFDs needs to be defined detailed process descriptions are also known as minispecs detailed process descriptions are also known as minispecs detailed process descriptions form part of the data dictionary: they define the contents of primitive processes detailed process descriptions form part of the data dictionary: they define the contents of primitive processes

18 Monash University, SIMS, Semester One, 200518 Detailed Process Definitions many techniques can be used to define the details of processing: many techniques can be used to define the details of processing: e.g.narrative text e.g.narrative text Structured English decision tables decision trees flow charts

19 Monash University, SIMS, Semester One, 200519 Detailed Process Definitions detailed process descriptions should: express what the process does (i.e. policy), not how the process is carried out (i.e. procedure) express what the process does (i.e. policy), not how the process is carried out (i.e. procedure) be in a form that can be easily understood and verified by both users and systems analysts be in a form that can be easily understood and verified by both users and systems analysts be in a form that can be easily communicated to all potential stakeholders: be in a form that can be easily communicated to all potential stakeholders: e.g. end-users, systems analysts, managers, system designers, project leaders, programmers

20 Monash University, SIMS, Semester One, 200520 Structured English Structured English is a modified form of English with some major restrictions on vocabulary and structure: only action (imperative) verbs such as get, put, add, calculate, find, delete are used only action (imperative) verbs such as get, put, add, calculate, find, delete are used only nouns/noun phrases which refer to components of the DFDs should be used, i.e. data flows, data stores, data elements only nouns/noun phrases which refer to components of the DFDs should be used, i.e. data flows, data stores, data elements

21 Monash University, SIMS, Semester One, 200521 Structured English sentences consist of action verbs and DFD components sentences consist of action verbs and DFD components sentences are combined to form process descriptions using the control structures of sequence, condition, and repetition sentences are combined to form process descriptions using the control structures of sequence, condition, and repetition

22 Monash University, SIMS, Semester One, 200522 Control Structures Condition uses If... Then...Else Condition uses If... Then...Else or or Select Case Case 1...Case 2...End Case E.g. E.g. If qty-in-stock is less than minimum-order-qty Then update stock-reorder indicator Else do nothing

23 Monash University, SIMS, Semester One, 200523 Control Structures e.g. e.g. Select Case CASE 1qty-in-stock is less than minimum-order-qty Do update stock-reorder indicator CASE 2qty-in-stock is equal to minimum- order-qty Do nothing CASE 3qty-in-stock is greater than minimum- order-qty Do nothing End Case

24 Monash University, SIMS, Semester One, 200524 Data Dictionary -data store entry ACADEMIC CONSULTANCY DATA PROCESS Stock reorder Description: Current levels of stock in warehouse are matched to optimal requirements. Shortfalls are ordered immediately. Select Case CASE 1qty-in-stock is less than minimum-order-qty Do update stock-reorder indicator CASE 2qty-in-stock is equal to minimum- order-qty Do nothing CASE 3qty-in-stock is greater than minimum- order-qty Do nothing End Case AUTHOR: David Ross DATE: 10 Oct 2002

25 Monash University, SIMS, Semester One, 200525 Sequence is represented with one sentence following another in sequence: Sequence is represented with one sentence following another in sequence: Add student to class list Decrease available-places Calculate class-fee Control Structures

26 Monash University, SIMS, Semester One, 200526 Repetition uses Do-Until or Do-While loops: Repetition uses Do-Until or Do-While loops:Do Accept customer-account-details Calculate daily-interest = daily balance * daily interest rate Add daily-interest to monthly-interest-due Until no more customer-accounts Control Structures

27 Monash University, SIMS, Semester One, 200527 Example Structured English Accept sales-order Find customer-details If customer-details not found Then reject sales-order Else Create sales-order-header Do while more sales-order-items find item-details calculate sales-order-item price = item price *order-qty Enddo Authorise sales-order Endif

28 Monash University, SIMS, Semester One, 200528 Guidelines for Structured English use indentation to indicate control structures and their scope: assists readability and understanding use indentation to indicate control structures and their scope: assists readability and understanding avoid more than three levels of nesting: complicated logic can be represented using other techniques avoid more than three levels of nesting: complicated logic can be represented using other techniques Stuctured English descriptions should illustrate the logic of the processing, not the implementation of the processing Stuctured English descriptions should illustrate the logic of the processing, not the implementation of the processing

29 Monash University, SIMS, Semester One, 200529 Decision Tables decision tables are useful for describing processes where several different conditions apply and the particular actions that are taken are determined by combinations of the values of the conditions decision tables are useful for describing processes where several different conditions apply and the particular actions that are taken are determined by combinations of the values of the conditions decision tables are useful where the process logic is complex decision tables are useful where the process logic is complex decision tables show all the possible choices and the conditions they depend on in a tabular form decision tables show all the possible choices and the conditions they depend on in a tabular form

30 Monash University, SIMS, Semester One, 2005 30 Decision Tables decision tables have three stubs (four quadrants): conditionsrules actions outcomes for each set of condition values combinations of condition values

31 Monash University, SIMS, Semester One, 2005 31 Example Decision Table avg account bal > $1,000 overdraft amount < $50,000 previous paid-out loan approve conditional approval reject YYYYN N Y Y N N Y Y N N Y N Y N Y N X X X X X X X

32 Monash University, SIMS, Semester One, 2005 32 wholesale customer retail customer local item imported item Determine Customer Discount 15% 10% 12% 7% decision trees are an alternative graphical representation of a decision situation as a connected series of nodes and branches Decision Trees

33 Monash University, SIMS, Semester One, 200533 Selecting Techniques for Process Descriptions Structured English is useful where a process has a sequence of activities and there is no more than three levels of nesting of decisions Structured English is useful where a process has a sequence of activities and there is no more than three levels of nesting of decisions decision trees and decision tables are useful where a process involves a decision based on combinations of values of several conditions decision trees and decision tables are useful where a process involves a decision based on combinations of values of several conditions

34 Monash University, SIMS, Semester One, 200534 Selecting Techniques for Process Descriptions decision trees visually distinguish the decision conditions and their values from the actions: decision trees visually distinguish the decision conditions and their values from the actions: they show the paths that decisions can follow but soon become cluttered if each condition has several possible values decision tables are able to show decisions involving many conditions each with many possible values decision tables are able to show decisions involving many conditions each with many possible values

35 Monash University, SIMS, Semester One, 200535 Overview of Process Modelling several techniques are available for representing the processing within systems several techniques are available for representing the processing within systems the aim of process modelling in systems analysis is to define the processing that occurs within a system the aim of process modelling in systems analysis is to define the processing that occurs within a system

36 Monash University, SIMS, Semester One, 200536 models representing: models representing: an overview of the system processing the structure of the system processing the flow of data into and out of the processes the detailed logic of the processes can be constructed Process Modelling Techniques

37 Monash University, SIMS, Semester One, 200537 References HOFFER, J.A., GEORGE, J.F. and VALACICH (2005) 4th ed., Modern Systems Analysis and Design, Benjamin/Cummings, Massachusetts. HOFFER, J.A., GEORGE, J.F. and VALACICH (2005) 4th ed., Modern Systems Analysis and Design, Benjamin/Cummings, Massachusetts. Chapter 8


Download ppt "CSE1204 - Information Systems 1 Detailed Process Definitions; The Data Dictionary."

Similar presentations


Ads by Google