PROGRAMMING Program Development
Learning Outcomes <ul><li>Apply program development phases to solve problems </li></ul><ul><li>Develop a program </li></ul>
Situation <ul><li>Your younger brother has a problem with a basic mathematic operations like addition, subtraction, multip...
Programming Development Phase <ul><li>Problem Analysis </li></ul><ul><li>Program Design </li></ul><ul><li>Coding </li></ul...
1. Problem Analysis <ul><li>What the problem? </li></ul><ul><li>What the input, process, and output? </li></ul><ul><li>Wha...
2. Program Design <ul><li>Write the  pseudo code </li></ul><ul><li>Write  flow chart </li></ul><ul><li>Design   user inter...
Pseudo code <ul><li>PROGRAM Mathematic_Operations </li></ul><ul><li>READ the first number </li></ul><ul><li>READ the secon...
Flow Chart START READ number 1 & 2 CALCULATE STOP/END PRINT the answer
User Interface
3. Coding <ul><li>SCRIPTING </li></ul>3
Coding <ul><li>‘ formula for additional (internal documentation) </li></ul><ul><li>Private Sub cmdAdd_Click() </li></ul><u...
4. Testing and Debugging <ul><li>RUN & COMPILING </li></ul>4
5. Documentation <ul><li>Internal Documentation </li></ul><ul><li>External Documentation </li></ul>5
Exercises <ul><li>Modify the additional formula to use for subtractions, multiplication and division. </li></ul>
Upcoming SlideShare
Loading in...5
×

Ict - Programming

3,474

Published on

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

No Downloads
Views
Total Views
3,474
On Slideshare
0
From Embeds
0
Number of Embeds
0
Actions
Shares
0
Downloads
47
Comments
0
Likes
1
Embeds 0
No embeds

No notes for slide

Ict - Programming

  1. 1. PROGRAMMING Program Development
  2. 2. Learning Outcomes <ul><li>Apply program development phases to solve problems </li></ul><ul><li>Develop a program </li></ul>
  3. 3. Situation <ul><li>Your younger brother has a problem with a basic mathematic operations like addition, subtraction, multiplication, and division. Your parents ask you to develop one simple system using Visual Basic to help your brother. </li></ul><ul><li>Your system should have function button to calculate the additional, subtraction, multiplication, and division for at least two integer numbers </li></ul>
  4. 4. Programming Development Phase <ul><li>Problem Analysis </li></ul><ul><li>Program Design </li></ul><ul><li>Coding </li></ul><ul><li>Testing and Debugging </li></ul><ul><li>Documentation </li></ul>
  5. 5. 1. Problem Analysis <ul><li>What the problem? </li></ul><ul><li>What the input, process, and output? </li></ul><ul><li>What the formula on how to calculate </li></ul><ul><li>the mathematic operations? </li></ul>1
  6. 6. 2. Program Design <ul><li>Write the pseudo code </li></ul><ul><li>Write flow chart </li></ul><ul><li>Design user interface </li></ul>2
  7. 7. Pseudo code <ul><li>PROGRAM Mathematic_Operations </li></ul><ul><li>READ the first number </li></ul><ul><li>READ the second number </li></ul><ul><li>READ command button Add </li></ul><ul><li>CALCULATE the sum of number 1 and number 2 </li></ul><ul><li>PRINT the answer for Addition </li></ul><ul><li>END PROGRAM </li></ul>
  8. 8. Flow Chart START READ number 1 & 2 CALCULATE STOP/END PRINT the answer
  9. 9. User Interface
  10. 10. 3. Coding <ul><li>SCRIPTING </li></ul>3
  11. 11. Coding <ul><li>‘ formula for additional (internal documentation) </li></ul><ul><li>Private Sub cmdAdd_Click() </li></ul><ul><li>Dim Number1, Number2 As Integer </li></ul><ul><li>Number1 = txtNumber1.Text </li></ul><ul><li>Number2 = txtNumber2.Text </li></ul><ul><li>txtSum = Number1 + Number2 </li></ul><ul><li>End Sub </li></ul>
  12. 12. 4. Testing and Debugging <ul><li>RUN & COMPILING </li></ul>4
  13. 13. 5. Documentation <ul><li>Internal Documentation </li></ul><ul><li>External Documentation </li></ul>5
  14. 14. Exercises <ul><li>Modify the additional formula to use for subtractions, multiplication and division. </li></ul>
  1. A particular slide catching your eye?

    Clipping is a handy way to collect important slides you want to go back to later.

×