Question

In: Physics

Describe the difference between single, double precision and residue checksum. Give an example (numerical) Please do...

Describe the difference between single, double precision and residue checksum. Give an example (numerical)

Please do not copy from internet and need it typed not hand written

Solutions

Expert Solution

Single precision checksum is formed by adding the data words and ignoring the overflow.

0111+0001+0110+1000=0110(checksum) (carry is ignored)

The single precision checksum is unable to detect some errors. The received checksum and the checksum of original data are same and so no error is detected.

Original data

0111+0001+0110+1000=1110(checksum)

Received data

1111+1001+1110+1000=1110(checksum of received data).

A double precision checksum is done by adding the data by double precision arithmetic. Here the received checksum and checksum of received data are not equal and hence error is detected.

Original data

0111+0001+0110+0000=0000 | 1110 (checksum)

Received data

1111+1001+1110+1000= 0010 | 1110 (checksum of received data)

Residue checksum

Residue checksums are similar to the single precision checksums except that the most significant bit position is not ignored but is added back to the checksum in an end around carry fashion.

Carry from

addition----

|

Word1+ word2+...+word n= sum of data = checksum

The residue checksum is formed by end around carry addition so that the information in the carry bit is not lost.

00010111

0001

0110

1000


Related Solutions

Describe the difference between "exact solution" and "numerical solution". Furthermore, please describe why we study "numerical...
Describe the difference between "exact solution" and "numerical solution". Furthermore, please describe why we study "numerical solution".
Represent the value -65.75 in single and double precision. Please show all work.
Represent the value -65.75 in single and double precision. Please show all work.
Define crowding out. Give a hypothetical numerical example to show the difference between complete crowding out...
Define crowding out. Give a hypothetical numerical example to show the difference between complete crowding out and incomplete crowding out. Explain how complete and incomplete crowding out could impact the effectiveness of fiscal policy.
Define crowding out. Give a hypothetical numerical example to show the difference between complete crowding out...
Define crowding out. Give a hypothetical numerical example to show the difference between complete crowding out and incomplete crowding out. Explain how complete and incomplete crowding out could impact the effectiveness of fiscal policy.
a) Explain and give a numerical example of time dilation. b) Explain and give a numerical...
a) Explain and give a numerical example of time dilation. b) Explain and give a numerical example of length contraction.
Describe the difference between a repressible operon and an inducible operon. Give an example of either...
Describe the difference between a repressible operon and an inducible operon. Give an example of either type of operon and describe the mechanism by which the operon responds to an environmental cue. Describe the differences between general transcription factors and specific transcription factors and their impact on gene expression. Compare and contrast microRNA (miRNA) and synthetic RNA (siRNA). Be sure to include their occurrence in nature, and their mechanism(s) of action.
Describe the difference between exposure and contamination and why this distinction is important. Give an example...
Describe the difference between exposure and contamination and why this distinction is important. Give an example to illustrate your description.
convert -549.675 to IEEE-754 single precision and double precision both. Need a lot of explanation. (Atleast...
convert -549.675 to IEEE-754 single precision and double precision both. Need a lot of explanation. (Atleast 1000 words)
convert -47.199 to IEEE-754 single precision and double precision both. Need a lot of explanation. (Atleast...
convert -47.199 to IEEE-754 single precision and double precision both. Need a lot of explanation. (Atleast 1000 words)
4. Explain how the following computations are performed using both IEEE single precision and double precision...
4. Explain how the following computations are performed using both IEEE single precision and double precision floating point representation. a. 11716 +2A916 b. 1011.112-11.1510 c. 1.0010102 x 0.011012 d. Comment on any differences you see in accuracy and precision.
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT