In: Computer Science
Convert binary to the following
100110101.1011101101)2
a.) Octal ( )8
b.) Hexa ( )16
steps would be helpful thanks
a) Octal Binary 0 000 1 001 2 010 3 011 4 100 5 101 6 110 7 111 Use this table to convert from binary to Octal Converting 100110101.101110110100 to Octal 100 => 4 110 => 6 101 => 5 101 => 5 110 => 6 110 => 6 100 => 4 So, in Octal 100110101.101110110100 is 465.5664 Answer: 465.5664 b) Adding 3 zeros on left hand side of this number to make it's length a multiple of 4 Hexadecimal Binary 0 0000 1 0001 2 0010 3 0011 4 0100 5 0101 6 0110 7 0111 8 1000 9 1001 A 1010 B 1011 C 1100 D 1101 E 1110 F 1111 Use this table to convert from binary to hexadecimal Converting 000100110101.101110110100 to hexadecimal 0001 => 1 0011 => 3 0101 => 5 1011 => B 1011 => B 0100 => 4 So, in hexadecimal 000100110101.101110110100 is 0x135.BB4 Answer: 135.BB4