Computer Hope

Other => Other => Topic started by: squall_01 on September 03, 2008, 01:56:28 PM

Title: Fun Time Binary Codeing
Post by: squall_01 on September 03, 2008, 01:56:28 PM
Okay so for the most part I've been advoiding this cause it dont make sense 000000000000000000000000001  something like that.  Any place that explains an decodes binary?  College stuff an sorts.
Title: Re: Fun Time Binary Codeing
Post by: ChrisXPPro on September 03, 2008, 02:03:52 PM
Lot of stuff on the web ....... plenty.

I have a page on one of my sites which might help you if you are starting off - just explanatory stuff and with a bias toward colors and binary/hex.

Take a peek  (http://www.alumbankweb.com/img_matters/basefile/bin_hex.htm) if it might help.
Title: Re: Fun Time Binary Codeing
Post by: squall_01 on September 03, 2008, 02:11:56 PM
It gives me a basic knowdlge I knew some of that.
Title: Re: Fun Time Binary Codeing
Post by: Dias de verano on September 03, 2008, 02:19:21 PM
Why doesn't it make sense?

Quote
000000000000000000000000001

is a number in binary. What don't you understand? You understand 125 or 62 or 3419 don't you, and they are numbers.
Title: Re: Fun Time Binary Codeing
Post by: squall_01 on September 03, 2008, 02:30:52 PM
there simplifed numbers not base 2 or 6 8, 10003
Title: Re: Fun Time Binary Codeing
Post by: ChrisXPPro on September 03, 2008, 02:36:09 PM
Quote
It gives me a basic knowdlge I knew some of that.

Fair enough but you were not specific.!  Original question is a bit vague.

"Simplified numbers"! - well those are base 10 that's all - same as binary might be base 2, 8, 16 etc.

I think if decoding is what you are after, a web search will work - or use a hand held calculator with that function.
Title: Re: Fun Time Binary Codeing
Post by: squall_01 on September 03, 2008, 02:42:49 PM
i dont know could be wrong on my part
Title: Re: Fun Time Binary Codeing
Post by: Dias de verano on September 03, 2008, 02:45:12 PM
I always have great trouble understanding squall's questions.
Title: Re: Fun Time Binary Codeing
Post by: BC_Programmer on September 03, 2008, 02:50:36 PM
Binary:

1 = 1
10 = 2
11 = 3

...
go from right to left adding 2 to the power of the position to a running total. This wil give you the decimal equivalent.

Unless your actually talking about Machine code, which is somewhat dumb to learn ever. ASM would be beneficial, especially on account of not actually being able to see the binary representation of any executables.




I always have great trouble understanding squall's questions.


It's a very non-exclusive club. The main confuser for me was "decodes binary" you don't decode binary, so that kind of made the whole question ambiguous. I'm sure we'll discover the actual intended question around page 7.
Title: Re: Fun Time Binary Codeing
Post by: ChrisXPPro on September 03, 2008, 04:28:47 PM
I take "decodes binary"  as conversion from binary/hex to decimal. :)
Title: Re: Fun Time Binary Codeing
Post by: BC_Programmer on September 03, 2008, 04:30:17 PM
aside from the fact that it isn't Decoding but rather a simple base conversion.
Title: Re: Fun Time Binary Codeing
Post by: Carbon Dudeoxide on September 04, 2008, 03:58:45 AM
http://www.glassgiant.com/geek/count_to_31_on_one_hand/
Title: Re: Fun Time Binary Codeing
Post by: squall_01 on September 04, 2008, 05:39:38 AM
1 = 1
10 = 2
11 = 3

go from right to left adding 2 to the power of the position to a running total. This wil give you the decimal equivalent.




Thats what I'm looking for, however someone with more math understanding then I can say its easy.  should 11=4 since its based 2 ?  It just seems logical to me.  I understand a little better at any chance so 101 is six?
Title: Re: Fun Time Binary Codeing
Post by: Carbon Dudeoxide on September 04, 2008, 05:45:03 AM
00001   00010   00100   01000   10000
1       2       4       8       16

Sort of like this. I can explain it well on paper.

