Presentation is loading. Please wait.

Presentation is loading. Please wait.

The Art of Programming --

Similar presentations


Presentation on theme: "The Art of Programming --"— Presentation transcript:

1 The Art of Programming --

2 Skills Word Processing File Management

3 Web Address:

4 Programming is a process

5 Terms Project -- Collection of files that make up the program.
Documentation -- descriptions of the program. Program maintenance -- term used for updating pre-existing programs.

6 More Terms Code -- another name for a program’s set of instructions.
Bug -- program error. If a program does not work properly the act of removing the bugs is called debugging. Debugger -- interactive monitoring system that you turn on and off that helps you discover bugs. User -- a person who uses a program.

7 Three Major Phases Design Implementation Maintenance

8 Design Phase

9 What is the problem???

10 Write the Pseudocode How does data get into the program?
What happens to the data? How is it changed? How do you want the data to look at the end of the program?

11 Implementation

12 Write the Code Modularize the problem Style Issues
Testing (Does it solve the problem?)

13 Does it work???

14 Testing is a process How do you define success? Develop a plan
What is the criteria?? Develop a plan Before you write the code!! Sample data Boundary testing Formula Testing

15 Maintenance 80% of the cost Updating code Data reliability Training
Major revisions

16 Types of Errors Compile Errors (Syntax errors) Run-Time Errors
Logic Errors

17 Create your screens Write your code Document as you write
’Program Name: Coffee.PAS 'Programmer: C. Sue Halfhill 'Date: January 5, 1999 ‘Purpose: Display shop’s information '********************************************

18 Does it solve the problem??
Fourth -- Test Does it solve the problem??

19 Fifth -- Compile In Pascal, compile is a process in which you transform your code into machine language which the computer can understand.

20 What is Pascal? Teaching language DOS based
Contains most programming structures English-like Delphi

21 Problems with Pascal 7.0 Today’s computers are too fast

22 uestions?


Download ppt "The Art of Programming --"

Similar presentations


Ads by Google