Answer the following questions:
1. Explain the meaning of the statements shown here, both in AP CSP pseudocode and App Inventor. For example, suppose the variable X has the value 10 before the statement is executed. What value would it have after the statement is executed.
X ← X + 1
Answer
The value the it would have after the statement is executed is 11 because it is one more than the previous value.
2. One aspect of abstraction is that it helps to reduce details to focus on what's relevant. How does the use of a variable, such as dotsize, instead of a value, such as '5', help to reduce detail and focus on what is essential in this program.
Answer
The variable of dotsize helps to reduce detail and focus on what is essential in this program because instead of just looking at random numbers, there is an actual word associated.