[Solved] CS1400 Homework3 BCD and Floating Point Arithmetic

$25

File Name: CS1400_Homework3__BCD_and_Floating_Point_Arithmetic.zip
File Size: 480.42 KB

SKU: [Solved] CS1400 Homework3 – BCD and Floating Point Arithmetic Category: Tag:
5/5 - (1 vote)
  1. Binary-Decimal Code Arithmetic

Add the following decimal numbers in binary-decimal code:

  • 267 + 547.352;
  1. Floating Point Arithmetic
  • Represent the following numbers in IEEE single floating-point format:

512.125(10) ,

4A0D.8(16).

  • Add the following decimal numbers in IEEE single floating-point format:

2049.75 + 0.625.

  1. Memory Dump

The hexadecimal dump from part of a Little-Endian computers memory is as follows (3points each)

12B8) 4D69 6474 6572 6D31

12C0) C684 7A00 80F7 022A

12C8) FFFF 4100 0000 1234

Decode the hexadecimal data, assuming that it is a sequence of:

  • 8 ASCI encoded characters present the text;
  • IEEE Floating point single precision number present the binary scientific notation of the number;
  • one byte 1s complement code present the decimal number;
  • one byte 2s complement code present the decimal number;
  • two bytes with an Excess 1023 code present the encoded binary number.
  • one 2s complement 16-bit number present the decimal number;
  • the rest is a natural BCD number present the decimal value.

Remark: the decimal numbers are selected to be easy for conversion. Recall the rule: 2x(10 ) = 100

x 0s

Reviews

There are no reviews yet.

Only logged in customers who have purchased this product may leave a review.

Shopping Cart
[Solved] CS1400 Homework3  BCD and Floating Point Arithmetic[Solved] CS1400 Homework3 BCD and Floating Point Arithmetic
$25