E N D
1. College of Business Administration
Texas A&M University-Kingsville CISA 1310Introduction to Programming Tools Dr. Rick Aukerman, CCP
Department of Accounting & Computer Information Systems
2. College of Business Administration
Texas A&M University-Kingsville Good programmers can rule the kingdom !
3. College of Business Administration
Texas A&M University-Kingsville Introduction toStructured Design Businesses of all sizes use computers to do tasks that were once either done manually or not done at all. For those computers to play an appropriate role in the success of any business, we must have a method for including those computers in our business. That approach is what we call "structured design."Businesses of all sizes use computers to do tasks that were once either done manually or not done at all. For those computers to play an appropriate role in the success of any business, we must have a method for including those computers in our business. That approach is what we call "structured design."
4. College of Business Administration
Texas A&M University-Kingsville What is a System? System a combination of people, equipment and procedures that work together to perform a specific function
Computer based information system some of the procedures are performed by a computer
5. College of Business Administration
Texas A&M University-Kingsville System Development Life Cycle Analyze the current system.
Define the new system requirements.
Design the new system.
Develop the new system.
Implement the new system.
Evaluate the new system.
6. College of Business Administration
Texas A&M University-Kingsville 1. Analyze the current system Done by systems analyst
Users
Subject Matter experts
7. College of Business Administration
Texas A&M University-Kingsville 2. Define the system requirements Specify what needs to be done
Input and output requirements
Storage requirements
Processing requirements
8. College of Business Administration
Texas A&M University-Kingsville 3. Design the new system Shape the requirements into a system
Done by a System Designer
Uses a variety of tools
CASE: Computer Assisted Software Engineering
Automated tools to assist in design
System Flowchart:
- A graphical representation of the programs within a system and how they interrelate.
9. College of Business Administration
Texas A&M University-Kingsville 4. Develop the new system System is developed during this phase by the programmer or programming team
Major component is the:
Program Development Cycle - PDC
10. College of Business Administration
Texas A&M University-Kingsville PDC Step 1: Review the input, processing, output and storage requirements.
No Assumptions
UNDERSTAND THE PROBLEM.
11. College of Business Administration
Texas A&M University-Kingsville PDC Step 2: Develop the logic for the program
Program Flowchart
Pseudocode
Hierarchy chart
Modularization
Procedure Oriented Design
Object Oriented Design
12. College of Business Administration
Texas A&M University-Kingsville Primary Flowchart Symbols
13. College of Business Administration
Texas A&M University-Kingsville Problem. . . We wish to read an employees payroll data, determine the gross pay, calculate the deductions, determine the net pay, and issue an appropriate pay check.
14. College of Business Administration
Texas A&M University-Kingsville Program Flowchart and Pseudocode
15. College of Business Administration
Texas A&M University-Kingsville Modularization
16. College of Business Administration
Texas A&M University-Kingsville PDC Continued Step 3: Write the program using a programming language, i.e., convert the design into a series of programming steps.
Procedure Oriented Language - How
Pascal, Cobol, Assembler, Fortran, etc
Fourth Generation Language - What
database, spreadsheets, word processors, etc
Event Driven Programming - Event Response
Visual Basic, Visual C++, etc
Object Oriented Programming - Classes and Objects
Java, C++, etc
17. College of Business Administration
Texas A&M University-Kingsville PDC Continued Step 4: Test and debug the program
The process of resolving problems in the program
Two Major kinds of errors
Syntax
Logic
Unit testing
Systems testing or Integration testing
18. College of Business Administration
Texas A&M University-Kingsville PDC Continued Step 5: Complete the program documentation
Extremely important
Should be an on-going process
Pull it all together
Document for the Programmer that follows you
19. College of Business Administration
Texas A&M University-Kingsville 5. Implement the new system Provide user training
Develop operating procedures
Decide upon implementation strategy
20. College of Business Administration
Texas A&M University-Kingsville 7. Evaluate the new system Run system and determine if it is doing what it is supposed to do
Modify as necessary
Prepare report
21. College of Business Administration
Texas A&M University-Kingsville Structured Programming A way of programming that uses only three basic patterns of logic
Referred to as control structures
Basic control structures
Simple sequence control structure
IFTHENELSE control structure
Selection
DOWHILE control structure
Iteration
22. College of Business Administration
Texas A&M University-Kingsville 1. Proceed North on Western Street for two miles.
2. Turn East on University Avenue.
3. Proceed on University Avenue for three blocks, to Washington Street.
4. Turn North at Washington Street.
5. Proceed two blocks.
6. House is on the left (1600 Washington Street)
23. College of Business Administration
Texas A&M University-Kingsville Simple Sequence
24. College of Business Administration
Texas A&M University-Kingsville 1. Proceed North on Western Street for two miles.
2. Turn East on University Avenue.
3. Proceed on University Avenue for three blocks, to Washington Street.
4. IF North turn at Washington Street is blocked
THEN
Continue East on University Avenue five blocks.
Turn North at Clifton Avenue.
Proceed three blocks.
Turn West at Circle Drive.
Proceed five blocks.
Turn South at Washington Street.
House is on the right (1600 Washington Street).
ELSE
Turn North at Washington Street.
Proceed two blocks.
House is on the left (1600 Washington Street)
25. College of Business Administration
Texas A&M University-Kingsville IFTHENELSE Structure
26. College of Business Administration
Texas A&M University-Kingsville Wash hair
Rinse
Repeat
27. College of Business Administration
Texas A&M University-Kingsville 1. Wash hair
2. Rinse hair
3. Repeat from Step 1
Infinite Loop
28. College of Business Administration
Texas A&M University-Kingsville DOWHILE Loop DOWHILE hair is not clean
Wash hair
Rinse hair
ENDDO Loop
29. College of Business Administration
Texas A&M University-Kingsville DOWHILE Structure
30. College of Business Administration
Texas A&M University-Kingsville Thats all, folks!