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

Np Ms Office 365/Excel 2016 I Ntermed
1st Edition
ISBN:9781337508841
Author:Carey
Publisher:Carey
Chapter3: Performing Calculations With Formulas And Functions
Section: Chapter Questions
Problem 3.5CP
icon
Related questions
Question

Question 8:

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

a) 1011.1111001

b) 11001.101100000

Expert Solution
Step 1

a) 1011.1111001

 The binary number 1011.1111001 is  rounded to  nearest 1/8 is 1011.875 in the  decimal representation.

 

Explanation:

In the  binary representation, rounding to  nearest 1/8 is equivalent to the rounding of  first three decimal places. To round a  number,  first three bits after decimal point are to be  evaluated. If third bit is 0, then the number is rounded to down. If third bit is 1 and  second bit is also 1, then the number is rounded up. If third bit is 1 and second bit is 0, then the number is rounded to nearest even number.

Therefore In this case,  third bit after decimal point is 1 and  second bit is 1, hence the number is rounded up to 1011.875 in the  binary representation.

 

trending now

Trending now

This is a popular solution!

steps

Step by step

Solved in 2 steps

Blurred answer
Knowledge Booster
Binary numbers
Learn more about
Need a deep-dive on the concept behind this application? Look no further. Learn more about this topic, computer-science and related others by exploring similar questions and additional content below.
Similar questions
  • SEE MORE QUESTIONS
Recommended textbooks for you
Np Ms Office 365/Excel 2016 I Ntermed
Np Ms Office 365/Excel 2016 I Ntermed
Computer Science
ISBN:
9781337508841
Author:
Carey
Publisher:
Cengage
Systems Architecture
Systems Architecture
Computer Science
ISBN:
9781305080195
Author:
Stephen D. Burd
Publisher:
Cengage Learning
EBK JAVA PROGRAMMING
EBK JAVA PROGRAMMING
Computer Science
ISBN:
9781337671385
Author:
FARRELL
Publisher:
CENGAGE LEARNING - CONSIGNMENT