Augustine: Despondent
Welcome to our Forums! Please login or register! You can introduce yourself here!









Join the forum, it's quick and easy

Augustine: Despondent
Welcome to our Forums! Please login or register! You can introduce yourself here!







Augustine: Despondent
Would you like to react to this message? Create an account in a few clicks or log in to continue.
Augustine: Despondent

Welcome to the forums! We are the homeplace for Slender: Darkplaces, Augustine, Nightfall survival, and Revamped 1.


You are not connected. Please login or register

Basics of Binary tutorial 1

3 posters

Go down  Message [Page 1 of 1]

1Basics of Binary tutorial 1 Empty Basics of Binary tutorial 1 Fri Feb 04, 2011 2:07 pm

刈り取り機

刈り取り機
Mythic
Mythic

this will b a couple tutorials on how to learn Binary.
i will show u how to actually read a binary code and turn it into a decimal(number) and vice versa
i will also teach u how to convert a decimal u get from a Binary code to ASCII(text).

ok to start off, binary is read from right to left so a code like this: 0011001 would be read starting with the 1 on the right.

now the way u convert a binary code to a decimal all boils down to how well your arithmetic is. each slot on a binary code is multiplied by a power of 2. the first slot from the right would represents a value 1, the second slot would represents a value 2, the third 4, the fourth 8, the the fifth 16, ect.

0' mean off and 1's mean on, so basically a 1 means to use that place and a 0 means not to, but the same rule applies whether it be a 0 or 1.

for example this code- 0000011 equals 3. this value also equals 3- 11. but this value- 0011000 equals 24 why this is is because the 0's still occupy the slot, but ur not applying that to the 1's. you are only adding up the values of the 1's

so for example the code- 01110011 would equal 115. got it? good.

try to work a few of these out for yourself. heres a few to get started on

1100
0011011
00110
1010
00001
11010
ill post how to convert decimals to binary and decimals to ASCII in the next tut. hope this helped sum of you all Wink
P.S. im not exactly the best on sharing my knowledge so CONSTRUCTIVE criticism is obliged.



Last edited by r34per on Fri Feb 04, 2011 9:52 pm; edited 1 time in total

2Basics of Binary tutorial 1 Empty Re: Basics of Binary tutorial 1 Fri Feb 04, 2011 9:37 pm

Sarge127

Sarge127
Colonel Grade 1
Colonel Grade 1

Are there anything else besides 0110111?
I made up my own language see?
022002022222000! xD

http://www.sniperspsp.tk

3Basics of Binary tutorial 1 Empty Re: Basics of Binary tutorial 1 Fri Feb 04, 2011 10:17 pm

Mexicouger

Mexicouger
Noble
Noble

Sarge127 wrote:Are there anything else besides 0110111?
I made up my own language see?
022002022222000! xD

Hahaha. +1! That made me laugh xD

But on a serious Note: I wanted to figure out the problems reaper gave for us.
1100 = (2 + 4 + 0 + 0) = 6
0011011 (0 + 0 + 8 + 16 + 0 + 64 + 128) = 216
00110 (0+0+8+16+0)= 24
1010 (2+0+8+0)= 10
00001(0+0+0+0+32)= 32
11010(2+4+0+16+0)= 22
Am I right Reap?

https://augustine.forumotion.com

4Basics of Binary tutorial 1 Empty Re: Basics of Binary tutorial 1 Fri Feb 04, 2011 10:29 pm

刈り取り機

刈り取り機
Mythic
Mythic

u got the values right but u read it wrong. remember binary is read from right to left. u did it left to right

5Basics of Binary tutorial 1 Empty Re: Basics of Binary tutorial 1 Fri Feb 04, 2011 10:32 pm

Mexicouger

Mexicouger
Noble
Noble

Ahh, so it's like this?

1100 = (4 + 2 + 0 + 0) = 6

https://augustine.forumotion.com

6Basics of Binary tutorial 1 Empty Re: Basics of Binary tutorial 1 Fri Feb 04, 2011 10:49 pm

刈り取り機

刈り取り機
Mythic
Mythic

that actually equals 12 bc the first 1 is 4 and the second 1 in the code is 8. u multiply each separate number by a power of 2 beginning with the rightmost one.

so that code would look like 1*8+ 1*4+ 0*2+0*1 or a bit more complex way (1*2^3)+(1*2^2)+(0*2^1)+(0*2^0)

7Basics of Binary tutorial 1 Empty Re: Basics of Binary tutorial 1 Thu Feb 10, 2011 6:48 pm

Sarge127

Sarge127
Colonel Grade 1
Colonel Grade 1

So in my language you can like do this.
Uh2? +3=100!= 02020220

crapo+2=40 = 02202022

All in all... I made it myself...

http://www.sniperspsp.tk

Sponsored content



Back to top  Message [Page 1 of 1]

Permissions in this forum:
You cannot reply to topics in this forum