Look at the link I gave you and click on the numbers 1, 2, 4, 7, 16. What do you notice about the hand?
Title: Re: Fun Time Binary Codeing
Post by: squall_01 on September 04, 2008, 06:09:21 AM
four represented is bad an that the numbers clicked move with the hand sigh? 
Title: Re: Fun Time Binary Codeing
Post by: Carbon Dudeoxide on September 04, 2008, 06:10:10 AM
four represented is bad an that the numbers clicked move with the hand sigh? 

What? ???
Title: Re: Fun Time Binary Codeing
Post by: squall_01 on September 04, 2008, 06:29:44 AM
...........

Title: Re: Fun Time Binary Codeing
Post by: Carbon Dudeoxide on September 04, 2008, 06:30:37 AM
(http://www.fileupyours.com/files/185178/msn.PNG)
Title: Re: Fun Time Binary Codeing
Post by: squall_01 on September 04, 2008, 06:32:35 AM
 ???

I dont get what your tring to show me but thats what I understand out of it.
Title: Re: Fun Time Binary Codeing
Post by: Carbon Dudeoxide on September 04, 2008, 06:36:23 AM
Lol, I'm confusing myself.  :-[

I'm sure Google and Wikipedia have a lot to say.


Quote
  should 11=4 since its based 2 ?  It just seems logical to me.  I understand a little better at any chance so 101 is six?
101 = 6 (look at my link for number 5)

(http://www.fileupyours.com/files/191176/fingebinar.JPG)
Title: Re: Fun Time Binary Codeing
Post by: BC_Programmer on September 04, 2008, 08:58:50 AM
1 = 1
10 = 2
11 = 3

go from right to left adding 2 to the power of the position to a running total. This wil give you the decimal equivalent.




Thats what I'm looking for, however someone with more math understanding then I can say its easy.  should 11=4 since its based 2 ?  It just seems logical to me.  I understand a little better at any chance so 101 is six?

the ones place is power 0, that is, 1 binary is still 1 decimal.

Now we're getting Somewhere- 11 in binary is 3 decimal, because we have 2 to the power of 1 + 2 to the power of 0. with is 2 and 1 (any number to the power of 0 is 1) respectively.


personally I've just done the power method myself- important thing I should have mentioned was starting at 0 for the exponent.

so 101 binary is

2^0+2^2, or, 1+4, or 5.


I hope this makes sense....
Title: Re: Fun Time Binary Codeing
Post by: Dias de verano on September 04, 2008, 09:59:49 AM


in both base 10, and base 2 (binary) the place of the digit matters, and it works like this

base 10

1000's     100's  10's  1's
   5        3      2    4

That number is 5 x 1000, 3 x 100, 2 x 10, and 4 x 1.

Binary is the same idea only you go up in powers of 2 not 10

128's   64's  32's  16's   8's 4's 2's 1's
  1      0     1     1     0   1   1   1

That number equals 1 x 128 plus 1 x 32 plus 1 x 16 plus 1 x 4 plus 1 x 2 plus 1 x 1.

Squall, can you work it out?





Title: Re: Fun Time Binary Codeing
Post by: squall_01 on September 05, 2008, 05:17:38 AM
1 = 1
10 = 2
11 = 3

go from right to left adding 2 to the power of the position to a running total. This wil give you the decimal equivalent.




Thats what I'm looking for, however someone with more math understanding then I can say its easy.  should 11=4 since its based 2 ?  It just seems logical to me.  I understand a little better at any chance so 101 is six?

the ones place is power 0, that is, 1 binary is still 1 decimal.

Now we're getting Somewhere- 11 in binary is 3 decimal, because we have 2 to the power of 1 + 2 to the power of 0. with is 2 and 1 (any number to the power of 0 is 1) respectively.


personally I've just done the power method myself- important thing I should have mentioned was starting at 0 for the exponent.

so 101 binary is

2^0+2^2, or, 1+4, or 5.


I hope this makes sense....

I hate to tell you but 2+2+2+0 isnt 5
Title: Re: Fun Time Binary Codeing
Post by: Dias de verano on September 05, 2008, 10:26:03 AM
I hate to tell you but 2+2+2+0 isnt 5

More squall crazy nonsense  ::) Read it again.
Title: Re: Fun Time Binary Codeing
Post by: squall_01 on September 05, 2008, 10:29:07 AM
how can that be??????  Five is zero unless its valued at one.  Its ether on or off so which is it?  Cause this up arrow means that there being added to me.
Title: Re: Fun Time Binary Codeing
Post by: ChrisXPPro on September 05, 2008, 10:33:38 AM
All I can suggest - in hopes things clarify - is once again go check my page  (http://www.alumbankweb.com/img_matters/basefile/bin_hex.htm) on bin and hex!

Seems an interpretation problem here! :)
Title: Re: Fun Time Binary Codeing
Post by: squall_01 on September 05, 2008, 10:42:15 AM
I have it or did save it again an will read latter.
Title: Re: Fun Time Binary Codeing
Post by: Dias de verano on September 05, 2008, 10:44:12 AM
Cause this up arrow means that there being added to me.

It doesn't mean that.
Title: Re: Fun Time Binary Codeing
Post by: squall_01 on September 05, 2008, 10:46:29 AM
so multiply?  that explains why my answer is wrong.
Title: Re: Fun Time Binary Codeing
Post by: Dias de verano on September 05, 2008, 10:48:12 AM
2^2 means "two raised to the power of two".
Title: Re: Fun Time Binary Codeing
Post by: kpac on September 05, 2008, 10:53:29 AM
2^2 means "two raised to the power of two".


...Which means 2 x 2 = 4.

3^3 = 27, because 3 x 3 = 9, 9 x 3 = 27.
Title: Re: Fun Time Binary Codeing
Post by: squall_01 on September 05, 2008, 10:54:37 AM
but there are three two's? 
Title: Re: Fun Time Binary Codeing
Post by: kpac on September 05, 2008, 10:59:25 AM
http://www.google.ie/search?hl=en&q=2%5E0&btnG=Search&meta=
http://www.google.ie/search?hl=en&q=2%5E2&btnG=Search&meta=

......

http://www.google.ie/search?hl=en&q=2%5E0%2B2%5E2&btnG=Search&meta=
Title: Re: Fun Time Binary Codeing
Post by: Dias de verano on September 05, 2008, 11:29:49 AM
but there are three two's? 

There are three figure twos that you can see, yes.

Quote
2^0+2^2

Remember I already explained that the up arrow ^ means "to the power of". If you don't know what that means, you have some studying to do before you can deal with binary arithmetic.

If you read it out loud, it says "two to the power of zero plus two to the power of two".

Two to the power of zero equals one.

Two to the power of two equals four.

Four plus one equals five.

I think I can tell you are having a hard time understanding all this. I suggest you do the following:

1. Get a good math or computer science book that deals with binary arithmetic.
2. talk to your teacher.

Forums like this are not the best way to tackle this sort of learning project.


Title: Re: Fun Time Binary Codeing
Post by: BC_Programmer on September 06, 2008, 06:38:31 PM
Five is zero unless its valued at one. 

That doesn't make sense in any context.


5=1 ? 5 : 0

Nope, conditional doesn't believe you.


but there are three two's? 

Indeed- but we must also focus on the operators(or lack thereof) between those 2's. Just as 222 isn't 6, 2^2+2^0 isn't 6 either.

Defaulting to addition with operators your unfamiliar with is sure to give incorrect results.
Title: Re: Fun Time Binary Codeing
Post by: ChrisXPPro on September 06, 2008, 07:06:09 PM
Just occurred to me that one aspect that might cause confusion for some is - base two to power zero - the 2^0 aspect, is being seen as actual 2 decimal, when in fact in binary, representation of the value is of course 1, just in that first position.

Higher positions of course have to be either 0 or a true power of 2 - according to the hierarchy of position ..... powers of base 2 from 1 thru 7.

Thus - 2^1 or zero for position 2,  2^2 or zero for position 3, 2^3 or zero for position 4 .. and so on.

It's always works remembering binary is analagous to switching or truth - only two possible states at each level - "on"/"off" or "True"/"False"

Probably doesn't help much!
Title: Re: Fun Time Binary Codeing
Post by: squall_01 on September 07, 2008, 05:29:26 AM
It helped explain that problem.  I understand it better. 
Title: Re: Fun Time Binary Codeing
Post by: Dias de verano on September 07, 2008, 05:54:26 AM
Just occurred to me that one aspect that might cause confusion for some is - base two to power zero - the 2^0 aspect, is being seen as actual 2 decimal, when in fact in binary, representation of the value is of course 1, just in that first position.

In fact, any number to the power zero equals 1.

There is a simple (ish) explanation of why this is so here (http://mathforum.org/library/drmath/view/55892.html)

Extract:

if you divide a number to a power by the same number to a different power, the answer is the
same number raised to the difference of the first two powers.

For example,

     3
    2      (3-2)      1
   ---- = 2      = 2
     2
    2

What happens when the powers in the numerator and denominator are the
same?

     3
    2      (3-3)      0
   ---- = 2      = 2
     3
    2

But you know that 8/8 = 1. So 2^0 must equal 1.


Title: Re: Fun Time Binary Codeing
Post by: squall_01 on September 07, 2008, 06:17:41 AM
I understood his, but yours has  more details.
Title: Re: Fun Time Binary Codeing
Post by: ChrisXPPro on September 07, 2008, 09:26:56 AM
Useful stuff Dias ...  :)
Title: Re: Fun Time Binary Codeing
Post by: squall_01 on October 10, 2008, 10:29:27 AM
heres the thing he said that we dont need to understand this.
Title: Re: Fun Time Binary Codeing
Post by: Dias de verano on October 10, 2008, 10:37:56 AM
heres the thing he said that we dont need to understand this.

Who said that?  ::) understand what? Why revive this 6 week old thread?

