Sie sind auf Seite 1von 3

Controlled Assessment of

Unit 9.05
Total mark is [20]
Before you begin, open up PYTHON on your computer and enter SCRIPT mode. It is here you will
write your program and save it.
Save your program as YOURNAME_Controlled_Assessment.py
(with an underscore _ used)
For example,

JoeBloggs_Controlled_Assessment.py

Read through twice the following situation and afterwards, turn over the page to attempt the tasks
required of you.

Situation
The current Primary 4 class at Glenagoorland Primary school are learning their multiplication tables.
They have already covered the 1 to 10 multiplication tables and are currently learning the 11-times
multiplication table.
Here is what they are trying to learn:

1 x 11 =
2 x 11 =
3 x 11 =
4 x 11 =
5 x 11 =
6 x 11 =
7 x 11 =
8 x 11 =
9 x 11 =
10 x 11 =

11
22
33
44
55
66
77
88
99
110

Their teacher, Miss Clarke, has asked you to create a program that will test them on their 11-times
tables.
She has decided that their performance should be graded as follows:

if a pupil knows all the 11-times table, they should be awarded an A* grade.
if a pupil makes 1 mistake, they should be awarded a A grade.
if a pupil makes 2 mistakes, they should be awarded a B grade.
if a pupil makes 3 mistakes, they should be awarded a C grade.

If a pupil makes 4 or more mistakes, they are not awarded a grade but are told Must try harder!
Score (1 or 2 or 3 or 4 or 5 or 6 / 10)

Score (10 / 10)


Score (9 / 10)
Score (8 / 10)
Score (7 / 10)

Task 1
In your new Python program (in SCRIPT mode):

Use commenting to add Your Name and the word Controlled Assessment at the top of the
program. [1]

The program should greet the user with a simple message, such as

Welcome! Have a go at the 11-times table test! [1]

Task 2

The program should then prompt the user for their name and assign the users name to a
variable. The variable should have a meaningful name. [2]

Task 3

The program should then prompt the user with the first question what is 1 x 11?

The end users answer should then be compared with the right answer so that
if their answer is correct, then
Output Well done!
1 mark should be added to a variable called Score.
else
Output Sorry, wrong answer.

[1]

[5]

Note: there is no requirement to show the score after every question


Task 4

Repeat the entire Task 3 for the following questions:


what is 2 x 11?

right up to

what is 10 x 11?

[3]

Note: you will find it helpful to use the copy & paste feature
Task 5

After answering ALL 10 questions, the program should output the following:
[2]
Well done [name variable] you have answered all 10 questions!

Task 6

The final output from your program must show the grade achieved from the test,
based on the end users performance. Use the score to decide which grade has been achieved as
shown on the first page.
[5]
Here is an example of what should be output: (end user scored 7 / 10)

[name variable] achieved a grade C

Das könnte Ihnen auch gefallen