1.

The value of 12 mod 3 is?(a) 0(b) 1(c) 2(d) 3This question was addressed to me in an international level competition.This question is from Algorithms topic in chapter Algorithms of Discrete Mathematics

Answer»

The correct option is (a) 0

The best I can explain: By the DIVISION ALGORITHM 12 = 3(4) + 0. Where remainder is 12 mod 3.



Discussion

No Comment Found

Related InterviewSolutions