What is Modulo operation?
An operation that gives the remainder of a division, written mod in the pseudo-language and % in many languages. x mod 10 gives the ones digit, x mod 2 tells whether x is even or odd, and i mod n + 1 gives an index that cycles through 1 to n. The sign of the remainder for negative numbers differs between languages.
Japanese name: 剰余演算
Modulo operation appears in 15 practice questions across 5 topics, including C Programming Basics, Programming Basics (Pseudocode Tracing), Data Structures and Algorithms.