+ 2
How to convert decimal to binary?
Decimal to Binary
4 Answers
+ 9
Multiplies the number by 1/2 until it becomes zero and all the remains that you find compose the binary number.
15=1111
15/2=7, r=1; 7/2=3, r=1; 3/2=1, r=1; 1/2=0, r=1;
https://code.sololearn.com/caNNTge6P8dB/?ref=app
edit: remember to use the searching barđ
+ 2
this table will help you
d. binary
0 0000
1 0001
2 0010
3 0011
4 0100
5 0101
6 0110
7 0111
8 1000
9 1001
10 1010
11 1011
12 1100
13 1101
14 1110
15 1111
See the order in binary for creating table:
Inn 1st column there are 8 zeroes and then 8 ones. In 2nd column there are 4 zeroes and then 4 ones then 4 zeroes then 4 ones. In 3rd column there are 2 zeroes then 2 ones and so on. In last column there is a zero then a one and so on.
This will help you make the table and then you can use it as required.
0
This table may help. I don't know if the first trick works.
Convert decimal to binary
Original number: 114
Divide by 2 each time
114 Remainder
57 0
28 1
14 0
7 0
3 1
1 1
0 1
Binary number: 1110010
Convert binary to decimal
0 0000
1 0001
2 0010
3 0011
4 0100
5 0101
6 0110
7 0111
8 1000
9 1001
0
This table may help. I don't know if the first trick works.
Convert decimal to binary
Original number: 114
Divide by 2 each time
114 Remainder
57 0
28 1
14 0
7 0
3 1
1 1
0 1
Binary number: 1110010
Convert binary to decimal
0 0000
1 0001
2 0010
3 0011
4 0100
5 0101
6 0110
7 0111
8 1000
9 1001