Question

Exercise 1.25 Convert the following decimal numbers to unsigned binary numbers Exercise 1.31 Repeat Exercise 1.29, but conver

0 0
Add a comment Improve this question Transcribed image text
Answer #1

1.25

To convert a decimal to binary number, we follow these steps:

  1. Divide the number by 2.
  2. Get the integer quotient for the next iteration.
  3. Get the remainder for the binary digit.
  4. Repeat the steps until the quotient is equal to 0.

Here, we have 42=

2 42 0<---Remainder
2 21 1
2 10 0
2 5 1
2 2 0
2 1 1
0

a)Therefore, (42)10 = 101010

Similarly, the other conversions would yield:

b)(63)10 = 111111

c) (229)10 = 11100101

d) (845)10 = 1101001101

1.26

a)(14)10 = 1110

b)(52)10 = 110100

c) (339)10 = 101010011

d) (711)10 = 1011000111

1.27 To convert a decimal to hexadecimal, we follow:

  1. Divide the number by 16.
  2. Get the integer quotient for the next iteration.
  3. Get the remainder for the hex digit.
  4. Repeat the steps until the quotient is equal to 0.
16 42 10<---Remainder == A
16 2 2  
0

Hence (42)10 = (2A)16

Proceeding in a similar fashion, we have:

b)(63)10 = (3F)16

c) (229)10 = (E5)16

d)(845)10 = (34D)16

1.28

a) (14)10 = (E)16

b) (52)10 = (34)16

c) (339)10 = (153)16

d) (711)10 = (2C7)16

Add a comment
Answer #2
Venugopal nagaar
source: Sailendra
answered by: GEETHIKA
Add a comment
Answer #3
Venugopal nagaar
source: Sailendra
answered by: GEETHIKA
Add a comment
Answer #4
Venugopal nagaar
source: Sailendra
answered by: GEETHIKA
Add a comment
Know the answer?
Add Answer to:
Exercise 1.25 Convert the following decimal numbers to unsigned binary numbers Exercise 1.31 Repeat Exercise 1.29,...
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
  • 1. a) Perform the following binary subtractions of unsigned binary numbers. Convert your answer to decimal....

    1. a) Perform the following binary subtractions of unsigned binary numbers. Convert your answer to decimal. i) 101001012 - 01001001, ii) 110110102 - 100100112 b) Repeat the calculations above but for when the binary numbers are in two's complement form. Comment on the results of the two methods used, noting and discrepancies. 2. Find the sums of the following unsigned hexadecimal numbers. Indicate whether or not the sum overflows an equivalent 8-bit binary result. a) 1116 +2216 b) 1716 +3516...

  • Convert the following two's domplement binary numbers to decimal. 100101 -5 27 -27 Question 2 (4...

    Convert the following two's domplement binary numbers to decimal. 100101 -5 27 -27 Question 2 (4 points) Convert the following two's complement binary numbers to decimal. 100011 -29 36 -3 28 Question 3 (4 points) Convert the following decimal numbers to 6-bit two's complement binary numbers and add them. Indicate whether or not the sum overflows a 6-bit result. 011001+011011 110100; no overflow 100111 100101-001100; overflovw 100110 100100 001010; overflow 100111 + 100101 -001100; no overflow Question 4 (4 points)...

  • 1. Convert the binary number 10101102 to octal, decimal, and hexadecimal numbers. 2. Convert the decimal...

    1. Convert the binary number 10101102 to octal, decimal, and hexadecimal numbers. 2. Convert the decimal number 236.7510 to binary,octal, and hexadecimal numbers. 3. Add the following two binary numbers: 100111102 and 011110112. Remember to show any carries that are generated along the way. 4. Repeat the previous question, but this time subtract the second binary number from the first. Remember to show any borrows that are required along the way. 5. Determine the encoding of the decimal number 28610...

  • - ZOOM + To TITUITU.UUT 6 Convert each of the following octal numbers to binary, hexadecimal...

    - ZOOM + To TITUITU.UUT 6 Convert each of the following octal numbers to binary, hexadecimal and decimal using the most appropriate conversion method. (a) 371 7. Convert each of the following decimal numbers to binary, octal and decimal using the most appropriate conversion method. (a) 3D65E 8. Show how a 16-bit computer using a two's complement number system would perform the following computations. (a) (2925)10 -(16850).0 = (?). (b) (16850)10-(2925)10 = (?)10

  • 2. Convert the following two's complement binary numbers to decimal numbers. These numbers are integers.

    2. Convert the following two's complement binary numbers to decimal numbers. These numbers are integers. a. 110101 b. 01101010 c. 10110101 3. Convert the following decimal numbers to 6-bit two's complement binary numbers and add them. Write the results in 6-bit two's complement binary number format and decimal number format. Indicate whether or not the sum overflows a 6-bit result. a. 14 + 12 b. 30 + 2 C. -7 + 20 d. -18-17 4. What is the signed/magnitude and two's complement range of...

  • 1. What is the largest decimal number we can represent with a 16 bit two's complement...

    1. What is the largest decimal number we can represent with a 16 bit two's complement number? 2. Convert the following signed binary numbers to decimals. 11001         010011            1110100            1100111           3. Convert the following decimal numbers to 6-bit two's complement binary numbers and add them. Note if there is an overflow. 7 + 13 Two's complement/binary number for 7: Two's complement/binary number for 13: Sum: Overflow? 4. Convert the following decimal numbers to 6-bit two's complement binary numbers...

  • ord Paragrapth Styles 1 Perform the following conversions Convert 51 (decimal) to binary and to hex...

    ord Paragrapth Styles 1 Perform the following conversions Convert 51 (decimal) to binary and to hex a b. Convert 0xDI (hexadecimal) to binary and to decimal c. Convert Ob11001001 (binary) to hex and to decimal 2. Find the 2's complement of the following 4 bit numbers a 1101 b 0101 3. Perform the following 4 bit unsigned operations. For each, indicate the 4-bet result and the carry bit, and indicate if the answer is correct or not a. 5+8 b....

  • (10pts) Convert the following decimal numbers to binary, octal and hexadecimal numbers a. 27 b. 650...

    (10pts) Convert the following decimal numbers to binary, octal and hexadecimal numbers a. 27 b. 650 vert the following binary numbers to decimal, octal and numbers a. 1101 b. 10101.11 (10pts) Convert the following octal numbers to decimal, binary and hexadecimal numbers (10pts) Convert the following hexadecimal numbers to decimal, binary and octal numbers a. 4F b. 3D65E

  • a) Perform the following binary subtractions of unsigned binary numbers. Convert your answer to decimal. i)...

    a) Perform the following binary subtractions of unsigned binary numbers. Convert your answer to decimal. i) 101001012 - 010010012 ii) 110110102 - 100100112 b) Repeat the calculations above but for when the binary numbers are in two’s complement form. Comment on the results of the two methods used, noting and discrepancies.

  • (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...

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
ADVERTISEMENT