Question

Translate the following numbers from base 2 to base 10.                                  

  1. Translate the following numbers from base 2 to base 10.                                   (28)

a. 1100

b. 10101

c. 111101

d. 1000001

Homework Answers

Answer #1
a. 1100
0     *  2^0    =  0  *  1  =  0
0     *  2^1    =  0  *  2  =  0
1     *  2^2    =  1  *  4  =  4
1     *  2^3    =  1  *  8  =  8
Sum = 0 + 0 + 4 + 8 = 12
( 1100 )2 = ( 12 )10


b. 10101
1     *  2^0    =  1  *  1  =  1
0     *  2^1    =  0  *  2  =  0
1     *  2^2    =  1  *  4  =  4
0     *  2^3    =  0  *  8  =  0
1     *  2^4    =  1  *  16 =  16
Sum = 1 + 0 + 4 + 0 + 16 = 21
( 10101 )2 = ( 21 )10


c. 111101
1     *  2^0    =  1  *  1  =  1
0     *  2^1    =  0  *  2  =  0
1     *  2^2    =  1  *  4  =  4
1     *  2^3    =  1  *  8  =  8
1     *  2^4    =  1  *  16 =  16
1     *  2^5    =  1  *  32 =  32
Sum = 1 + 0 + 4 + 8 + 16 + 32 = 61
( 111101 )2 = ( 61 )10


d. 1000001
1     *  2^0    =  1  *  1  =  1
0     *  2^1    =  0  *  2  =  0
0     *  2^2    =  0  *  4  =  0
0     *  2^3    =  0  *  8  =  0
0     *  2^4    =  0  *  16 =  0
0     *  2^5    =  0  *  32 =  0
1     *  2^6    =  1  *  64 =  64
Sum = 1 + 0 + 0 + 0 + 0 + 0 + 64 = 65
( 1000001 )2 = ( 65 )10
Know the answer?
Your Answer:

Post as a guest

Your Name:

What's your source?

Earn Coins

Coins can be redeemed for fabulous gifts.

Not the answer you're looking for?
Ask your own homework help question
Similar Questions
Translate the base 10 value -45 into 8-bit two's complement representation.
Translate the base 10 value -45 into 8-bit two's complement representation.
1)Write down each of the following numbers (expressed in base 10 decimal form) as a quotient...
1)Write down each of the following numbers (expressed in base 10 decimal form) as a quotient of two integers. (a) 0.314159314159314159::::: (b) 0.012345678901234567890123456789::: 2) Write down each the following numbers (expressed in base two decimal form) as a quotient of two integers. (a) 0:01010101010101:::: (b) 0:101101101101101101:::
3. Convert each of the following numbers into the base specified. (a) 6510 into base-5 (b)...
3. Convert each of the following numbers into the base specified. (a) 6510 into base-5 (b) 9110 into base-3 (c) 22510 into base-7 (d) 15510 into base-3
Write a Java program named BinaryConversion that will convert base 2 numbers to base 10 numbers....
Write a Java program named BinaryConversion that will convert base 2 numbers to base 10 numbers. The data for this program will be entered from the keyboard using JOptionPane one 16-bit binary number at a time. Note that each base 2 number is actually read in as a String. The program should continue until a 16-bit base 2 number consisting of all 0’s is entered. Once the 16-bit number has been entered your program should make sure that the input...
5. Convert each of the following binary numbers into base 10. Show your work. (a) 0011...
5. Convert each of the following binary numbers into base 10. Show your work. (a) 0011 0001 (b) 0011 1011 (c) 0101 0110 (d) 1101 1101 (e) 0001 1000 (f) 0010 1110
Calculate A+B, A-B, for the following pairs of binary numbers.  Also, you must use 2’s complement arithmetic...
Calculate A+B, A-B, for the following pairs of binary numbers.  Also, you must use 2’s complement arithmetic to perform the subtraction operation. (a) 10101, 1011 (c) 101, 1011
2. (7 pts) Translate the following block of C code to MIPS assembly: if (i >...
2. (7 pts) Translate the following block of C code to MIPS assembly: if (i > 10) MemArray[i] = 0; else MemArray[i] = - MemArray[i]; Assume that the variable i is bound to register $t0, and that the base address of array MemArray is in register $s0.
Express the following numbers in polynomial form and then calculate the correspondent expression: a. 1897 in...
Express the following numbers in polynomial form and then calculate the correspondent expression: a. 1897 in base 10 = b. 35 in base 12 = c. 23 in base 4 = d. 21202 in base 3 = e. 1101.0111 in base 2 =
Multiply the following base 10 numbers together via the MATLAB DFT (fft) . Explain your method...
Multiply the following base 10 numbers together via the MATLAB DFT (fft) . Explain your method and show the code. 823415 multiplied by 234671
Translate the following C code to MIPS assembly code. Use a minimum number of instructions. Register...
Translate the following C code to MIPS assembly code. Use a minimum number of instructions. Register allocations - i $s0 - j $s1 - base of A[] $s2 - base of B[] $s3 1) if (i == j){i++;} else {j--;} j += i; 2) A[3] = B[i] + B[j]; 3) i = 0; while (j != A[i]) { i++; }
ADVERTISEMENT
Need Online Homework Help?

Get Answers For Free
Most questions answered within 1 hours.

Ask a Question
ADVERTISEMENT