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
Marty uses a customized database to sort parts and track inventory. The customized database is an example of _____.
Alexeev081 [22]

cataloging is a term for that

5 0
3 years ago
What if you have been asked to opt or design expert system or virtual reality using artificial intelligence for your daily/routi
algol13

Answer:

I would design the word asa better place

Explanation:

6 0
3 years ago
How many jobs can you get without a college degree
larisa86 [58]
The 10 highest-paying jobs you can get without a college degree all pay more than $79,000 those are Commercial pilots.
Detectives and criminal investigators. ...
Powerhouse, substation, and relay electrical and electronics repairers. ...
Elevator installers and repairers. ...
Power plant operators. ...
Media and communication equipment workers. ...
7 0
3 years ago
Read 2 more answers
Which statement does not describe the guidelines for the use of text in presentation programs?
olganol [36]
Choice a
have a great day

7 0
3 years ago
The science of networking is attributed to which government's involvement?
worty [1.4K]

Answer:

The United States

if I am not mistaken

6 0
3 years ago
Other questions:
  • If you purchase a software suite for personal use, you can install the software how many times on how many different machines?
    6·1 answer
  • HELP ASAP U GET BRAINLIEST
    15·2 answers
  • An automated search feature used by search engines to find results that match your search terms is called a spider or ?
    5·1 answer
  • When a workforce scheduling problems is formulated as an integer programming model, it has:?
    6·1 answer
  • The CUSTOMERS and SALES tables contain these columns:
    6·1 answer
  • Write a program that will find the smallest, largest, and average values in a collection of N numbers. Get the value of N before
    13·1 answer
  • Match the job description to the level of degree it requires.
    15·1 answer
  • Which job role requires you to create user guides for computer products and services?
    11·1 answer
  • Research and build a chroot jail that isolates ssh users who belong to the restrictssh group. (You will also need to create the
    9·1 answer
  • with the current computer development, explain 5th areas where computer is applied for the social economic dwvelopment in societ
    11·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!