Academic Integrity: tutoring, explanations, and feedback — we don’t complete graded work or submit on a student’s behalf.

For example, the decimal number 362.9 has four decimal digits, and in binary eac

ID: 1715508 • Letter: F

Question

For example, the decimal number 362.9 has four decimal digits, and in binary each separate digit is 3 "0011", 6 "0110", 2 "0010" and 9 "1001", so 362.9 in BCD is "0011 0110 0010 . 1001". Note that some combinations of bits are meaningless in BCD; for example, "1111 . 1110" is not a valid code, because "1111" 15 and "1100" 12, and these are not valid decimal digits. What is the decimal value of "010100110010.0111" if the code used is radix-2 (unsigned binary)? What is the decimal value of "010100110010.0111" if the code used is BCD? What is the biggest number you can represent with 12 integer bits and 4 fraction bits if the code used is radix-2 (unsigned binary)? What is the biggest number you can represent with 12 integer bits and 4 fraction bits if the code used is BCD?

Explanation / Answer

a) decimal value of 010100110010.0111 is 1330.7

b) decimal value of 010100110010.0111 is 532.7