Presentation is loading. Please wait.

Presentation is loading. Please wait.

The basics of the programming process The development of programming languages to improve software development Programming languages that the average user.

Similar presentations


Presentation on theme: "The basics of the programming process The development of programming languages to improve software development Programming languages that the average user."— Presentation transcript:

1 The basics of the programming process The development of programming languages to improve software development Programming languages that the average user can employ to enhance working with a computer Putting Computers to Work: Software …

2 Analyzing and understanding the problem (steps 1-2) Devising a plan (algorithm) to solve the problem (steps 3-7) Creating an executable program that implements the plan (translate the algorithm to a program) (steps 8-9) Testing and debugging (correcting) the program (steps 10-11) The Software Development Cycle

3 Analyzing 1. Identify –Purpose – input, –Processing – output 2. Visualize – imagine what screen looks like if program is running

4 Design 3. Use tools – hierarchy charts, pseudocode, flowcharts 4. Check model for logic errors – trace or walkthrough

5 Algorithms Problem: Compute amount earned on an investment Algorithm: –Get data –Compute amount –Output amount -Get data Get principal Get APR Get number years -Compute amount Compute interest rate Compute days Compute amount -Output amount

6 Algorithms Algorithms may be expressed using a variety of methods and techniques A flowchart pseudocode

7 Implement 5. Write the code –Translate algorithm into programming language 6. Compile 7. Correct syntax errors (recompile)

8 A Sample Program

9 Link and Execute 8. Link 9. Run the program using test data for input 10. Correct any errors 11. Validate resutls

10 Modular Design Break huge project into small pieces (modules) Process is Modular Design 1 st way – top-down design (step-wise refinement) 2 nd way – object oriented design –Encapsulation –Properties –Behaviors

11 Quality Objectives Execution efficiency Programming efficiency –Use high level concepts Maintainability –Readable –Documented (internally and externally) Reusability –Modularize –generalize


Download ppt "The basics of the programming process The development of programming languages to improve software development Programming languages that the average user."

Similar presentations


Ads by Google