Changes

Jump to: navigation, search

ULI101 Week 4

96 bytes added, 16:09, 31 August 2017
Converting Binary to Hex
* Convert the binary number <code>111110000</code> to a hexadecimal number:
<pre class="example">= 0 0 0 1 1 1 1 1 0 0 0 0(8) (4) (2) (1) (8) (4) (2) (1) (8) (4) (2) (1)1 15 01 F 0
</pre>
Therefore, the binary number <code>111110000</code> represents <code>1F0</code> as a hexadecimal number.
<blockquote>1 hexadecimal digit is equal to 4 binary digits. Group binary digits into groups of 4 starting from the right. Add leading zeros if last group of digits is less than 4 digits. Convert each group of 4 digits to a hexadecimal digit.
</blockquote>
 
=== Converting Hex to Binary ===
221
edits

Navigation menu