Lesson 5 - Counts - Workbook
Lesson 5 - Counts - Workbook
Count
Python Programming
Learning & Skills Objectives
To understand how to use counter variables.
Keywords
Increment, variable, counter, statement, embed
Lesson Success Criteria
I know what a counter variable is.
Remembering I know how to embed a counter variable into an IF
statement.
Understanding
I can spot errors in code, explain why they are wrong and
I can fix them.
Applying I can customise a program with print statements.
I can introduce a variable that can keep a score in my
program.
Analyzing
I have completed ALL of the tasks in today’s lesson
INDEPENDENTLY.
Evaluating
I have completed ALL of the extension tasks in today’s
lessons.
Creating I can refine my program even further and explain how I’ve
done this.
Do now
At the end of the game the player can be given feedback on how well
they’ve done!
Extension – Can you add another counter variable called ‘wrong’ that counts
how many questions the player has got wrong. Think about where this
counter would need to go.
Mini Task Two
To learn how to customise and refine are wrong and I can fix them.
I can customise a program with print
programs further with print statements.
statements. I can introduce a variable that can keep a
score in my program.
a) Update the formatting a little bit so that it looks more professional with an
opening title, etc.
b) Asks the user for their name at the beginning of the program and uses their
name when it displays their score at the end.
e.g. Well played Dave, your final score is 1 ... Not good!!
c) The message at the end changes depending upon the player’s score.
e.g. If the player gets lower than 2 they are called a ‘Noob’
Else they are called a ‘MATHS GENIUS’
Main Task One
To learn how to customise and refine are wrong and I can fix them.
I can customise a program with print
programs further with print statements.
statements. I can introduce a variable that can keep a
score in my program.
Level 5
I can introduce a variable that can
I have completed ALL of the tasks in today’s
keep a score (known as a counter). lesson INDEPENDENTLY.
I have completed ALL of the extension tasks
I can increment the ‘counter’ in today’s lessons.
I can refine my program even further and
variable by 1 in an IF statement.
explain how I’ve done this.