Loading...
Question 32 of 319

Evaluate the BASIC statement:

LET Z = 4*W^2 + 2*Y
Given that W = 5 and Y = 10

  • A. 50
  • B. 80
  • C. 100
  • D. 120

Correct Answer: D

Explanation
To evaluate the BASIC statement LET Z = 4*W^2 + 2*Y given the values of W and Y, we will follow a step-by-step approach to calculate the value of Z. Step-by-Step Explanation
  1. Identify the Variables:
  2. We have two variables: W and Y.
  3. Given values are:
    • W = 5
    • Y = 10
  4. Substitute the Values into the Equation:
  5. The equation we need to evaluate is: [ Z = 4W^2 + 2Y ]
  6. Substitute W and Y into the equation: [ Z = 4(5^2) + 2(10) ]
  7. Calculate W^2:
  8. First, calculate (5^2): [ 5^2 = 25 ]
  9. Multiply by 4:
  10. Now, multiply this result by 4: [ 4*25 = 100 ]
  11. Calculate 2*Y:
  12. Next, calculate (2Y): [ 210 = 20 ]
  13. Add the Results Together:
  14. Now, add the two results together: [ Z = 100 + 20 = 120 ]
Final Answer Thus, the value of Z is 120. Therefore, the correct option is D. Explanation of Other Options
  • Option A: 50: This is incorrect because it does not account for the correct calculations of (4W^2) and (2Y). The calculations yield much higher values.
  • Option B: 80: This is also incorrect. It seems to be a miscalculation of either (4W^2) or (2Y) or both. The correct calculations show that the total is much higher than 80.
  • Option C: 100: This option only accounts for the (4W^2) part of the equation and ignores the (2Y) part. The total must include both components to arrive at the correct answer.
Common Pitfalls
  • Forgetting to square W: A common mistake is to forget that (W) is squared in the equation. Always ensure to perform exponentiation before multiplication.
  • Neglecting to add all components: Ensure that all parts of the equation are calculated and summed correctly. Each term contributes to the final result.
Revision Summary
  • To evaluate expressions, substitute known values into the equation.
  • Perform operations in the correct order: exponentiation, multiplication, and then addition.
  • Double-check calculations to avoid common mistakes.
  • Understand the structure of the equation to ensure all components are included in the final result.
← Previous Next →
Jump to: 32 33 34 35 36 37 38 39 40 41