98-382 question 27 discussion

View all Introduction to Programming Using JavaScript here
back to microsoft forum

Question 27

You are writing a function that calculates the remainder for integer division. The function receives two parameters, a and b,
and must return the remainder that is left over when the integer a is divided by the integer b.
You create the following code. Line numbers are for reference only.

You want to complete the function for lines 02 and 03.
Which two sets of code segments should you use? Each correct answer presents a complete solution. (Choose two.)

  • A. Option A
  • B. Option B
  • C. Option C
  • D. Option D
  • E. Option E
  • F. Option F
Answer:

E


Explanation:
References: https://www.w3schools.com/js/js_arithmetic.asp

User Votes:
A
50%
B
50%
C
50%
D
50%
E
50%
F
50%
Discussions
0 / 1000
EltonAuguston
1 year, 2 months ago

"choose two" , its D & E