Question

Given the following 41 and 34 provide the following: (Show all work) A. 8-bit binary representation...

Given the following 41 and 34 provide the following: (Show all work)

A. 8-bit binary representation of each number

B. Add both number

C. Provide the result in 8 bits

0 0
Add a comment Improve this question Transcribed image text
Answer #1
41 in binary:
---------------
Write down the decimal number and continually divide by 2 to give a result and a remainder. The remainder is either a 1 or a 0.
41 /  2  result 20 remainder  1
20 /  2  result 10 remainder  0
10 /  2  result 5  remainder  0
5  /  2  result 2  remainder  1
2  /  2  result 1  remainder  0
1  /  2  result 0  remainder  1
Read the remainders from bottom to top.
( 41 )10 = ( 101001 )2
( 41 )10 in 8-bit ( 00101001 )2


34 in binary:
---------------
Write down the decimal number and continually divide by 2 to give a result and a remainder. The remainder is either a 1 or a 0.
34 /  2  result 17 remainder  0
17 /  2  result 8  remainder  1
8  /  2  result 4  remainder  0
4  /  2  result 2  remainder  0
2  /  2  result 1  remainder  0
1  /  2  result 0  remainder  1
Read the remainders from bottom to top.
( 34 )10 = ( 100010 )2
( 34 )10 in 8-bit ( 00100010 )2


Addition:
==============
00101001
00100010
-----------
01001011
-----------
Result = 01001011 

Add a comment
Know the answer?
Add Answer to:
Given the following 41 and 34 provide the following: (Show all work) A. 8-bit binary representation...
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. Our experts will answer your question WITHIN MINUTES for Free.
Similar Homework Help Questions
  • (b) Convert -41 (written in decimal representation) into its signed integer 8-bit representation using the two's...

    (b) Convert -41 (written in decimal representation) into its signed integer 8-bit representation using the two's complement method. That is find the two's complement of -41, when the number of overall bits used are 8.

  • (3 pts) Consider an unsigned fixed point decimal (Base10) representation with 8 digits, 5 to the...

    (3 pts) Consider an unsigned fixed point decimal (Base10) representation with 8 digits, 5 to the left of the decimal point and 3 to the right. a.      What is the range of the expressible numbers?    b.      What is the precision?    c.       What is the error?    ______________________________________________________________________________   (3 pts) Convert this unsigned base 2 number, 1001 10112, to each base given below   (Note: the space in the binary string is purely for visual convenience) Show your work. Using...

  • Ouestion 8 Perform the following subtraction in binary system (using 8-bit signed number representation) and express...

    Ouestion 8 Perform the following subtraction in binary system (using 8-bit signed number representation) and express the result in decimal: (a) - 33 + 71 (b) - 105- 90 (c) -80 +59

  • 4. What decimal value does the 8-bit binary number 10011110 have if:

    4. What decimal value does the 8-bit binary number 10011110 have if: a) It is interpreted as an unsigned number? b) It is on a computer using signed-magnitude representation? c) It is on a computer using ones complement representation? d) It is on a computer using twos complement representation? 5. Given the following two binary numbers: 11111100 and 01110000. a) Which of these two numbers is the larger unsigned binary number? b) Which of these two is the larger when it is being...

  • Please show work! 2. Now, give it a try by converting the binary number 01110110 to...

    Please show work! 2. Now, give it a try by converting the binary number 01110110 to decimal by filling in the same table in step 1 r of 2 Pov 128 64 32 16 Cumulative Amount 4. Now, you give it a try by converting the decimal number 131 to binary by filling in the table Power of 2 128 32 16 Bit Amount Remaining 6. Use the binary to hexadecimal table to convert the binary number 01101111 to hexadecimal...

  • Perform the following 5-bit binary addition showing the carry bit that propagates to each column. Assume...

    Perform the following 5-bit binary addition showing the carry bit that propagates to each column. Assume that the numbers are unsigned binary quantities:  01110 + 01011 What does the three-character string “X+Y” look like internally using the 8-bit ASCII code given in table below? What does it look like in 16-bit Unicode? Using 10 bits to represent the mantissa (sign/magnitude) and 6 bits for the exponent (also sign/magnitude), show the internal representation of the following two values: +0.25 −32 1/16...

  • If we use the IEEE standard floating-point single-precision representation (1 sign bit, 8 bit exponent bits...

    If we use the IEEE standard floating-point single-precision representation (1 sign bit, 8 bit exponent bits using excess-127 representation, 23 significand bits with implied bit), then which of the following hexadecimal number is equal to the decimal value 3.875? C0780000 40007800 Oo 40780000 40A80010 The binary string 01001001110000 is a floating-point number expressed using a simplified 14-bit floating-point representation format (1 sign bit, 5 exponent bits using excess-15 representation, and 8 significand bits with no implied bit). What is its...

  • Convert the decimal numbers A and B to 5-bit binary numbers. Using two’s complement representation, show...

    Convert the decimal numbers A and B to 5-bit binary numbers. Using two’s complement representation, show (i) how to subtract the two 5-bit binary numbers (A−B); (ii) how to translate the binary result back to decimal

  • Q1) Convert the following negative decimal numbers to 8 bit binary using the 2’s complement (show...

    Q1) Convert the following negative decimal numbers to 8 bit binary using the 2’s complement (show the steps): a) -39 b) -127 Q2) Solve the following subtraction problems using 2's complement representation. (Show the steps using 8-bits) a) 19 – 87 b) 89 – 5 Q3) Convert the following numbers into scientific notation: (Note: to show ten raised to the power of n, you can type as 10^n) a) 654.345 b) 0.000000324235 c) 25600000000000 Q4) Convert the following numbers out...

  • 1. Assume we are using the simple model for floating-point representation as given in this book...

    1. Assume we are using the simple model for floating-point representation as given in this book (the representation uses a 14-bit format, 5 bits for the exponent with a bias of 15, a normalized mantissa of 8 bits, and a single sign bit for the number): a) Show how the computer would represent the numbers 100.0 and 0.25 using this floating-point format. b) Show how the computer would add the two floating-point numbers in part a by changing one of...

ADVERTISEMENT
Free Homework Help App
Download From Google Play
Scan Your Homework
to Get Instant Free Answers
Need Online Homework Help?
Ask a Question
Get Answers For Free
Most questions answered within 3 hours.
ADVERTISEMENT
ADVERTISEMENT