In: Computer Science
Convert hexadecimal BEEF to base 2 and 8 using grouping (No mathematics). Please show all work.
1) base-2 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 hexadecimal to binary Converting BEEF to binary B => 1011 E => 1110 E => 1110 F => 1111 So, in binary BEEF is 1011111011101111 Answer: 1011111011101111 2) base-8 Adding 2 zeros on left hand side of this number to make it's length a multiple of 3 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 001011111011101111 to Octal 001 => 1 011 => 3 111 => 7 011 => 3 101 => 5 111 => 7 So, in Octal 001011111011101111 is 137357 Answer: 137357