Monday, 20 February 2012

Algorithm Development 1 Validation


Step 1
Get price to send parcel.

Step 2
Weight of package, Price per kilo.

Step 3
validate Weight of package, Price per kilo

Step 4
Multiply weight of package by price per kilo

Step 5
Display Price of Parcel

Step 6
Calculate Price
- Prompt user for weight of parcel, price per kilo
- Get weight of package, price per kilo
- Cost of package = Weight of parcel * Price per kilo
- Display cost of sending parcel
End

Algorithm Development 2 Validation


Step 1
Estimate time to complete new game

Step 2
Hours to complete previous games, Amount of games

Step 3
Validate Hours to complete, Amount of games.

Step 4
Estimated hours to complete new game

Step 5
Add hours of games / amount of games

Step 6
Calculate Estimated Time
- Prompt user for hours to complete previous games, Amount of games.
- Get Hours to complete previous games, Amount of games.
- If T Continue, If F return to start.
- Validate Hours to complete previous games, Amount of games.
- Estimated hours = Hours to complete previous games / Amount of games.
- Show estimated hours to complete new game.
End


Monday, 13 February 2012

Algorithm Development 2

Step 1
Estimate time to complete new game

Step 2
Hours to complete previous games, Amount of games

Step 3
Estimated hours to complete new game

Step 4
Add hours of games / amount of games

Step 5
Calculate Estimated Time
- Prompt user for hours to complete previous games, Amount of games
- Get Hours to complete previous games, Amount of games
- Estimated hours = Hours to complete previous games / Amount of games
- Show estimated hours to complete new game
End

Algorithm Development 1

Step 1
Get price to send parcel.

Step 2
Weight of package, Price per kilo.

Step 3
Price of package

Step 4
Multiply weight of package by price per kilo

Step 5
Calculate Price
- Prompt user for weight of parcel, price per kilo
- Get weight of package, price per kilo
- Cost of package = Weight of parcel * Price per kilo
- Display cost of sending parcel
End

What is an Algorithm

An algorithm is a procedure which are used for calculations, data processing and automated reasoning, which when started from there initial state will proceed through well-defined states, eventually producing output and then terminate when finished.


http://en.wikipedia.org/wiki/Algorithm

Sunday, 12 February 2012

Programming

                             Stumbled upon this while searching for programming Videos