Question: Round the following binary numbers to nearest 1/8. Perform round down action in case of Half way: a) 1011.1111001 b) 11001.101100000 A A

Round the following binary numbers to nearest 1/8. Perform round down action in case of

Round the following binary numbers to nearest 1/8. Perform round down action in case of "Half way": a) 1011.1111001 b) 11001.101100000 A A

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock

The problem asks you to round the following binary numbers to the nearest 18 rounding down in case of a tie 10111111001 11001101100000 To solve this we can follow these steps Convert the binary numbers to decimal Identify the multiples of 18 that are closest to the decimal numbers Round the decimal numbers to the nearest multiple of 18 rounding down if necessary Convert the rounded decimal numbers back to binary Heres how to do it for each number a 10111111001 Convert to decimal 1 27 0 26 1 25 1 24 1 23 1 22 1 21 0 20 1 21 1 22 1 23 127875 Multiples of 18 closest to 127875 1278125 128 18 and 128 nearest multiple Round 127875 down to 1278125 Convert back to binary 100000000101001 b 11001101100000 Convert to decimal 1 25 1 24 0 23 0 22 1 21 1 20 0 21 1 22 1 23 0 24 0 25 2575 Multiples of 18 closest to 2575 25625 2575 18 and 256875 2575 18 Round 2575 down to 25625 Convert back to binary 110010101001 Therefore the rounded binary numbers are a 100000000101001 b 110010101001 Rounding Binary Numbers to the Nearest 18 with TieDown Rule Heres a more detailed explanation and breakdown of the process for rounding binary numbers to the nearest 18 with a tiedown rule rounding down in case of a tie 1 Understanding the Problem We are given binary numbers and need to round them to the nearest multiple of 18 We need to use a tiedown rulewhich means rounding down if the decimal representation of the binary number ... View full answer

blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Programming Questions!