Open main menu

CDOT Wiki β

Changes

ULI101 Week 4

17 bytes removed, 16:52, 31 August 2017
Octal Numbers
<pre class="example">F x 16^2 = 15 x 16^2 = 15 x 256 = 3840
2 x 16^1 = 2 x 16^1 = 2 x 16 = 32A x 16^0 = 10 x 16^0 = 10 x 1 = 10----------------------------------Sum of 3840+32+10 = 3882
</pre>
Therefore, <code>F2A</code> in Hexadecimal is <code>3882</code> in decimal. I can understand now how decimal numbers can be stored in the computers as binary numbers, but why are we learning Octal and Hexadecimal numbers? As computers and computer programming languages evolved, octal and hexadecimal numbers were considered “short-hand” a short-cut to represent binary numbers.
221
edits