Question Detail

COM 101 COM 101 Past Questions Objective Question

Question

Another name for MOD (that is, modulus function) is
Options
A integer division
B integer remainder
Correct Answer
C logical function
D integer multiplier
Correct Answer

Option B is the correct answer.

Detailed Explanation

The MOD operator returns the remainder after integer division. For example, 7 MOD 3 returns 1, which is the remainder of 7 divided by 3.

Hint

It gives what's left over after division.

Question Info