Reasoning Ability - Calendar Problems
What day of the week was 1st January 2100?
q = 1, m = 13, year = 2099.K = 2099 % 100 = 99, J = floor(2099 / 100) = 20.floor(13*(13+1)/5) = 36;floor(K/4)=24;floor(J/4)=5;5*J = 100.h = (1 + 36 + 99 + 24 + 5 + 100) = 265 → 265 mod 7 = 6.0 = Saturday, 1 = Sunday, 2 = Monday, 3 = Tuesday, 4 = Wednesday, 5 = Thursday, 6 = Friday. So h = 6 → Friday.Start learning the concept with an interactive lesson.
15+ quiz questions · All difficulty levels · Free
Free Signup - Practice All Questions