Sacamuelas.net Play today's quiz

Technology · Computing

Which operation gives the remainder when one number is divided by another?

Two clock faces: adding 4 hours to 9 o'clock gives 1, as in modular arithmetic
Image: Spindled · CC BY-SA 3.0
  1. Modulo (Answer)
  2. Static cast
  3. Concatenation
  4. Dereference

The correct answer is: Modulo

The modulo gives the remainder: 17 \bmod 5 = 2. Many languages write it as %, and they disagree on negatives: -7 % 3 gives -1 in C but 2 in Python. It is the classic way to check whether a number is even.

More on Wikipedia · From the quiz of Wednesday, 25 November 2026

Enjoyed it? Every day there are 10 new questions at your level.

Play today's quiz

More Computing questions

Technology questions →

Also in: Español · Français · Deutsch · Italiano · Valencià