Question
CAN SOMEONE PLEASE POST A SCREENSHOT OF A WORKING SCRIPT(S) FOR THIS QUESTION? Question 2 (20 marks) This question focuses on Part 1 (sprite movement),
CAN SOMEONE PLEASE POST A SCREENSHOT OF A WORKING SCRIPT(S) FOR THIS QUESTION?
Question 2 (20 marks) This question focuses on Part 1 (sprite movement), Part 2 (arithmetic, rounding, joining strings, and custom blocks) and Part 3 (selection). Open the project TM111_02_Q2.sb2. This project is intended to provide a program to help the pupils practise doubling and rounding numbers. It contains a sprite named Bee, equipped with four costumes: bee1, bee2, bee3 and bee4. It also contains a custom block: buzz_down. Start by exploring the buzz_down block. Then create a program to achieve the following. When the user presses their space key, Bee should be positioned at the centre of the stage, wearing the costume bee1. The user should be asked a doubling and rounding question, in the format shown in Figure 1. Described image Figure 1 Figure 1 The number (13.958152013551443, in the above example) should be between 0.1 and 300 inclusive. If the user gets the answer correct, they should be told Well done! and the bee should buzz upwards to the top of the stage. If they get the answer incorrect, they should be told so and given the correct answer, in the format of the following example: No. The answer is 28, and the bee should buzz downwards to the bottom of the stage. Your program should use the following: A block pick_random[0.1]to[300]. The custom block buzz_down to make the bee appear to move downwards until it reaches the bottom of the stage. You should not change the definition of this block. A custom block buzz_up that you should create and define, to make the bee appear to move upwards until it reaches the top of the stage. There is no strict specification for this, but your block should involve the following: playing some form of music or sound, which you should bring into the project using any of the New sound: facilities available in the Sounds pane the sprite moving to the top of the stage, using the costumes bee1 and bee2 to give the impression of movement. We encourage you to design an algorithm before starting to create your program, and to test your program; however, for this question, you are not required to submit anything other than the complete program. Be sure to test your program in situations where the user gets the answer correct and in situations where they get the answer incorrect. Marks will be awarded for the following: a.forming and displaying an appropriate doubling and rounding question (8 marks) b.obtaining user input and taking the appropriate actions. (12 marks)
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started