CSE1IS Information Systems
Week 6

La Trobe University, Bendigo campus Department of Computer Science an
d Computer Engineering
 

System (Data) Dictionary

This supporting documentation is known as the System or Data Dictionary.  

An entry in the System Dictionary will be composed of at least:

1. Data Structures (of data):

A Data Structure can be (loosely) defined as a data item composed of multiple other related data items,
eg. invoice = inv# + customer details + inventory details + ....
Data Structures can be composed with 3 operations:

1.1 Sequence:

1.2 Selection:

1.3. Iteration:

2. Hierarchy of a Data Structure:

A data structure comprises a set of data used by a business that appear as data flows on the DFDs.
Such a set is like the data fields used on a form such as a time sheet or monthly work schedule.

Take a lecturer's subject administration system as an example:

2.1 Documenting the Tutorial List Data Flow:

As specified on page 169 of S.C.&R., full documentation (see Fig 4-28), or as required by CASE programs including Visible Analyst (see Fig 4-28b), includes:

data flow name: tutorial list
alternate name: <none>
abbreviation: <none>
structure (record): tutorial_list_heading + tutorial_details + { student }
description: a listing for tutors to record attendance
origin: process 2 - Generate Lists
destination: external entity - Tutors
volume & frequency: 10 listings produced twice a year

Notes:

  1. Entries are only provided for alternative names and abbreviation if they exist. In most cases they will be left blank.
  2. The structure or record entry documents the way in which the data flow is structered. In this case it can be broken down (decomposed) into a series of simpler data structures. The use of {} indicates repetition i.e. A tutorial list consists of one heading, one set of tutorial and tutor details and many students. (For each student there is a student_firstname and a student_lastname.)
  3. The origin  and destination of the data flow is documented. Possibilities are (i) an external entity (the destination in this case), a process (the origin in this) or a data store.
  4. Volume & frequency documents the number of examples of the data flow, and also how often the data flow occurs
  5. Every entry in the system (data) dictionary must have a unique name.

2.2 Decomposition into Data Elements:

Data Element is a single piece of data.
Data structures are required to be decomposed into their data elements.
(Data structures are in italics and data elements in bold):

2.3 Documenting a Data Element:

As specified on page 168-169 of S.C.&R., full documentation includes:

data element name: tutorial_group
alternate names:  <none>
type & length:  numeric, 0 decimals
output format: 99
default value:  <none>
prompt/column heading: GROUP:
source: external entity - Head of Dept
security: lecturer
responsible end user: lecturer
acceptable values: 1 to 10
other validation:  unique valuewithin subject
derivation formula:  sequence starting at 1 within each subject
description/comments: uniquely identifies each tutorial grp

 Notes:

Sometimes it is more convenient to document data elements in tabular form and restrict the entries to name, type and
length, acceptable (or valid) values, other validation. (One row per data element :-). When doing this collate like data elements together under an appropriate heading. eg.:

Student data elements
name type acceptable values validation/comments
student_id character(8) 99999999 first digit 9 or 2
firstname char(25) alpha only allow for international char symbols
   :    :    :    :

2.4 Documenting Data Stores:

2.5 Documenting Processes:

2.5.1 Decision Tables:

2.6 Documenting External Entities:

3. Examples:

3.1 Decomposition Example:

Housewares WareHouse
1234 First Avenue
Camberwell 3200
Packing Slip Number: 128695

Customer Account: 33465
Ship To:
Harry's Hardware
4036 South Lowden Rd
Camberwell, 3022

Shipping Date: 23 August 2006
Shipping Instructions:
Contact Fred the Foreman on arrival
Item Number Description Qty
Ordered
Filled /
Qty Shipped
23764
46587
54602
Replacement Blade
Food processor
Radio
  5
  3
10
Y
2
Y

3.2 Decision Table Example:

The process "Enrol in Subject" uses the following logic:

A student can enrol in a subject if the student has satisfied all prerequisites, although if a subject has partially satisfied prerequisites (eg. one out of two) then the student can enrol with the subject coordinator's permission. However, all prerequisite requirements can be waived with the course coordinator's permission.

References:


Valid XHTML 1.0 Strict

copyright © 2006 Brian Retallick. This page last updated on Tuesday 26 August 2008 by Noel McEwan, La Trobe University, Bendigo