Question: This project is intended to implement a program to help the teacher record how many paintings pupils have completed during the school term, up to
This project is intended to implement a program to help the teacher record how many paintings pupils have completed during the school term, up to a maximum of paintings.
Before recording the number of paintings completed by each pupil, the teacher will start the program using the green flag. She will then press her space key whenever she wants to record a pupil's number of paintings, which she will enter out of a maximum of If the number, as a percentage of the maximum of is more than then the pupil will be awarded a Renoir sticker.
In this project, we have provided a whengreenflagclicked script and a when spacekeypressed script. Consider these scripts carefully and then answer the questions below.
a Complete the stepbystep description below of what the when space keypressed script does when the user starts the program using the green flag, then presses the space key, and enters 'Rowan', and then
The user is asked to enter a pupil's name. Their input, 'Rowan', is stored in the variable name.
The user is asked to enter the number of paintings completed by the pupil out of a maximum of dots
Your description should make clear what data is stored in the variables and the list involved, and the result of any comparison that is made. You should describe what happens in the particular scenario here, with the inputs 'Rowan' and not what the script does in general or what might have happened with different inputs.
marks
b
i Identify a numerical value used in this program that might appropriately be stored
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
