here is the link https://arcade.makecode.com/25260-32163-31036-22890 Please answer all questions. I NEED help FAST. Please answer ASAP
100 points!!!
Part 1: Understand the Problem (7 points)
Use the link on the second page of this activity to access the program you explored on the introduction page. Then click the "Show Code" button at the top of the MakeCode Arcade interface to view the program. Review the code with a partner and answer these questions. If you do not have a partner, review the code and answer the questions by yourself.
1. What happens in the program when the "A" button is pressed? (2 points)
2. Explain what happens in the program when the "B" button is pressed. (2 points)
3. Explain at least one drawback in the way the program has been written and how it might be addressed. (3 points)
Part 2: Plan the Solution (6 points)
Now that you have explored the program, discuss with your partner ways to simplify the code and answer these questions. If you do not have a partner, answer the questions by yourself.
1. What is one way the program is unnecessarily repetitive? (3 points)
2. How could you reduce or eliminate the repeating code? (3 points)
Part 3: Carry Out the Plan (20 points)
Now it's time to edit and improve the program by using an array. An array will reduce the number of variables to simplify the code and reduce blocks. Collaborate with your partner to assign roles. For instance, you may divide up the tasks of determining solutions between the two of you, or you may have one of you apply the solutions and the other test them. If you do not have a partner, you will be responsible for completing the entire task yourself. Click the "Edit Code" button at the top of the MakeCode Arcade interface to modify the program.
Once you have finished editing the program, rename the project file "Simplified version" and then add your name and your partner's name. If you don't have a partner, rename the file "Simplified version" and then your name. Then click the "Share" button at the top and click "Publish project." Copy the link that is generated and send the link to your teacher when you submit this completed worksheet.
Part 4: Review and Discuss (7 points)
At this point, you have improved the program. Now you will review and discuss the changes you made to the program with your partner. If you do not have a partner, answer the questions by yourself.
1. Did your proposed improvements simplify the program as you had planned? Explain your answer. (3 points)
2. Did simplifying the game introduce any bugs into it? If so, how did you fix or remove them? (2 points)
3. What advice or strategy would you recommend to someone who is trying to reduce unnecessary repetition in a program? (2 points)