Modulo Operator Result
Multiple Choice Beginner
Question
What is the value of 17 % 5?
Hint
Modulo gives the remainder after division.
Explanation
17 % 5 equals 2. The modulo operator returns the remainder after integer division. 17 divided by 5 is 3 with a remainder of 2 (5 times 3 is 15, and 17 minus 15 is 2). So 17 % 5 = 2.
Related Resources
Related Lessons
- Numbers and Math
Learn about numbers.
Look up unfamiliar terms
A beginner-friendly glossary explains jargon in plain English — variables, functions, DOM, Promise, and more.
Decode error messages
Plain-English explanations of common errors — what they mean, why they happen, and how to fix them.
Build real projects
Apply what you learned by building guided projects with starter code and solutions.