TCS
Company
Numerical Ability
Clocks and Calendars
Curious Elva asked her father what he would gift for her nineteenth birthday. Father replied that it would depend on the day of the week and be one of SUNglasses, MONeybag, ..., FRIedcake, and SATchel. Please help Elva find the day of the week on 08-Jan-2029
a. Monday
b. Tuesday
c. Thursday
d. Saturday
Read Solution (Total 11)
-
- at year 2000 there is 0 odd day as it is multiple of 400.
from 2001 to 2028 there are 28 years in which 28/4 = 7 are leap years and 21 are ordinary days.
Odd day in 7 leap years = 7*2 = 14
Odd day in 21 ordinary days = 21
total odd day till 31 dec 2028 = 14+21 = 35/7 = 0
hence 1jan 2029 will be Monday.
&
8jan 2029 will also be monday - 9 years agoHelpfull: Yes(20) No(1)
- 8th jan, 2029 = 2028 years + 1st jan to 8th jan (2029)
2028 years = 1600 year + 400 year + 28 year
1600 years = 0 odd days
400 years = 0 odd days
28 years = 0 odd days (28/7 = 0 remainder)
therefore, jan 2029 = 1 to 8 = 8 days = 1 odd day (8/7 = 1 remainder)
so, 1 odd day corresponds to MONDAY - 9 years agoHelpfull: Yes(14) No(1)
- to find day:-
have to know month code :033614625035(0-jan,3-feb,3-march......)
have to know century code: century divided by 4 has code 6
ex:-
16--=6
17--=4
18--=2
19--=0
20--=6
21--=4
22--=2
23--=0
now,DD-MM-YYYY
odd days for DD(=remainder(DD/7))+month code+century code+no of leap years(last two yy/4)+odd days(remainder(last 2 yy/7))=x
day=remainder(x/7)
here monday
- 9 years agoHelpfull: Yes(13) No(4)
- 2000 = 0 odd days
28 years= 7 leap years = 0 odd days
8 jan = 8/7 = 1 odd day
total odd days= 1 odd day
i.e monday - 9 years agoHelpfull: Yes(3) No(2)
- we can divide 2029 to 1600+400+28
here i divided everything as for to find the odd days and 28 becuase 2029 is not over just started
1600 and 400 odd days=0 because can be divisible by 4
and in 28 days we have 28/4=7 leap year and remaining 21 non leap years
so leap year has 2 odd days and non-leap year 1 So 7*2=14 and 21*1=21
14+21=35,,,, 35/7=0 odd days
0+8=8 (jan 8)
8/7=1
1=monday - 9 years agoHelpfull: Yes(3) No(1)
- ans. Monday
- 9 years agoHelpfull: Yes(2) No(0)
- monday moneybag
- 9 years agoHelpfull: Yes(1) No(0)
- Number of odd days upto 2000 = 0
From 2001 to 2028 = 28 + 7 = 35 = 0 (∵ 35/7 remainder zero)
From 2019 January 1 to 7 = 7 = 0
So 08 - Jan - 2029 falls on the same week day as 1-1-1 which is Monday. - 8 years agoHelpfull: Yes(1) No(0)
- thursday....
- 9 years agoHelpfull: Yes(0) No(7)
- Tuesday....
- 9 years agoHelpfull: Yes(0) No(7)
- last 2 digit of year =29
month code of jan = 1
no of leap year 29/4= 7
date =8
total odd days = 29+1+7+8 = 45/7 remainder is 3
since the year is above 2000 (remainder -1) = 2
1=sun, 2=Moday.
Answer: Monday - 4 years agoHelpfull: Yes(0) No(0)
TCS Other Question