Controlled Assessment of

Unit 9.05

You have 30 minutes to complete the controlled assessment.

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 =

11

2 x 11 =

22

3 x 11 =

33

4 x 11 =

44

5 x 11 =

55

6 x 11 =

66

7 x 11 =

77

8 x 11 =

88

9 x 11 =

99

10 x 11 =

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:

Task 1

In your new Python program (in SCRIPT mode):

        

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

Task 2

Task 3

        

if their answer is correct, then 

else

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

Task 4

             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

Well done [name variable] you have answered all 10 questions!

Task 6

Here is an example of what should be output:   (end user scored 7 /  10)

[name variable] achieved a grade C

Python Controlled Assessment Mark Scheme

You should access the pupil’s source code to assess their solutions.

Task 1: [MAX 2]

[1]   # Their Name     CONTROLLED ASSESSMENT in comments at top of program

[1]   Greeting message.  No need to be strict on spelling or wording here.  Any welcome will do.

Task 2: [MAX 2]

[1] meaningful variable name (e.g. name, your_name, my_name etc.)

[1] input('Please enter your name: ')

Task 3: [MAX 6]

[1]  For the capture of end user’s response  (e.g input())

[1] if answer == 11:

[1]     print('Well done!')

[1]     score = score + 1

[1] else:

[1]     print('Sorry, wrong answer')  # [5 marks]

Task 4: [MAX 3]

Award [1]...for every 3 questions correctly written.  

Task 5: [MAX 2]

Award [1]...Output of relevant message (do NOT be too strict on wording, as long as it is relevant)

Award [1]...for insertion of name variable in mid-string.

        

Task 6: [MAX 5]

if score == 10:

    print(name,' achieved a grade A*')

if score == 9:

    print(name,' achieved a grade A')

if score == 8:

    print(name,' achieved a grade B')

if score == 7:

    print(name,' achieved a grade C')

if score < 7:

    print(name,' Must try harder!'


Name

Task 1 [2]

Task 2 [2]

Task 3 [6]

Task 4 [3]

Task 5 [2]

Task 6 [5]

Total [20]