Professional Documents
Culture Documents
co
1
www.gradeup.co
2
www.gradeup.co
3
www.gradeup.co
Finding binary equivalent of a fraction: In Example: Years 800, 1200, 1600, 2000,
this we multiply the fractional part with 2, 2400 and so on.
if we get any integer part, we take 1, Also, every 4th year is a leap year. Example:
otherwise 0 as binary digit. Each time we 2020, 2024, 2028, 2032 and so on.
multiply by 2 and take the fraction part for But years like 1800, 1900, 2100, 2200 are
next time. Once the fraction part becomes non-leap years as they are divisible by 100.
zero, we stop and the binary equivalent of
the fraction is 1’s or 0’s taken in order from Odd Days: In a non-leap year there are 365
top to bottom as it is obtained in each step. days and there are 7 days in a week. So,
Note that if the fraction part does not there are 365 = 52 × 7 + 1 days i.e., there
terminate, we can stop the process after are 52 weeks and one day. This additional
certain number of times. The binary day is called an odd day.
equivalent obtained will be approximate In a leap year there are 366 days. So, there
value of the fraction. are 52 weeks and 2 days i.e., there are two
odd days in a leap year.
Examples Concept of odd days is very important in
Example: Find the binary equivalent of calendars. With this concept we can find
0.28125. what day of the week will be on any given
Solution: Given number = 0.28125 date.
Now,
Some Important Results about Odd days
Binary and Calendars:
0.28125 × 2 = 0.5625 0 100 years give us 5 odd days.
0.5625 × 2 = 1.125 1 200 years give us 3 odd days.
0.125 × 2 = 0.250 0 300 years give us 1 odd day.
0.250 × 2 = 0.500 0 400 years give us 0 odd days.
0.500 × 2 = 1.000 1 Calendar of a leap year can be used again
So, binary equivalents of 0.5625 is (is repeated) after 28 years.
(0.01001)2 For a non-leap year, Add 11 to the given
year, if result is not a leap year, then the
8. Find the binary equivalent of 0.425. resultant year is the year in which calendar
A. (0.011011)2 can be used again.
B. (0.011001)2 And, if the result is a leap year, then add 6
C. (0.010011)2 to the original given year and that will be
D. (0.010111)2 the year in which the calendar can be used
Ans. A again.
Examples
Calendars Example: What day of the week was on
Leap Year: The year in which there is 1 10th June 2012?.
extra day is called a leap year i.e., a leap Solution:
year has 366 days. In such question take present day as a
29th February is the extra added day in a reference and calculate the number of odd
leap year. days from the given date to the reference
Every 100th year starting from 1st AD is a date.
non-leap year, but every 4th century is a Now, today on 17th June 2021 is Thursday.
leap year.
4
www.gradeup.co
By calculating the odd days from 10th June 9. What day of the week will be on 11th
2012 to 17th June 2021 we can find the day June 2039?.
of the week on 10th June 2012.
On calculating we can see that number of A. Monday
odd days is coming to be 4. B. Tuesday
C. Saturday
So, D. Friday
Thursday Friday Saturday Sunday Ans. C
1 2 3 4
What have we learned?
Basics of Base System.
i.e., Sunday was the day of the week on
How to convert any number in given base
10th June 2012.
system to another base system.
Concept of odd days and how to find what
day of the week is on any given date.