Question

In: Computer Science

Convert the following decimal number into (a) binary and (b) Octal (SHOW ALL STEPS) 205.75

Convert the following decimal number into (a) binary and (b) Octal (SHOW ALL STEPS)

205.75

Solutions

Expert Solution

(a) Binary :

Theory:An easy method of converting decimal to binary number equivalents is to write down the decimal number and to continually divide-by-2 (two) to give a result and a remainder of either a “1” or a “0” until the final result equals zero. This is done for the integer part.But for the fractional part, we just have to multiply-by-2 and decimal carry of either "1" or "0" untill the final result equals to zero or the recursion near to a point

Number : 205.75

1)Integer part:205

Divide by 2 continously

Result: Remainder:

125 1 (LSB)

62 1

31 0

15 1

7 1

3 1

1 1

0 1 (MSB)

2)Decimal part : 0.75

Multiply with 2 continously

Result Decimal Carry

0.50 1(Decimal bit starts and goes downward)

0.0 1

Therefore.now the binary digit is (11111011.11)2

(b) Octal :

Theory:An easy method of converting decimal to binary number equivalents is to write down the decimal number and to continually divide-by-8 (eight) to give a result and a remainder until the final result equals zero. This is done for the integer part.But for the fractional part, we just have to multiply-by-8 and decimal carry untill the final result equals to zero or the recursion near to a point

Number : 205.75

1)Integer part:205

Divide by 8 continously

Result: Remainder:

25 5 (LSB)

3 1

0 3(MSB)

2)Decimal part : 0.75

Multiply with 8 continously

Result Decimal Carry

0.00 6(Decimal bit starts and goes downward)

Therefore.now the octal digit is (315.6)8


Related Solutions

convert the binary number(base 2) To Octal (base 8) to decimal (base 10) a. 101 b....
convert the binary number(base 2) To Octal (base 8) to decimal (base 10) a. 101 b. 1001 c. 101010 d.1101101 convert the number to the other base a. 253 base 10 to base 8 b. 98 base 10 to base 3 C. 1340 base 10 to base 16 D. AB Base 16 to base 8 E. 111010 base 2 to base 16 F. 1010101 base 2 to base 6 g. 69 base 10 to base 2 h . 1023 base...
Convert binary to the following 100110101.1011101101)2 a.) Octal ( )8 b.) Hexa  ( )16 steps would be...
Convert binary to the following 100110101.1011101101)2 a.) Octal ( )8 b.) Hexa  ( )16 steps would be helpful thanks
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 from binary to decimal to hexadecimal (PLEASE SHOW ALL WORK) a. 1010 1011 - decimal:...
Convert from binary to decimal to hexadecimal (PLEASE SHOW ALL WORK) a. 1010 1011 - decimal: - hexadecimal b. 0011 0001 - decimal: - hexadecimal: c. 1110 0111 - decimal: - hexadecimal: d. 1111 1111 - decimal: - hexadecimal:
Convert the decimal number, 315.56 into binary form?
Convert the decimal number, 315.56 into binary form?
Convert the following binary number to dotted decimal format. 11000000100110010000100101011001
Convert the following binary number to dotted decimal format. 11000000100110010000100101011001
Convert the binary numbers to decimal. Show a single sample calculation for the first number (10010010)....
Convert the binary numbers to decimal. Show a single sample calculation for the first number (10010010). 0111 1111 1001 0110 0101 1100 1100 0111
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:
Convert each of following numbers to Octal numbers, showing all steps. a. (111110110)2 b. (1100010)2 c....
Convert each of following numbers to Octal numbers, showing all steps. a. (111110110)2 b. (1100010)2 c. (2001)10 d. (1492)10 e. (A9)16 f. (5FF71 )16
Write a Java program to convert decimal (integer) numbers into their octal number (integer) equivalents. The...
Write a Java program to convert decimal (integer) numbers into their octal number (integer) equivalents. The input to the program will be a single non-negative integer number. If the number is less than or equal to 2097151, convert the number to its octal equivalent. If the number is larger than 2097151, output the phrase “UNABLE TO CONVERT” and quit the program. The output of your program will always be a 7-digit octal number with no spaces between any of the...
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT