1answer.
Ask question
Login Signup
Ask question
All categories
  • English
  • Mathematics
  • Social Studies
  • Business
  • History
  • Health
  • Geography
  • Biology
  • Physics
  • Chemistry
  • Computers and Technology
  • Arts
  • World Languages
  • Spanish
  • French
  • German
  • Advanced Placement (AP)
  • SAT
  • Medicine
  • Law
  • Engineering
Colt1911 [192]
3 years ago
10

Write down the bit pattern in the fraction of value 1/3 assuming a floating point format that uses Binary Coded Decimal (base 10

) numbers in the fraction instead of base 2. Assume there are 24 bits, and you do not need to normalize. Is this representation exact?
Computers and Technology
1 answer:
vekshin13 years ago
8 0

Answer:

The resulting floating bit representation is:

0 00101010101010101 000001                 (24 bits)

Explanation:

Converting 1/3 in decimal: 0.3333...

For converting decimal number into binary we know that the digits on the left of decimal are multiplied with positive powers of 2 (starting from zero) while digit on right side are multiplied with negative powers of  2 (starting from -1).

For example: The number 123.45 (decimal) is equal to:  

=1 * 10^2 + 2 * 10^1 + 3 * 10^0 + 4 * 10^-1 + 5 * 10^-2

=1 * 100 + 2 * 10 + 3 * 1 + 4 * 0.1 + 5 * 0.01

Now for the decimal number 0.3333... the pattern becomes:

0*0 . 3*2^-1+3^-2+3^-3+3^-4.....

The first negative power (2^-1 = 0.5) is too large to fit. The next one is 2^-2 = 0.25 and it fits, so let's subtract that: 0.3333… - 0.25 = 0.08333… The next power that fits is 2^-4 = 0.0625. Subtracting that from the remaining result we get 0.08333…- 0.0625 = 0.0208333…

Continuing on this line we get:

0.3333333…. (decimal) = 0.0101010101010101….. (binary)

Now for creating a 24 bit floating point format that uses Binary Coded Decimal we have to assign bits as follows:

  • 6 bits for the exponent
  • 17 bits for the mantissa.
  • In this case the sign bit is 0 (1 bit) because the number is non-negative.

As we need not to normalize obtained number, then the exponent will be simply 1, and the mantissa remains: 00101010101010101...

Now

The mantissa is 0.0101010101010101 (17 bits)

The exponent is 000001 (6 bits).

The resulting floating bit representation is 0 00101010101010101 000001

You might be interested in
A large amount of data is stored in secondary storage is it true<br>​
Mice21 [21]
Since it’s more cost efficient, it’s better to store more data in the secondary storage. Yes true!
6 0
3 years ago
Read 2 more answers
Web designers use programming languages to write websites. A True <br> B False​
KonstantinChe [14]

Answer: False

Explanation:

Web designers are not using programming languages to write websites.

6 0
2 years ago
Read 2 more answers
i see tabs named mowed and Ramsey i tried shredding them and deleting them and ending all the processes but they start duplicati
VikaD [51]

1.Select the data.

2.Go to Data –> Data Tools –> Remove Duplicates.

3.In the Remove Duplicates dialog box: If your data has headers, make sure the 'My data has headers' option is checked. Make sure the column is selected (in this case there is only one column).

4 0
3 years ago
WHAT 1 + 1 ???? ???????????????????
antiseptic1488 [7]
The answer to this is 11
5 0
2 years ago
Read 2 more answers
In what ways can information be slanted in a news report?
ratelena [41]

Answer:It all depends on who the reader is likely to be and the information they’ll want.

Explanation:

Newspaper 1: Company wins contract

Newspaper 2: Previous company loses contract (equally true)

Newspaper 3, say a student paper in the local town: Prospects for new jobs open up as company wins contract.

8 0
1 year ago
Other questions:
  • Write a program that responds to a positive integer passed on the command line with the number of bits needed to express that nu
    10·1 answer
  • How do ethics affect people?
    15·1 answer
  • Files with what two file extensions are commonly known as tarballs??
    8·1 answer
  • Which of the following attributes of a website indicates a more reliable source for information?
    8·1 answer
  • Plz help<br> What is an ASCII?
    10·2 answers
  • What are the origins of the parking barrier?
    12·1 answer
  • How does applying Fontworks effects to text on an advertising flyer change the text?
    14·2 answers
  • WILL GIVE BRAINLEIST PLZ HELP PLZ AND THANK YOU
    7·1 answer
  • You are writing a program using the Java language. Which of the following is a requirement of Java syntax?
    6·1 answer
  • Claire wants to use a conditional statement in JavaScript that provides a block of statement to be executed if the condition is
    7·2 answers
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!