Knowee
Questions
Features
Study Tools

We have created a simple basketball game in Scratch, and we have defined the variable "points" to represent the number of points a player has scored. We want to increase the player’s points by 3, every time he/she makes a field goal beyond the three-point line. Which of the following instructions should we use to capture this increase?1 pointchange points by 3set points to 3change points by 2We cannot increase the variable's value by 3, it is always by 1.

Question

We have created a simple basketball game in Scratch, and we have defined the variable "points" to represent the number of points a player has scored. We want to increase the player’s points by 3, every time he/she makes a field goal beyond the three-point line. Which of the following instructions should we use to capture this increase?1 pointchange points by 3set points to 3change points by 2We cannot increase the variable's value by 3, it is always by 1.

...expand
🧐 Not the exact question you are looking for?Go ask a question

Solution

The correct instruction to use in this case would be "change points by 3". This instruction will increase the value of the "points" variable by 3 every time it is executed, which is exactly what you want to happen when a player makes a field goal beyond the three-point line.

Similar Questions

Noah is a high school basketball player. In a particular game, he made some two point shots and some three point shots. Noah made a total of 11 shots altogether and scored a total of 29 points. Write a system of equations that could be used to determine the number of two point shots Noah made and the number of three point shots he made. Define the variables that you use to write the system.

In a basketball game, Marlene made 16 field goals. Each of the field goals were worth either 2 points or 3 points, and Marlene scored a total of 39 points from field goals.Part ALet x represent the number of 2-point field goals and y represent the number of 3-point field goals. Write a system of equations in terms of x and y to model the situation.Enter your answer in the space provided. Enter only your system.{+−×÷yx=()

What is two point and three point tracking

In a videogame, you will get 3 points at the end of the first level. For eachlevel that you pass, your points are multiplied with 3. How many points doyou have at the end of the 6th level?

Let’s say you’re writing a method named increaseAgeByFive() that is trying to increase the instance variable of the Dog class named age by 5. However, there is also a local variable named age. How would you increase only the instance variable by 5.1 pointthis.Dog += 5;self.age += 5;Dog.age += 5;age += 5;this.age += 5;

1/1

Upgrade your grade with Knowee

Get personalized homework help. Review tough concepts in more detail, or go deeper into your topic by exploring other relevant questions.