Title: Re: Fun Time Binary Codeing
Post by: squall_01 on October 10, 2008, 10:46:02 AM
my pc arc teacher.  Binary, cause he told us that we didnt have too...
Title: Re: Fun Time Binary Codeing
Post by: Dias de verano on October 10, 2008, 10:53:46 AM
my pc arc teacher.  Binary, cause he told us that we didnt have too...

Excuse me. I am confused. Who said you "have" to understand binary arithmetic? Anyway it's not hard. You either have a one, or you don't. If you do, that's called a one. If you don't, that's called a zero. That's all there is to it. Now go haul out the trash, or you don't get no spending cash!
Title: Re: Fun Time Binary Codeing
Post by: squall_01 on October 10, 2008, 10:55:06 AM
i understand it better, but thought he had wanted us too
Title: Re: Fun Time Binary Codeing
Post by: squall_01 on November 07, 2008, 09:26:32 AM
he's saing that we had too but i got a complete understanding an able to do it know.
Title: Re: Fun Time Binary Codeing
Post by: kpac on November 07, 2008, 09:43:42 AM
What just happened this thread? ::)
Title: Re: Fun Time Binary Codeing
Post by: squall_01 on November 07, 2008, 09:48:05 AM
he says one thing an then another the important thing is I got it.
Title: Re: Fun Time Binary Codeing
Post by: patio on November 07, 2008, 09:58:27 AM
Free Entertainment...

