IT Applications Theory Slideshows - PowerPoint PPT Presentation

1 / 24
About This Presentation
Title:

IT Applications Theory Slideshows

Description:

Used to design formulae for calculated fields ... it can be expressed in an informal but understandable fashion called pseudocode. ... – PowerPoint PPT presentation

Number of Views:94
Avg rating:3.0/5.0
Slides: 25
Provided by: kel75
Category:

less

Transcript and Presenter's Notes

Title: IT Applications Theory Slideshows


1
IT Applications Theory Slideshows
Database Design Tools
  • By Mark Kelly
  • McKinnon Secondary College
  • Vceit.com

2
Contents
  • Input-Process-Output (IPO) charts
  • Data tables
  • Structure Charts
  • Entity Relationship Diagram
  • Other design tools can be found in other
    slideshows

3
(No Transcript)
4
IPO chart
  • Used to design formulae for calculated fields
  • Also commonly used for spreadsheets and
    programming.
  • Components (in order of thinking)
  • Output the information required
  • Input the data required to get the information
  • Processing the algorithm (calculation strategy)
    that will convert the input into the output.

5
IPO chart
6
IPO chart
  • Work backwards
  • Start by deciding what information you want
  • For example, someones age in years

7
IPO chart
  • Now work out what data (input) you need to
    calculate this information (output).
  • Need 2 pieces of data the current date and the
    persons date of birth.

8
IPO chart
  • Now the tricky bit. How will the output be
    calculated?
  • The strategy used is also called an algorithm.
  • In the IPO chart it can be expressed in an
    informal but understandable fashion called
    pseudocode.

9
IPO chart
  • Pseudocode describes the processing needed. Its
    not meant to be 100 accurate programming.
  • It does need to tell a programmer what to do.

10
The algorithm
  • Age time between date of birth (DOB) and date
    now.
  • The current date would not be typed into the
    database! (Why?)
  • Database can fetch current date from the system
    clock.
  • In Filemaker, the function is GET(Currentdate)
  • Other DBMS use similar functions.

11
The algorithm
  • In Excel, Filemaker, Access etc, subtracting one
    date from another gives the number of days
    between the dates
  • Note only works if the dates are saved in a date
    field, or as type date so the software can do the
    calculations!

12
The algorithm
  • To convert days to years, divide by 365.25
  • (Why the .25?)

13
Speaking of leap years and algorithms
Two ways of representing an algorithm a decision
tree (this one uses flow chart symbols), and
pseudocode (which is half-programming language,
half normal English)
14
IPO chart
  • Now work out what data (input) you need to
    calculate this information (output).
  • Need 2 pieces of data the current date and the
    persons date of birth.

15
IPO chart
  • Should describe the logic of every calculation in
    the database, spreadsheet or software being
    developed.

16
  • DATA
  • TABLES

17
Data tables?
  • Data tables are tables, with data in them! They
    are not design tools.
  • Perhaps the study design means to refer to data
    structure tables.
  • Lets assume that, otherwise well go nowhere

18
  • DATA
  • STRUCTURE
  • TABLES

19
Ah, thats better
  • A data structure table is like a data dictionary
  • Its a table that summarises the fields in a
    table, including the fields
  • Names
  • Data types
  • Size (if relevant)
  • Validation rules
  • Other useful information on each field

20
Data structure table
21
  • DATA STRUCTURE
  • CHARTS

22
Data structure charts
  • May be known as a data structure diagram.
  • May be known as Entity Relationship Diagram (ERD)
  • Is a visual map of how tables in a database are
    related

23
Data structure chart(or ERD)
24
IT APPLICATIONS SLIDESHOWS
  • By Mark Kelly
  • McKinnon Secondary College
  • vceit.com

These slideshows may be freely used, modified or
distributed by teachers and students anywhere on
the planet (but not elsewhere). They may NOT be
sold. They must NOT be redistributed if you
modify them.
Write a Comment
User Comments (0)
About PowerShow.com