A453.7

=A453 - Build - Lesson 2=

Lesson1 Lesson 2 Lesson 3

Lesson Objectives

 * Continue coding for Task 1 of controlled assessment
 * Explain your coding
 * Gather evidence of your coding

**Success Criteria**

 * (A-C) Build a system using the techniques listed
 * (A-C) Explain the components of your system and the techniques used

Starter ( 5 mins)
Check your classwork document - it should now contain evidence of the first part of your coding - when you added the variables and tested it. You should have

A screenshot of your coding with any errors A screenshot of your debugged working code A screenshot of your code showing explanatory comments A paragraph explaining the programming techniques you have used

If your are missing any of this return to Lesson 1 for instructions

Homework
Check Google Classroom for homework both due and set

Task ( 30 mins)
Continue building your program in Python - your flowchart will help you.

Points you might like to think about.....


 * Set the program to stop when 10 questions have been asked
 * Output the question which is made up of your variables
 * Store the answer which is input by the user as a new variable
 * Increase the question count variable
 * If statement to store the answer to the question as a variable
 * This will need to have the calculation based on the random operator set as if/elif
 * If statement to give output to state if correct or wrong
 * Increase the score variable if needed
 * Output to give the final score after 10 questions

Task (10 mins)
Save and RUN your program - get a screenshot of any errors BEFORE you debug - put this screenshot in your coursework document and explain that how you will debug this code before continuing. When the code is debugged add a screenshot showing the program working.

Plenary (5 mins)
Look back at your work from last lesson - what do you need to do next?