Upcoming SlideShare
×

# Prog Design

423 views

Published on

Programming Design

Published in: Education, Travel, Business
0 Likes
Statistics
Notes
• Full Name
Comment goes here.

Are you sure you want to Yes No
Your message goes here
• Be the first to comment

• Be the first to like this

Views
Total views
423
On SlideShare
0
From Embeds
0
Number of Embeds
3
Actions
Shares
0
4
0
Likes
0
Embeds 0
No embeds

No notes for slide

### Prog Design

1. 1. Having a Bath Every task that you do can be broken down into main steps. Those steps can often be broken down into smaller steps. This is sometimes called Stepwise Refinement or writing an Algorithm. So a task like having a bath can be broken down into the main things you have to do. Each of those main things can be further broken down into smaller, more detailed steps. Each of these steps will form instructions for performing the task. <ul><li>Main Steps </li></ul><ul><li>Run the bath </li></ul><ul><li>Have a bath </li></ul><ul><li>Dry off </li></ul>Refinements 1.1 Run the hot and cold water 1.2 Add bubble bath 1.3 Check the temperature 1.4 Turn off water 2.1 Get in bath 2.2 Wash yourself 2.3 Pull the plug out 3.1 Get out of bath 3.2 Use towel to dry yourself 3.3 Get dressed
2. 2. Program Design Before you can write a successful program you will first need to think about what you have been asked to do and how you are going to do it. Analysis This is where you think about what you have been asked to do. You need to write down what the task is in your own words, and how you hope to solve the problem. Design This is where you need to think about how you are going to solve the problem. You need to break the problem down into the main steps to solve it. Then you need to see if you can break the main steps down into smaller steps. The smaller steps are called refinements.