Computer Science Canada

a noobs programming question

Author:  Anime Freak [ Mon Sep 20, 2004 10:21 pm ]
Post subject:  a noobs programming question

hi i want to know if there is a site that gives a tutorial the code that constists of only 1's and 0's. if any one can help that would be great.

Author:  JHanson90 [ Mon Sep 20, 2004 11:17 pm ]
Post subject: 

I think you mean binary...

You can just do a google search for something like that; go to Google.com and enter 'binary tutorial'

I don't think learning binary can really help you become a great programmer... try a good high level language like Java, C++, Ruby, something like that.

Author:  Genesis [ Mon Sep 20, 2004 11:26 pm ]
Post subject: 

Like JHanson90 said, learning binary has no advantages. There's no reason to. And it'll drive you crazy staring at ones and zeroes for hours on end trying to find where you went wrong.

Nobody programs in binary. Assembly language is about as low as it goes.

Author:  wtd [ Mon Sep 20, 2004 11:46 pm ]
Post subject: 

If anything, you'd be looking at hex codes, not binary.

Author:  Mazer [ Tue Sep 21, 2004 6:46 am ]
Post subject: 

The only use for learning binary, in my opinion, is for classes with stupid teachers/professors who think it's important. You'll learn to hate them.

Author:  Dan [ Tue Sep 21, 2004 10:13 am ]
Post subject: 

It dose have some use in computer engering and are progaming a chip of some kind. Makes it easyer to pass ons and offs to things.

Author:  1337H4X [ Tue Sep 21, 2004 11:07 am ]
Post subject: 

10010111100011010110100101011010111010110101110101010101
000001011011101011010111101010101110110110110110100010101

th4ts.t3h.1337.w4y.t0.pr0gr4m.Hello.World..soz.f0.my.1337.sp33k.but.m3 c4n.0nly.sp34ak.
t3h.h4x.c4ause.my.c0mp.15.fuk3d.
s0z m3 sp4c3b4r 15 fuk3d

[mod:e8dcf0ff41]Then how about pressing enter?
-Mazer[/mod:e8dcf0ff41]

Author:  Dan [ Tue Sep 21, 2004 12:27 pm ]
Post subject: 

The only thing lamer then a spamer may be a l33t speaker.....

Author:  Martin [ Tue Sep 21, 2004 1:06 pm ]
Post subject: 

Here is everything that you need to know about binary:

Our number system is in base 10. This means that there are 10 characters (0 - 9) per column of our numbers. Binary is base 2, which means that there are two numbers per column (0 or 1).

Here is how any number system works:

base^n + base^(n-1) + ... + base^2 + base^1 + base^0 + 1/base^1 + 1/base^2 + ... + 1/base^n

where each term in the sequence is multiplied by one of the valid characters in the set. This means that, in our system, it can be 0, 1, 2, 3, 4, 5, 6, 7, 8 or 9.

In binary, it can only be 0 or 1.

For example, to write 27 in binary, it is:
11011. The best way to do this quickly is to find the biggest power of 2 that divides into your number (in this case 2^4, or 16) and keep working down from there until your sum is 27.

7 and one quarter is written as 111.01

That's about all that there is to it. Hex is just a way to compress binary digits by taking groups of 4 of them, and putting them into base 16.

Author:  Amailer [ Tue Sep 21, 2004 2:15 pm ]
Post subject: 

http://nickciske.com/tools/binary.php
for translation, a tuto on how to create it iunno don't know any Rolling Eyes

Author:  templest [ Tue Sep 21, 2004 3:41 pm ]
Post subject: 

There are 10 kinds of people in the world: Those that understand binary, and those who don't. Smile

Author:  Maverick [ Tue Sep 21, 2004 4:21 pm ]
Post subject: 

Claping havent heard that b4 Mad

Author:  apomb [ Tue Sep 21, 2004 6:09 pm ]
Post subject: 

I dont know why it made two posts, i just clicked the "edit" button ...

Author:  apomb [ Tue Sep 21, 2004 6:16 pm ]
Post subject: 

thats in someones sig i think, pretty good saying! Laughing

Adding and subtracting binary is pretty eassy too, except subtracting with ones compliment, that gets stupid.
1 + 0 = 0
1 + 1 = 10 ... or 0, carry the 1
1+1+1 = 11 ... or 1, carry the 1
and so on ...

1-1=0
1-0 =1
0 - 1 = (ones compliment, not going to explain)

usually, with bigger numbers, just convert them to decimal via Martin's explination, then subtract or add , and finally, convert back to binary.

Author:  Andy [ Tue Sep 21, 2004 7:17 pm ]
Post subject: 

why bother? adding in binary is so much fun...

moved to general programming

Author:  Martin [ Tue Sep 21, 2004 7:44 pm ]
Post subject: 

Subtracting in binary is the same as subtracting in any base.

That quote was in my sig for a while...I (obviously) didn't make it up though.


: