alone. Welcome back to Cy Berries. Create a sub met today. Really? Going over the binary conversion will be your instructor trending dear oh, and was going to get into it.
So today we're going to convert decimal to binary. Also, go go over how to break down an I P four decimal dress into a full 32 bit buying area dress.
All right, so as you've seen, I'm probably a few T shirts out in the wild. There are 10 types of people in the world. You learn how why that is relevant here in a moment.
So this is based on ah, based to system. They are only two numbers involved in binary, just one and zero.
This is our computers talk, really, It's It's only talking about the basic level
switches in a computer. It's ones and zeros. Like I said, that's the base to system. So it's two raised to the number of bits
and let's go ahead and do a quick example. So we're gonna convert 42 into binary. So the way that I like to think of this is think of the ones as a true statement and zero as a false statement. Right. Let me get my pen out here. Let's go ahead and go. This So we're gonna commit 42 sodas. 42 going to 1 28? No,
64? No. Yes, it goes into 32.
So let's do for it. But I stat let Liza was 10. Right?
So this would be a zero here. We would give us an eight.
I would not lose it before it would lose. So the two
used with zero, right? Because there should be eight. And then finally to
So essentially think of these as Hans. And off. So 42 into binary would be 1010
Okay, That would be binary of 42.
All right, cause you don't need to put in these proceeding zeros at all.
Um, and then here is where the 10 types of people in the world
he's right here, cause that would equal to right. The idea is there are two types of people in the world. Those who understand binary in those who don't
is the big kind of running joke behind it.
So let's go ahead and I'm gonna do one or a quick one here. Let's go ahead and just do. Let's do 154. Okay? Okay. So once when it goes into there
All right, that would leave us with 26
right? So you could skip on down here.
It was a minus sign. So we know we're doing here. Leave us 10
So that was one thing I did in my C c N a was one thing I drew immediately upon it. Getting my
whiteboard thing was, I drew out this little chart.
Uh, because it just helps you remember the different place values grow quickly. Right.
So here you have to raise the one
to raise 23 to raise a four. And so right.
All right, so here, we're gonna go over notes, Amore. Quick practice here. I'm going to give you a second to try and write these down and figure it out, and then we'll go over.
All right? Hopefully fruit out decimal eight here.
I'm just gonna go ahead and we have a one. The four would be a zero, but she would be a zero and the one would be a zero.
So let's do this for this one. Hopefully, you've got that because, remember, you don't need to add in these proceedings zeros right?
Those do not need to be there.
So it's to be one too through. You know, it's a four
And 1 27 Right? So the biggest number that will really be just above that would be 1 28 So it's 64. You could just add everything up to it, right? 64 30 to 16
because essentially, this would be the 1 28 And then to get the 1 28 would just move everything over for
right? This would be 1 28 right here.
All right, hopefully got all those. Otherwise, we will have some practice questions to cyber very well there where you can use the Todd Lamb all sudden anything. All right? And let's continue on here. So it's a little bit more explanations here. We're gonna actually get into the I p four addressing
s o. If you look at I p before, right, you have four different ock tests,
and I accept being the eight bits. That's the number. Could be, you know, um,
to do 345678 rights. You have 88 bits. These air known as bits
eight bits. He calls one bite.
you talk about a four button 32 bit address
for an I p. Before right of four different octet, it's you're gonna have, you know, 0 to 255 4 times
again. Octet range. Who? 0 to 35
which would give you 256 addresses. Prock tat.
because the range you know, you can start at zero and go to 35.
So let's go ahead and convert this right here. So first things first, we want 1 72 I'm gonna go ahead and just draw out my chart here. All right? So one is only two. It goes into 1 28
it. So let's do the math on the air in 1 28
which would leave us 44.
So why should I give us this? Would give us a 32.
So eights would leave us afore
There's your 172 Right.
It's eight numbers, right?
All right. So, 16. That should be relatively easy.
Should be a 16. Hate for 21
on zero. Really? Is that you can just draw zero for that if you want.
56. All right, let's get into it. I'm gonna do use the bottom down here.
So 56 we're gonna go on a 32.
I'm gonna use this space up here.
That's 32. It was 24.
Give us one of these
16 which would give us eight
here on throwing a zero to fill it in.
mine. Every I p address for that. There.
Hopefully I didn't lose you along the way. I remember. You don't need to put in these proceedings Zeros. Just make sure you do. You do need these trailing zeros. Oh, right.
Those have to be there. Otherwise you have no reference of what the numbers actually mean, right?
All right, it's clear the screen and let's move on.
All right, I'll give you one quick quiz. There's your chart. I'm gonna give you a few seconds, positivity and well, we will go through it
Let's go through the 1st 11 90 to 1 68 1 So 1 92 right,
1 28 goes into it, which gives us 64
and that just clears it out. Right?
So if you could just fill in the rest of this
So when I got here, clear the screen.
1234 and 1 68 to the next one.
So, zero, that's the one.
Quick mass will give you an age.
and 11 and should be really easy.
It should just be one.
That's it, right? You just put a one in there.
That would be so. Hopefully this is the answer that you got
Let's go ahead and move on to the video summary. So today we went over very quickly How to convert decimal to binary.
Uh, and we talked about why we have a Max I, Ted of the I P before address of 2 55 Being that it starts at zero, go to 255
because you're Max addresses. Are you, Max? Used your max I p's per octet because it has eight bits is to 56.
And then we also did quite a bit of converting. I could, before addresses to binary.
And as always, if you need help, consult YouTube, consult Google. And if all feels,
I won't be upset. If you shoot me a message and I can try and help explain it to you better try and help out as much as I can.
And as always, I appreciate you watch the video and I look forward to seeing you in next war