Ict - Programming
Upcoming SlideShare
Loading in...5
×
 

Like this? Share it with your network

Share

Ict - Programming

on

  • 4,090 views

 

Statistics

Views

Total Views
4,090
Views on SlideShare
4,081
Embed Views
9

Actions

Likes
1
Downloads
36
Comments
0

1 Embed 9

http://www.slideshare.net 9

Accessibility

Categories

Upload Details

Uploaded via as Microsoft PowerPoint

Usage Rights

© All Rights Reserved

Report content

Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
  • Full Name Full Name Comment goes here.
    Are you sure you want to
    Your message goes here
    Processing…
Post Comment
Edit your comment

Ict - Programming Presentation Transcript

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