Computer Science for IGCSE & O level - Data Transmission (Section 2 - No. 11)

Which of the following is the primary function of the "mod" operation used in ISBN calculations?
To generate a random number.
To limit the result to a specific range of values.
To reverse the order of digits.
To increase the security of the check digit.

Explanation

The modulo operation (mod) returns the remainder after division, which is used to ensure the check digit falls within a defined range (typically 0-9 for ISBN-13).

Comments (0)

Advertisement