Beruflich Dokumente
Kultur Dokumente
Developing a Program
1-2
• Manual System
– It is a system where all operations from data
gathering to the production reports are
performed by the user without the help of any
machine.
• Computerized or Automated System
– All operations are performed by the machine
to generate the output.
1-3
1-4
Analysis
Logical Design
Physical Design
Implementation
Maintenance
Logical Design
Physical Design
Logical Design
Physical Design
Logical Design
Logical Design
Physical Design
Deliverable–program/data
Analysis structures, technology purchases,
organization redesigns
Logical Design
Physical Design
Physical Design
Logical Design
Physical Design
Database activity–
database implementation, Implementation
Implementation
including coded programs,
documentation, Maintenance
installation and conversion
Deliverable–periodic audits
Analysis
Logical Design
Physical Design
Database activity–
database maintenance, Implementation
performance analysis
and tuning, error Maintenance
Maintenance
corrections
1-13
1-15
1-16
1-17
1-18
1-19
1-20
Output required:
name of item, discounted price, amount of sales tax, total price
Variables needed: ItemName, SalePrice, Tax, TotalPrice
Input required:
name of item, original price, percent discounted
More variables: OriginalPrice, DiscountRate
Formulas required:
New variable needed: AmountSaved
SalePrice = OriginalPrice – AmountSaved
AmountSaved = OriginalPrice * (DiscountRate/100)
Tax = SalePrice * .065
TotalPrice = SalePrice + Tax
1-21
1-22
1-23
1-24
1-25
1-26
• Header comments
– Appear at beginning of a program or a module
– Provide general information
• Step comments or in-line comments
– Appear throughout program
– Explain purpose of specific portions of code
• Often comments delineated by:
– //
– /* comment goes here */
1-27
1-28
1-29
1-30
1-31
1-32
1-33
1-35
1-37
1-38
1-39