Lecture 1
Lecture 1
in Fig 1.1
It
referred to as base 10 because it uses
ten digits 0, 1, 2, 3, 4, 5, 6, 7, 8, and 9.
+6x
In general, any number may be represented by
........ .......
In the decimal system, the coefficients are
the ten coefficients (zero through nine), and
the subscript value denotes the power of ten
by which the coefficient must be multiplied.
. + . + . +.....+ . + . +
. + . +.....+ .
Digital computers use the binary (base 2) system which has only two coefficients, 0 and 1.
. + . + . +....+ . + .
+ . + . +....+ .
The number 110010.01 could be interpreted
as a binary, or decimal or any other base
number since the coefficients 0 and 1 are
valid in any number with base 2 or above.
But
if it is a decimal number, it must be
denoted as
The
hexadecimal number system uses the
numbers 0, 1, 2, 3, 4, 5, 6, 7, 8, and 9
2.
Add the terms following the rules of
decimal addition.
Example 1.1
+1x +1x
= 8 + 4 + 0 + 1 + 0.5 + 0 + 0.125=
Convert the octal number to its
decimal equivalent.
Solution:
=5 × 64+ 4 × 8+ 0 × 1+ 6x
=
Convert the hexadecimal number to
its decimal equivalent.
Solution:
=D X +B X +0 X +A X
=