Python Controlled Assessment Task

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 = 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

description

Controlled Assessment Task for Wildern Introduction To Python Unit

Transcript of Python Controlled Assessment Task

Page 1: Python Controlled Assessment Task

Controlled Assessment ofUnit 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 = 112 x 11 = 223 x 11 = 334 x 11 = 445 x 11 = 556 x 11 = 667 x 11 = 778 x 11 = 889 x 11 = 9910 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:

if a pupil knows all the 11-times table, they should be awarded an A* grade. Score (10 / 10) if a pupil makes 1 mistake, they should be awarded a A grade. Score (9 / 10) if a pupil makes 2 mistakes, they should be awarded a B grade. Score (8 / 10) if a pupil makes 3 mistakes, they should be awarded a C grade. Score (7 / 10)

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)

Page 2: Python Controlled Assessment Task

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 user’s 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? [1]

The end user’s 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’. [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 user’s 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)

Page 3: Python Controlled Assessment Task

[name variable] achieved a grade C