nerdexam
Microsoft

98-382 · Question #17

98-382 Question #17: Real Exam Question with Answer & Explanation

The correct answer is A. No change is needed. See the full explanation below for the reasoning.

Question

This question requires that you evaluate the underlined text to determine if it is correct. You review the following JavaScript code:
var x = 15;
x %= 5;
When this code executes, the value of x is 0. Review the underlined text. If it makes the statement correct, select "No change is needed". If the statement is incorrect, select the answer choice that makes the statement correct.

Options

  • ANo change is needed
  • Bthe value of x is 3
  • Cthe value of x is 5
  • Dthe value of x is undefined

Community Discussion

No community discussion yet for this question.

Full 98-382 Practice