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
Which term is used to identify the connection of computers that are physically close to one another?
marta [7]

Answer: Local Area Network (LAN)

Explanation:

A Local Area Network (LAN) is a computer network that interconnects computers within a limited physical area such as a residence, school, laboratory, university campus or office building.

An example of  LAN network is "Phone, Computer and TV connected to a single network (such as a Home Network) via Cables, Wifi, Bluetooth or Hotspot". When the devices are interconnected or connected to a LAN, it becomes accessible between each other.

A simplest example of a LAN Device is a <em>Home Router.</em>

6 0
3 years ago
Read 2 more answers
The best technique to read​
Readme [11.4K]

Answer:

The best reading techniques are the SQ3R technique, skimming, scanning, active reading, detailed reading, and structure-proposition-evaluation.

Explanation:

6 0
3 years ago
An apple, potato, and onion all taste the same if you eat them with your nose plugged
lys-0071 [83]

Answer:Have a good dayyyyy

Explanation:    can i be brainliest pls pls

4 0
2 years ago
Read 2 more answers
Do the police check your mobile device during police checks?
JulsSmile [24]

They cannot legally check it without a warrant.


Depending on the circumstances of the arrest/check, and the method of seizure of the mobile device, you are subject to a certain set of rights, laws, or protections. First off, know that it is your right to decline the warrantless search of your mobile phone. If you are arrested or taken into police custody, you should verbally state that you do not consent to a search of your devices. A law enforcement agency is only permitted to conduct a warrantless search of your device if a compelling case for an emergency can be made.


If the authorities are using evidence obtained through an unlawful search of your mobile device against you in a criminal proceeding, you can move for that data to be suppressed under the Fourth Amendment right to freedom from incidental seizures.

4 0
3 years ago
A frame size of 2048 × 1536.
Anon25 [30]
The answer is: 3,145,728 bytes
3 0
3 years ago
Read 2 more answers
Other questions:
  • Write the interface (.h file) of a class ContestResult containing: An data member winner of type string, initialized to the empt
    14·1 answer
  • which of the following is true about both the cyber community and the real community like the one you live in,i will give 10 poi
    6·1 answer
  • Fedora operating system
    9·1 answer
  • Which of the following should get a Page Quality (PQ) rating of Low or Lowest?
    5·1 answer
  • Write a repetition statement that outputs the numbers 45 , 51 , . . . , 165 . That is, all of the multiples of 6 in increasing o
    7·1 answer
  • Which devices typically generate computer output ?
    8·2 answers
  • Intellectual ______ is the legal term for ownership of intangible assets such as ideas, art, music, movies, and software.
    13·2 answers
  • Nj hj hjkbh hj g7yubuyiycrtdryfrrcctcftt
    12·2 answers
  • Based on the screenshot below which letter do you select to sort the items in an alphabetical order?
    9·1 answer
  • Change the file name for index.html to index.php
    12·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!