Home    General Stuff    General Chat
#1

Binary

Archive: 5 posts


01000010011010010110111001100001011100100111100100 10000001000100011001010110001101101111011001000110
10010110111001100111001000000011101000101001


Hey, I've been talking about some binary **** with some friends lately, and I thought it would be fun to teach my fellow forumers binary aswell

Why I am making this? I got 2 hours per week technical ****, every once or so we get binary lesson, which is fun.
schoolyear is almost over, and we got 14 lessons.

Anyway, I got my Dutch guide that my teacher sent me translated by a translator and I fixed a few things, because if I had to translate it myself I'd be busy a long time and it would be full of typo's.

Wanna learn? I'll make it quick and painless. Oh, wait this isn't surgery...

What is binary you ask?
Binary is how a computer actually talks to the user and to other parts of the computer. Though instead of actually seeing binary on your screen, the computer or other programs convert it to text, images, and other such items. Binary is an bit of information stored in 8 numbers consiting of 1s and 0s.

What can you do with binary?
You could write secret messages in binary to your friends or you could write steamy messages to your beloved one who is good with tech just like you.

How do you write in binary?
I'm going to make this into four sections. One section for numbers. One for capital letters. One for lowercase letters. The last one for punctuation.

Numbers
The first thing you need to know about numbers if that they begin with the digits 0011. Second, you can not make a number bigger than 9 using just a 1 bit binary sequence. You will need 2, 3, or even more for numbers bigger then. Finally, you need to know how to add to get certain numbers.

This is also the most common way of representing numbers. Take this 10bit number.

1101000100 = 836

This 10bit number represents 512 + 256 + 64 + 4 = 836

And 21 is actually 00010101 with only 8bits or 1byte.







I'll break it down 836 a little more. You only add the numbers in red.

1101000100

512 + 256 + 128 + 64 + 32 + 16 + 8 + 4 + 2 + 1



Now this is how it would be represented in 32bit. The full 32bit string would be 00000000000000000000001101000100. And with 64bit, just add in 32 more 0's to the front.







Then we can get into negative numbers. These kinds of numbers are usually represented by the first bit. By doing this, you half the maximum number you can use. 0 = positive, 1 = negative.



So in 32bit -836

10000000000000000000001101000100 = -836



And I don't even want to go into floating point numbers. Since there are several ways of representing it.





And you can have numbers greater then 9 using the system you are showing. Most of the time, they are represented as a hex number.

1001 = 9

1010 = 10 = A

1011 = 11 = B

1100 = 12 = C

1101 = 13 = D

1110 = 14 = E

1111 = 15 = F

Capital Letters

Now, with capital letters your going to only start off with three digits and those are 010. There are only 26 letters in the alphabet, so when you get to Z you can't expect to start getting lowercase.



010 Implied



00001 = A

00010 = B

00100 = D

01000 = H

10000 = P



As you can see, letters are almost exactly the same as the numbers. Your basically giving the letters a numeric value and instead of displaying a number your display a letter. So in this format you can go up to the number 26 which is 01011010 which would display at Z and NOT 26. This is not a way of display numbers higher than 9 in one bit.



In the title you see the word Binary and some binary code. The binary code is actually the word binary in upper and lower-case letters.



Lower-Case Letter

Lower-case letters are similar to upper-case letters in the sense that you can only go up to 26. The only difference is instead of using 010 your going to use 011.



011 is implied in these next squences.



00001 = a

00010 = b

00100 = d

01000 = h

10000 = p



This is just like upper-case letters in the sense that your can only go up to 26 and it only requires basic math skills to count up to 26.



Now, since I have gone over both upper-case and lower-case letter I will color code the binary for the word binary for yall to see.



010000100110100101101110011000010111001001111001 = Binary



PUNCTUATION

Now, you need to learn some punctuation so you can go make those steamy messages for your bf or gf to read tonight.



Punctuations are going to begin with 001.



00000 = This equals a space, like when you push the "Space Bar"

00001 = ! Exclamation point

00010 = " Quotation mark

00111 = ' Apostrophe

01100 = , Comma

01110 = . Period

11111 = ? Question mark



Have fun, seeing I'm quite interested in computers I thought I'd share this.
oh, and if you can talk binary post some here, but don't use online decoders please
2009-04-13 21:34:00

Author:
oldage
Posts: 2824


I took a computer programming course last semester, where we learned a bit about binary. Mainly how to convert binary to deci, deci to hexi, and all that. Meyep.2009-04-13 22:12:00

Author:
RockSauron
Posts: 10882


woah, a lot to look through, but it's cool =]2009-04-13 22:37:00

Author:
Unknown User


"speaking binary" - That looks an awful lot like ASCII to me

With the negative numbers, it looks as though you are using sign & magnitude there. If this stuff interests you (which it seems to), look up "two's complement" representation of negative numbers, it's less easy to understand but is far more commonly used.
2009-04-13 22:37:00

Author:
rtm223
Posts: 6497


...Wow...For someone who wants to be a video game designer/programmer, it looks like I have a lot to learn...(Time to bust open the rift archives...wait...what?)2009-04-26 23:59:00

Author:
SawronZXZ
Posts: 463


LBPCentral Archive Statistics
Posts: 1077139    Threads: 69970    Members: 9661    Archive-Date: 2019-01-19

Datenschutz
Aus dem Archiv wurden alle persönlichen Daten wie Name, Anschrift, Email etc. - aber auch sämtliche Inhalte wie z.B. persönliche Nachrichten - entfernt.
Die Nutzung dieser Webseite erfolgt ohne Speicherung personenbezogener Daten. Es werden keinerlei Cookies, Logs, 3rd-Party-Plugins etc. verwendet.