Question

In: Computer Science

1.Convert (FA)16 to decimal 2.Convert (10101110)2 to decimal. 3.Convert (0.10101)2 to decimal.

1.Convert (FA)16 to decimal

2.Convert (10101110)2 to decimal.

3.Convert (0.10101)2 to decimal.

Solutions

Expert Solution

1. To convert (FA)16 to decimal multiply each digit with its power of 16

Hex digits are: 1, 2, 3, 4, 5, 6, 7, 8, 9, A, B, C, D, E, F

F = 15, A = 10

15*161 + 10*160 = 15*16 + 10*1 = 240 + 10 = 250

Therefore, (FA)16 = 250 in decimal.

2. To convert (10101110)2 to decimal multiply each digit with its power of 2

Digit 1 0 1 0 1 1 1 0
Power of 2 27 26 25 24 23 22 21 20
Digit * power of 2 128 0 32 0 8 4 2 0

Now, add up the values obtained on multiplying digit and power of 2.

128 + 0 + 32 + 0 + 8 + 4 + 2 + 0 = 174

Therefore (10101110)2 = 174 in decimal.

3. To convert (0.10101)2 to decimal multiply each digit before the fractional part with power of 2 and divide each digit of the fractional part with the power of 2.

We have 0 before the fractional part, so we multiply 0 with power of 2 corresponding to its place i.e., 0*20 = 0

Digit 1 0 1 0 1
Power of 2 21 22 23 24 25
Divide each digit by power of 2 1/2 = 0.5 0/4 = 0 1/8 = 0.125 0/16 = 0 1/32 = 0.03125

Now, add up the values

0.5 + 0 + 0.125 + 0 + 0.03125 = 0.65625

To get the decimal value of (0.10101)2 add the part before the fractional part and the fractional part as obtained above i.e., 0 + 0.65625 = 0.65625

Therefore the decimal valus of (0.10101)2 is 0.65625


Related Solutions

(16%) Convert decimal +47 and +38 to binary, using the signed-2’s-complement representation and enough digits to...
(16%) Convert decimal +47 and +38 to binary, using the signed-2’s-complement representation and enough digits to accommodate the numbers, Then, perform the binary equivalent of (+47)+(-38) and (-47)+(-38) using addition. Convert the answers back to decimal and verify that they are correct.
Problem: Convert the following binary number to decimal. 1. 110101.101 Problem: Convert the following decimal number...
Problem: Convert the following binary number to decimal. 1. 110101.101 Problem: Convert the following decimal number to fractional binary representation. 1. 103.5625
Convert the following decimal numbers to 16-bit 2’s complement binary. Display your result in hexadecimal. a.3030...
Convert the following decimal numbers to 16-bit 2’s complement binary. Display your result in hexadecimal. a.3030 b.404 c.5050 d.-5050 e.-20000 Show work with steps
Convert from hexadecimal to binary to decimal (PLEASE SHOW WORK) 1. B2 - binary: - decimal:...
Convert from hexadecimal to binary to decimal (PLEASE SHOW WORK) 1. B2 - binary: - decimal: 2. 37 - binary: - decimal: 3. 0A -binary: - decimal: 4. 11 - binary: - decimal:
Part 2: Signed values: Convert each as indicated. 8. Decimal to Hexadecimal (1 byte, one's complement)...
Part 2: Signed values: Convert each as indicated. 8. Decimal to Hexadecimal (1 byte, one's complement)      a. -18      b. -41
Part 2: Signed values: Convert each as indicated. 7. Decimal to Hexadecimal (1 byte, signed magnitude)...
Part 2: Signed values: Convert each as indicated. 7. Decimal to Hexadecimal (1 byte, signed magnitude)      a. -18      b. -41
Convert the decimal number, 315.56 into binary form?
Convert the decimal number, 315.56 into binary form?
Convert the following to a decimal, scientific notation, and engineering notation Decimal to scientific and engineering...
Convert the following to a decimal, scientific notation, and engineering notation Decimal to scientific and engineering notation: 270, 14600, 0.000456, 0.022, 0.000000051, 66500000, 423000, 0.78 Scientific notation to decimal and engineering notation,4.5x10^4, 6.8x10^-8, 2.7x10^5, 7.22x10^-2, 9.52x10^-5, 1.89x10^2, 3.6x10^7, 8.62x10^-10 engineering notation to decimal and scientific notation,12k, 68p, 2.1G, 82T, 7.1n, 100m, 1.8k
(a) Convert the decimal numbers, 70 and -26 to binary in the signed 2’s complement system....
(a) Convert the decimal numbers, 70 and -26 to binary in the signed 2’s complement system. Make sure there are enough digits in the results to be able to perform arithmetic operations with these two numbers. (b) Perform in the signed 2’s complement system, (+70) + (-26) (c) Perform in the signed 2’s complement system, (-70) - (-26) (d) Perform in the signed 2’s complement system, (+70) + (+26)
16-24 (Objectives 16-1, 16-2, 16-3) The following are common tests of details of balances or substantive...
16-24 (Objectives 16-1, 16-2, 16-3) The following are common tests of details of balances or substantive analytical procedures for the audit of accounts receivable: Select 20 customer accounts from the accounts receivable master file and trace to the aged accounts receivable listing to verify name and amount. Select 20 customer accounts from the aged accounts receivable listing and trace to the accounts receivable master file for name, amount, and aging categories. Prepare a bar chart showing amounts and percentages of...
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT