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

1. Use long division to convert decimal fraction into a binary expansion. 3/5 2. Find the...
1. Use long division to convert decimal fraction into a binary expansion. 3/5 2. Find the decimal equivalent for the following binary numbers. 1101.11102 3. Use long division to convert decimal fraction into a binary expansion. 3/4 4. Find the binary equivalent the following decimal numbers. 14. 25390625 1 5. Find the decimal equivalent for the following binary numbers. 0.110001102 6. Exactly how many bytes are in the following? 60MB
(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 the following hexadecimal representations of 16-bit 2’s complement binary numbers to decimal. a.FCAD b.DEAD c.1111...
Convert the following hexadecimal representations of 16-bit 2’s complement binary numbers to decimal. a.FCAD b.DEAD c.1111 d.8000 e.FACE
Convert signed integer 0xACE9 to binary and decimal. Convert unsigned integer0xACE9 to binary and decimal.
Convert signed integer 0xACE9 to binary and decimal. Convert unsigned integer0xACE9 to binary and decimal.
2. Convert the following decimal fractions to binary with a maximum of six places to the...
2. Convert the following decimal fractions to binary with a maximum of six places to the right of the binary point: [12] a. 25.84375 b. 57.55 c. 80.90625 d. 84.874023
3) Convert 1.25 decimal to 32 bit floating point format. 4) Convert the following truth table...
3) Convert 1.25 decimal to 32 bit floating point format. 4) Convert the following truth table to a digital circuit consisting of NOT, AND, and OR gates. ABC Out 000 1 001 1 010 0 011 0 100 1 101 0 110 1 111 0 5) Construct a tri-state buffer using transistors 10) What are the advantages of a large page size?
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:
First, Calculate the 1/3 in binary form using 8-digits. Then convert binary form back to decimal....
First, Calculate the 1/3 in binary form using 8-digits. Then convert binary form back to decimal. Why and what is the error in binary representation ?
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT