The "Freeola Customer Forum" forum, which includes Retro Game Reviews, has been archived and is now read-only. You cannot post here or create a new thread or review on this forum.
1010
3510
10710
I have had ago at the first two but i think they may be wrong, could you have a look and if they are wrong maybe help me out?
Thanks
[URL]http://img130.imageshack.us/my.php?image=decimaltobinary9mw.png[/URL]
> I need to convert the following Decimal values to Binary.
>
> 1010
> 3510
> 10710
>
> I have had ago at the first two but i think they may be wrong, could
> you have a look and if they are wrong maybe help me out?
>
> Thanks
>
> [URL]http://img130.imageshack.us/my.php?image=decimaltobinary9mw.png[/URL]
Doing this at college right now.
way we've been taught is to keep dividing by two until you are left with zero. Example:
10/2 = 5 r 0
5/2 = 2 r 1
2/2 = 1 r 0
1/2 = 0 r 1
You then read the remainders from the bottom to leave u with 1010 and thats your answer.
This applies to all decimal to binary conversion. Once you have the answer you can check it by using the table:
128 64 32 16 8 4 2 1
Then just fill in your answer and do the addition to check.
Hope that makes sense.
At college we use this site [URL]http://scholar.hw.ac.uk/site/computing/topic8.asp?outline=[/URL] Its got everything you need to know about binary to decimal conversions, hex to decimal ect.
> I need to convert the following Decimal values to Binary.
>
> 1010
> 3510
> 10710
Its pretty straight forward when you get used to it. The numbers you have at the moment are base 10 - decimal numbers (The standard way most of us are taught to count. 1 2 3 4 5 6 7 8 9 10.
Binary is base 2 so it can be either a 0 or 1.
To convert the numbers you convert them to base 2.
So for an 8 bit number you can have 8^2 possible numbers 2*2*2*2*2*2*2*2
= 256
So as long as the number is between 0 & 256 you can represent it using 8 bits.
So to convert 10 to 8 bits you write out the numbers similar to those you use in your example
128 64 32 16 8 4 2 1
then work out what numbers you need to use to make 10 = 8 & 2
which gives the 8 bit number 0 0 0 0 1 0 1 0
Use the same idea for the others
0 0 1 0 0 0 1 1
0 1 1 0 1 0 1 1
Gets harder when you start to use binary arithmetic and 2's complement etc. Hope it helps.
> You sure those are the real questions?
>
> 107^10 = 196715135728956532249
>
> That's going to take a while to convert to binary...
It was meant to be in subscript rather than super.
Go to the View menu, select Scientific, and you can switch between Decimal, Binary, Octal and Hex at will.
107^10 = 196715135728956532249
That's going to take a while to convert to binary...
> Edit: Scratch that. i just saw your earlier comment about showing your
> working. I'll edit this post again as soon as I find my notes on it.
Thanks, will be much appreciated.
1. Work out the answers to those sums in decimal.
2. I will use the answer to the first one as an example, and you can do the rest. Here's how you convert it to binary:
Take the number which is the answer to the sum and write it down: 10000000000
Now what you do is find the largest result of 2n which is still smaller than that number. eg. 22 = 4, 23 = 8. In this case it is 8589934592.
Write that number down next to every number which is a 2n in a line to the right of it.
Now you look at the number 8589934592 and think "Does it go into 10000000000?" The answer is yes, so you write a 1 underneath it. You then see if the next 2n goes into the remainder, and so on. If it doesn't, then you put a 0 above it instead of a 1. Repeat until you get the answer.
I found this pretty hard to explain, but I decided I couldn't be bothered to find my notes.
Hope you understood all that.
But i need to show my working out and actually explain how i did it!