@trilby: Well first you'd need to learn how to count in binary and then subnetting makes more sense. It took me awhile to understand subnetting and I only asked you a very basic question XD
@staika I have no fucking clue. 11?
Okay, I checked. It's 12, apparently. I musta missed one of them. If I remember right, those first four 0s are meaningless because it goes 0001, 0010, 0100, 1000 until 1111, then it goes to the second set.
Captcha: complex number
Seriously, it hasta be self-aware. Too many coincidences!
@Trilby: One off but you were close
I'd try to teach you how to do it but I keep thinking I would confuse people by doing it. I'm not the greatest teacher in the world >.>
Decimal is broken up into segments equal to 10^(x-1), where 'x' is the number of digits away from the deicmal on the right.
So 1467 broken up is 1*10^3 + 4*10^2 + 6*10^1 + 7*10^0.
Binary works the same way, but with powers of 2 rather than power of 10. Because there is only 2 possible options before going onto the next power, the digits can only be represented by a 1 or 0.
So 1467 in binary is 11011111011 which is broken down into 1*2^10 + 1*2^9 + 0*2^8 + 1*2^7 + 1*2^6 + 1*2^5 + 1*2^4 + 1*2^3 +0*2^2 + 1*2^1 + 1*2^0.
Octal and Hex are a little bit more tricky, but at their core are the same.
With octal you take each group of 3 digits (starting from the right) and replace it with the number from 0-7 that it represents, so 1467 shows up in octal as 3373.
Hex is where you take a group of 4 digits(starting from the right.), and replace it with the number from 0-9 or A-F, with A-F replacing numbers greater than 9. So 1467 in Hex is 6FC.
The way I do it is mostly addition and my teacher calls it the simple method. How it works is that each decimal place counts as a power of 2 and depending on if the number in the binary is 1 or 0 tells you whether to add it or not. So let's try 10010011
since there are 8 bits in this number we write out the 8 powers of 2 which are:
1
2
4
8
16
32
64
128
Now starting from the right of the binary number we would only add the ones that are '1' in the binary number. So it would be 1+2+16+128=147. so the decimal version of 10010011 would be 147 if I did my math right.
Edit: Man I'm a terrible teacher as I think this wouldn't make sense to other people :/
I have a lot of love for mathematics. Our two methods are exactly the same, it's just that yours is explained more for the people who don't love mathematics as much.
@Berenzen: Sweet I didn't think you'd understand it but then again I doubt myself on these types of things a lot XD
I am pretty good at math but stuff like calculus and algebra destroyed me. I find stuff like binary and subnetting fairly easy to do.
@Berenzen: No-one's been penalised for one post of advertising... but I note that your thread is on the front page of the forum. Surely such advertising would be unnecessary?
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.