No cover.
Title: Re: Fun Time Binary Codeing
Post by: BC_Programmer on November 07, 2008, 09:58:45 AM
What just happened this thread? ::)

It died, and Squall decided to revive it because everybody was starting to turn purple from holding their breath.
Title: Re: Fun Time Binary Codeing
Post by: squall_01 on November 07, 2008, 10:15:48 AM
Just letting you know what has happened.  Is that so bad?
Title: Re: Fun Time Binary Codeing
Post by: Dias de verano on November 07, 2008, 01:38:45 PM
How old are you, Squall?
Title: Re: Fun Time Binary Codeing
Post by: Carbon Dudeoxide on November 07, 2008, 07:44:50 PM
Just letting you know what has happened.  Is that so bad?
Ummm....I don't know about anyone else, but I still don't know what happened. ???
Title: Re: Fun Time Binary Codeing
Post by: Dusty on November 07, 2008, 08:03:15 PM

Ummm....I don't know about anyone else, but I still don't know what happened. ???


It's very easy to understand - Squall and Nymph have been swapping ideas ;D :D
Title: Re: Fun Time Binary Codeing
Post by: BC_Programmer on November 07, 2008, 08:19:54 PM

Ummm....I don't know about anyone else, but I still don't know what happened. ???


It's very easy to understand - Squall and Nymph have been swapping ideas ;D :D

OMG... I thought I was the only one who noticed a resemblance...
Title: Re: Fun Time Binary Codeing
Post by: squall_01 on November 10, 2008, 05:15:18 AM
20 If you recall theres a post about it.  No I dont even now whom that is.
Title: Re: Fun Time Binary Codeing
Post by: apple266 on November 13, 2008, 08:17:26 AM
windows calculator scientific mode :)