To evaluate the BASIC statement given in the question, we need to follow a few steps to substitute the values of W and Y into the equation and perform the calculations. Let's break it down step-by-step.
Step 1: Understand the Equation
The equation provided is:
[ Z = 4 \times W^2 + 2 \times Y ]
Step 2: Substitute the Values
We are given:
- ( W = 5 )
- ( Y = 10 )
Now, we will substitute these values into the equation.
Step 3: Calculate ( W^2 )
First, we need to calculate ( W^2 ):
[ W^2 = 5^2 = 25 ]
Step 4: Calculate ( 4 \times W^2 )
Next, we calculate ( 4 \times W^2 ):
[ 4 \times W^2 = 4 \times 25 = 100 ]
Step 5: Calculate ( 2 \times Y )
Now, we calculate ( 2 \times Y ):
[ 2 \times Y = 2 \times 10 = 20 ]
Step 6: Combine the Results
Now we can combine the results from Step 4 and Step 5 to find ( Z ):
[ Z = 100 + 20 = 120 ]
Conclusion
Thus, the value of ( Z ) is 120. Therefore, the correct option is:
D. 120
Explanation of Other Options
-
A. 50: This option is incorrect because it does not account for the calculations of ( 4 \times W^2 ) and ( 2 \times Y ) correctly. The calculations yield a much higher value.
-
B. 80: This option is also incorrect. It seems to be a miscalculation of either ( 4 \times W^2 ) or ( 2 \times Y ), or both. The correct calculations show that the sum is much higher than 80.
-
C. 100: This option is incorrect as well. It only accounts for ( 4 \times W^2 ) and ignores the contribution from ( 2 \times Y ). The correct total includes both terms.
Common Pitfalls
- Miscalculating Powers: Ensure that when calculating ( W^2 ), you square the value correctly.
- Forgetting to Add: After calculating the two parts of the equation, remember to add them together to get the final result.
- Substituting Incorrect Values: Always double-check that the values substituted into the equation are correct.
Revision Summary
- The equation to evaluate is ( Z = 4 \times W^2 + 2 \times Y ).
- Substitute ( W = 5 ) and ( Y = 10 ) into the equation.
- Calculate ( W^2 ), ( 4 \times W^2 ), and ( 2 \times Y ) separately.
- Combine the results to find ( Z = 120 ), which corresponds to option D.