Presentation is loading. Please wait.

Presentation is loading. Please wait.

exa.im/stempy16.files - Session 12 Python Camp

Similar presentations


Presentation on theme: "exa.im/stempy16.files - Session 12 Python Camp"— Presentation transcript:

1

2 exa.im/stempy16.files - Session 12 Python Camp
Session 12: Solving a Problem Analysis & Design Programming Testing & Evaluation

3 Two Tasks Easy A maths teacher in a primary school would like a program that will test students on the area of a rectangle. The program should generate two different side lengths, ask the students the question and check if their answer is correct. The program should repeat for 5 different questions. Medium The program should initially ask the student for their name and then create a file using that name. The question and the student’s answer should be stored in that file so that they can be retrieved. The teacher also needs a program that will load up and print the scores for a given student. Hard The program should have different types of questions – for rectangles, squares and triangles. The student should be able to choose their type of question each time and the type of question and the score should both be stored. The teacher program should present a range of suitable statistics to help analyse the data

4 Analysis Requirements What inputs are needed? What outputs are needed?
What does the user need to be able to do? Decomposition How could you break the task down into smaller sections? Plan Pseudocode Flowchart if you have time

5 Development Try solving just one part of the problem
Then test it – several times. Be certain that it does/doesn’t work as it should. If necessary – fix it. Otherwise, move on to the next part. VERY IMPORTANT Don’t be afraid to document your mistakes. You aren’t expected to get it right the first time!

6


Download ppt "exa.im/stempy16.files - Session 12 Python Camp"

Similar presentations


Ads by Google