Chapter 1 Number Systems v6 - Copy 2
Chapter 1 Number Systems v6 - Copy 2
Instructional Objectives
Perform decimal to binary or hexadecimal conversion and vice versa.
Express decimal numbers using the Binary-Code- Decimal (BCD) code.
Explain the need for ASCII Code.
Understand the need for Gray code
YouTube video
a) This video provides a basic introduction into number systems such decimal, binary, octal and hexadecimal
numbers:
b) https://www.youtube.com/watch?v=FFDMzbrEXaE&t=415s
c) This video tutorial explains how to convert hexadecimal to binary numbers.
d) https://www.youtube.com/watch?v=D_YC6DSPpQE
Official (Closed) - Non Sensitive
012345 0123456789
0
6789 ABCDEF
1
1 2 1
0 6
10 2 16
K K K
Official (Closed) - Non Sensitive
Least significant bit (LSB) is the bit position in a binary number giving the least
value.
Most significant bit (MSB) is the bit position in a binary number having the
greatest value.
Easy to design electronic circuits to operate with two voltage levels, representing
the 2 symbols in a binary system
Official (Closed) - Non Sensitive
Each HEX digit has its value expressed in powers of 16, depending on its position
Official (Closed) - Non Sensitive
Invalid code
Official (Closed) - Non Sensitive
(b) 32410
= 0011 0110BCD
BCD code contains
groups of 4-bit binary
= 0011 0010 0100BCD number
Official (Closed) - Non Sensitive
Steps:
start from the right and group the bits into 4 bits,
then replace every group of 4 bits with the equivalent decimal digit.
Official (Closed) - Non Sensitive
2-step process
Convert the BCDs to their decimal equivalents, then make a conversion to HEX
Official (Closed) - Non Sensitive
Steps
start from the right and group the bits into 4 bits and convert the BCDs to their decimal equivalents, then
convert the decimal number into Hexadecimal, using repeated division by 16 method
Official (Closed) - Non Sensitive
Summary
Official (Closed) - Non Sensitive
000
001
010
011
100
101
110
111