< Return to Video

https:/.../emt041080p.mp4

  • 0:15 - 0:19
    Welcome to the 4th video on the
    binary numbers. This video again
  • 0:19 - 0:22
    going to be about converting
    decimal numbers into binary
  • 0:22 - 0:27
    numbers, but this video will use
    a different method. This method
  • 0:27 - 0:31
    is called the division method.
    In this method, we're going to
  • 0:31 - 0:34
    exploit the fundamental property
    of the binary number system that
  • 0:34 - 0:39
    every single place value there
    is a multiple of two. So let's
  • 0:39 - 0:41
    start with a simple example.
  • 0:41 - 0:47
    Let's say 15. So what does 15 in
    decimal look like in binary? So
  • 0:47 - 0:53
    let's divide 15 by 215 / 2 gives
    me 7 and the remainder is 1.
  • 0:53 - 0:56
    Because 2 * 7 only makes a 14.
  • 0:57 - 1:01
    So I still need to add 1 as a
  • 1:01 - 1:06
    remainder then. Divide the
    number again so 7 / 2 gives me 3
  • 1:06 - 1:09
    and again I have got a remainder
  • 1:09 - 1:16
    of 1. Because 2 * 3 is
    6 + 1, makes decelem 3 / 2 gives
  • 1:16 - 1:24
    me one because 1 * 2 is 2. But
    I still got a remainder of 1 and
  • 1:24 - 1:29
    then 1. / 2 gives me zero and
    the remainder is 1.
  • 1:30 - 1:35
    Now there is 1 trick here, which
    is once you've got your number
  • 1:35 - 1:39
    sequence here. The remainder
    sequence when you recording it,
  • 1:39 - 1:43
    you need to record it from
    bottom up. Why is that? Well,
  • 1:43 - 1:48
    when I'm first dividing by two
    here, I'm only dividing by the
  • 1:48 - 1:53
    smallest place value. Then I'm
    dividing by a bigger place for
  • 1:53 - 1:58
    you and this one is the biggest
    place. Why that's why when I'm
  • 1:58 - 2:00
    recording I need to start from.
  • 2:00 - 2:04
    Bottom up now, in this
    particular case, it will make no
  • 2:04 - 2:07
    difference, because these are
    all digits of ones.
  • 2:08 - 2:12
    But in other examples you will
    see that there is a difference.
  • 2:12 - 2:16
    Another thing is you cannot stop
    your division here because this
  • 2:16 - 2:19
    means that you haven't divided
    by all the necessary place
  • 2:19 - 2:24
    values. You have to keep going
    until you get an answer of 0
  • 2:24 - 2:26
    here, so that's the last last
  • 2:26 - 2:33
    step. So 15 in decimal is 1111
    in binary. Now if we want to be
  • 2:33 - 2:37
    really sure about that, we've
    done the conversion correctly.
  • 2:37 - 2:41
    We can check it going backwards
    simply just putting the place
  • 2:41 - 2:47
    values on top of the number. I
    suggest the until you become
  • 2:47 - 2:51
    familiar with the method that
    you carry on doing these double
  • 2:51 - 2:57
    checks. So that's 1248 and I
    know that 8 + 2 makes 10.
  • 2:57 - 3:02
    And I knew that 4 + 1 makes 5,
    so yes indeed this is 15.
  • 3:04 - 3:10
    Let's look at the next timestamp
    or the next example is 24, So
  • 3:10 - 3:18
    what is 24 / 224 / 2 gives
    me 12 and in this case I've got
  • 3:18 - 3:22
    no remainders. Again 12 / 2
    gives me 6.
  • 3:22 - 3:29
    No remainders, 6 / 2 gives
    ME3, no remainders, and 3 / 2
  • 3:29 - 3:34
    gives me one remainder one.
    And don't forget the last Step
  • 3:34 - 3:40
    1 / 2 gives me zero and the
    remainder is 1 again.
  • 3:41 - 3:48
    Copy the digits bottom up so 24
    in decimal equals 11000 in
  • 3:48 - 3:55
    binary. Again, let's do a quick
    check if this answer is actually
  • 3:55 - 4:02
    correct or not. So put the place
    values on top of each digits,
  • 4:02 - 4:08
    SO12 four 816 and 16 + 8
    is indeed 24.
  • 4:11 - 4:12
    Next example.
  • 4:14 - 4:20
    6767 / 2 now the number starts
    to get a little bit bigger than
  • 4:20 - 4:24
    the division. Gets a little bit
    trickier, but there is always
  • 4:24 - 4:29
    something that you can use. How
    many twos go into six while
  • 4:29 - 4:35
    three Dash 4 twos into 60 will
    be 30 something? And how many
  • 4:35 - 4:41
    twos goes into seven while three
    because 3 * 3 Six? So I've got a
  • 4:41 - 4:44
    remainder of 1 again do the
  • 4:44 - 4:51
    division. 30 / 2 is
    15 and 3 / 2 is
  • 4:51 - 4:58
    1 so this will be 16
    and remainder one the double of
  • 4:58 - 5:05
    16 is 32. Add one gives
    3316 / 2 makes, 8 remainders
  • 5:05 - 5:12
    zero 8 / 2 gives 4
    remainder zero 4 / 2 gives
  • 5:12 - 5:14
    to remainder 0.
  • 5:14 - 5:22
    Do you think that divide by two
    gives you one remainder 0 and 1
  • 5:22 - 5:29
    / 2 is zero, remainder one so
    67 in decimal is. Again, don't
  • 5:29 - 5:33
    forget we need to copy down up.
  • 5:34 - 5:35
    Is 1.
  • 5:37 - 5:44
    1234 zeros and one
    one in binary. Just
  • 5:44 - 5:46
    quickly double check.
  • 5:47 - 5:50
    One
  • 5:50 - 5:57
    248-1632
    6464 + 3 makes 67, so
  • 5:57 - 6:01
    I'm happy because the
    answer is correct.
  • 6:03 - 6:07
    Next example 89
    again.
  • 6:09 - 6:16
    I need to divide it by two so 89
    / 2. Well, this is an odd number
  • 6:16 - 6:21
    so I know that the remainder
    will be one. So how about
  • 6:21 - 6:28
    instead of 89 dividing 88 by two
    while 88 / 2 is 44, so that's
  • 6:28 - 6:34
    slightly easier to do 44 / 2 is
    22. Remember I'm just having it
  • 6:34 - 6:40
    and the remainder will be zero
    22 / 2 gives me 11 again half of
  • 6:40 - 6:42
    22 is 11.
  • 6:42 - 6:47
    Remainder zero 11. / 2 again.
    The remainder will be one and if
  • 6:47 - 6:55
    I take 1 from 11 that gives me
    10. So 11 / 2 is 5 and remainder
  • 6:55 - 7:02
    one 5 / 2 is 2 remainder one
    because 2 * 2 is 4 + 1 makes
  • 7:02 - 7:10
    a five 2 / 2 is 1 no remainder
    and 1 / 2 is zero with one
  • 7:10 - 7:12
    remainder. Remember I need to
  • 7:12 - 7:14
    finish. Up with this zero here.
  • 7:15 - 7:17
    And again I need to copy
    the digits bottom up.
  • 7:19 - 7:26
    So 89.
    In decimal is
  • 7:26 - 7:30
    1011001 in binary.
  • 7:31 - 7:33
    I'm going to leave you to check
    if the answer is correct.
  • 7:36 - 7:39
    The last example for using the
    division method to convert
  • 7:39 - 7:44
    decimal to binary numbers will
    be 272. Now divide that by two.
  • 7:44 - 7:48
    I know this is an even number,
    therefore my remainder will be
  • 7:48 - 7:54
    0, but 272 is quite a big number
    to have in my head. So what I'm
  • 7:54 - 7:58
    going to do I'm going to
    partition it so I'm going to
  • 7:58 - 8:03
    have 201st half of 200 is 100,
    then I'm going to half 70 half
  • 8:03 - 8:05
    of 70 is 30.
  • 8:05 - 8:12
    Five and I'm gonna half two half
    of two is 1, so the half of 272
  • 8:12 - 8:17
    is 136, which is the sum of all
    these hearts. So again.
  • 8:18 - 8:22
    Divide that by two
    remainder. Again will be 0
  • 8:22 - 8:26
    because it's again an even
    number. So what's the half
  • 8:26 - 8:32
    of 100 half of 100 is 50,
    what the half of 30 half of
  • 8:32 - 8:37
    30 is 15, and what's the
    half of 6 is 3? So
  • 8:37 - 8:39
    altogether this is 68.
  • 8:41 - 8:45
    Divide that by two. That's going
    to give me a remainder of 0,
  • 8:45 - 8:49
    because that's an even number
    and what's the half of 68 while
  • 8:49 - 8:55
    half of 60 is 30, an half of
    eight is 4, so this will be 34.
  • 8:56 - 9:00
    Divide that by two. The
    remainder will be 0 because this
  • 9:00 - 9:06
    is an even #34 is might not be
    as easy to half as 68 was
  • 9:06 - 9:08
    because half of 30 is 15.
  • 9:10 - 9:16
    And half of four is 2, so that
    gives me 1717 / 2. That's an odd
  • 9:16 - 9:21
    number, so my remainder will be
    one. And if I take that, the
  • 9:21 - 9:26
    remainder away from the number I
    will left with 16 and half of 16
  • 9:26 - 9:31
    is 8 zero, 8 / 2 again. The
    remainder will be 0 because it's
  • 9:31 - 9:37
    an even number. Half of that is
    four 4 /, 2 remainder will be 0
  • 9:37 - 9:40
    again, and the answer is two 2 /
  • 9:40 - 9:47
    2. Is 1 remainder is 0 and 1 / 2
    is zero. Remainder of 1 again I
  • 9:47 - 9:51
    have to stress that you haven't
    finished at this point of the
  • 9:51 - 9:56
    algorithm because you need to go
    back then you have got zero as
  • 9:56 - 9:58
    the answer for the division.
  • 9:58 - 10:00
    So copy that there.
  • 10:00 - 10:02
    Did bottom up.
  • 10:03 - 10:10
    372 in decimal is equal to 1
    followed by three zeros and one
  • 10:10 - 10:16
    followed by 4 zeros in binary.
    Now that number looks slightly
  • 10:16 - 10:21
    suspicious, so let's double
    check that this is actually the
  • 10:21 - 10:23
    correct number that we wanted,
  • 10:23 - 10:30
    so 12. Four
    816-3264 hundred 28256.
  • 10:30 - 10:36
    So what I've
    got here is
  • 10:36 - 10:42
    256. Add 16
    so 256 +
  • 10:42 - 10:46
    10 is 266.
  • 10:47 - 10:51
    +6 that is indeed
    272.
  • 10:54 - 10:58
    So these are the examples to
    show you how to use the
  • 10:58 - 11:00
    division method to convert
    decimal numbers to binary
  • 11:00 - 11:04
    numbers in the next few
    minutes. I'm going to show
  • 11:04 - 11:07
    you some extra practice
    questions that you can do
  • 11:07 - 11:10
    yourself and then I will show
    you the answers. I suggest
  • 11:10 - 11:13
    that you post the video while
    you're carrying out the
  • 11:13 - 11:16
    calculations so your fan
    won't be spoiled, so these
  • 11:16 - 11:18
    are the practice questions.
  • 11:23 - 11:25
    And here are the answers.
Title:
https:/.../emt041080p.mp4
Video Language:
English
Duration:
11:55

English subtitles

Revisions