Programming Theory

689 views
621 views

Published on

Published in: Technology
0 Comments
1 Like
Statistics
Notes
  • Be the first to comment

No Downloads
Views
Total views
689
On SlideShare
0
From Embeds
0
Number of Embeds
3
Actions
Shares
0
Downloads
21
Comments
0
Likes
1
Embeds 0
No embeds

No notes for slide

Programming Theory

  1. 1. Programming Theory Mr Arthur
  2. 2. Aims of the Lesson 1 <ul><li>Today’s Lesson </li></ul><ul><ul><li>Intro to Computing theory </li></ul></ul><ul><ul><ul><li>The Software Development Process </li></ul></ul></ul><ul><ul><ul><li>The Analysis Stage </li></ul></ul></ul><ul><ul><li>Read Chapter 12 up to half past </li></ul></ul><ul><ul><li>Finish questions on Forum </li></ul></ul><ul><ul><li>Continue with revision slideshow </li></ul></ul>
  3. 3. The Software Development Process <ul><li>All competent programmers use the SDP process to solve problems and create effective software </li></ul><ul><li>A Analysis </li></ul><ul><li>Dance Design </li></ul><ul><li>In Implementation </li></ul><ul><li>The Testing </li></ul><ul><li>Dark Documentation </li></ul><ul><li>Every Evaluation </li></ul><ul><li>Monday Maintenance </li></ul>
  4. 4. Analysis Stage <ul><li>The Analysis stage involves reading and understanding a problem </li></ul><ul><li>Most programmers split their analysis of the problem into </li></ul><ul><li>Input = What user input is going into the software? </li></ul><ul><li>Process = What exactly has the software to do? </li></ul><ul><li>Output = What output does the user get? </li></ul>
  5. 5. Aims of the Lesson 2 <ul><li>Last Lesson </li></ul><ul><ul><li>Intro to Computing theory </li></ul></ul><ul><ul><ul><li>The Software Development Process </li></ul></ul></ul><ul><ul><ul><li>The Analysis Stage </li></ul></ul></ul><ul><ul><li>Read Chapter 12 up to half past </li></ul></ul><ul><ul><li>Finish questions on Forum </li></ul></ul><ul><ul><li>Continue with revision slideshow </li></ul></ul><ul><li>Today’s Lesson </li></ul><ul><li>The Design stage </li></ul><ul><ul><li>Structure Diagrams </li></ul></ul><ul><ul><li>Algorithm </li></ul></ul><ul><li>Implementation Stage </li></ul><ul><li>Testing Stage </li></ul>
  6. 6. Design Stage <ul><li>At this stage of the SD process, the programmer needs to break the problem down into manageable steps </li></ul><ul><li>Pseudocode </li></ul><ul><li>This uses plain language , breaking the problem down into main steps </li></ul><ul><li>Structure Diagram </li></ul><ul><li>This diagram uses shaped boxes to show loops, decisions, procedures etc </li></ul>
  7. 7. Implementation <ul><li>Implementation is where the programmer develops the design into programming instructions (code). </li></ul><ul><li>Readability </li></ul><ul><li>The code should have clear comments telling the user what each part is doing </li></ul>
  8. 8. Testing <ul><li>Normal </li></ul><ul><ul><li>Where the input into the program is within the correct range </li></ul></ul><ul><li>Extreme </li></ul><ul><ul><li>Where the input into the program is at the limits of the range </li></ul></ul><ul><li>Exceptional </li></ul><ul><ul><li>Where the input into the program is outwith the correct range </li></ul></ul>
  9. 9. Aims of the Lesson 3 <ul><li>Last Lesson </li></ul><ul><ul><li>Intro to Computing theory </li></ul></ul><ul><ul><ul><li>The Software Development Process </li></ul></ul></ul><ul><ul><ul><li>The Analysis Stage </li></ul></ul></ul><ul><ul><ul><li>The Design stage </li></ul></ul></ul><ul><ul><ul><ul><li>Structure Diagrams </li></ul></ul></ul></ul><ul><ul><ul><ul><li>Algorithm </li></ul></ul></ul></ul><ul><ul><ul><li>Implementation Stage </li></ul></ul></ul><ul><ul><ul><li>Testing Stage </li></ul></ul></ul><ul><li>Today’s Lesson </li></ul><ul><li>Documentation </li></ul><ul><li>Evaluation </li></ul><ul><li>Maintenance </li></ul>
  10. 10. Documentation <ul><li>Documentation can be of 2 types: </li></ul><ul><li>User Guide = gives instructions on how to use the program, it may include FAQs and tutorials </li></ul><ul><li>Technical Guide = this document shows the system requirements of the software i.e RAM and processor required </li></ul>
  11. 11. Evaluation <ul><li>The Evaluation stage is where you review your solution against what the program was meant to do at the start </li></ul><ul><li>You may evaluate the following factors </li></ul><ul><ul><li>The HCI </li></ul></ul><ul><ul><li>How much RAM does the software use </li></ul></ul><ul><ul><li>Can the program cope with wrong input?? </li></ul></ul>
  12. 12. Maintenance <ul><li>Maintenance is the final step and is where you may make changes to the software in an effort to improve it </li></ul><ul><ul><li>Add new features </li></ul></ul><ul><ul><li>Fix problems </li></ul></ul><ul><ul><li>Make changes to allow it to work on a different computer </li></ul></ul>

×