Professional Documents
Culture Documents
Lesson 1 - Digital System - New
Lesson 1 - Digital System - New
Number System
and Codes
Prepared by: Kristine Joyce P. Ortiz
LEARNING OUTCOMES
1. Explain the various number systems
used with the computers including the
decimal, binary, octal, and hexadecimal
number systems (CO2)
2. Convert from one type of base number
system to another. (CO2)
3. Solve arithmetic operations including
binary and BCD arithmetic. (CO3)
Digital System
discrete elements of information
(electrical
signal
voltage,
current; electronic- transistors)
binary form
e.g. Personal Computer
Number System
1. Binary power of 2
2. Decimal base 10
3. Octal base 8
4. Hexadecimal base 16
Data Organization
Bit (Binary Digit)
smallest unit
Nibble
4 bits
Byte
8 bits, 2 nibbles
Word
16 bits, 4 nibbles, 2 bytes
NUMBER SYSTEM
CONVERSION
Given: 19
10
Binary to Decimal
Given: 1010
Binary to Octal
Given:
10110001101011
10 11 00 10 01
0 1 1 1
2
6
1
5
3
Table 2. Binary to Octal
Conversion
Binary to Hexadecimal
Given:
10110001101011
10
2
11
00
C
01
10
6
10
11
B
Number System
Decimal
Binary
(Base 10) (Base 2)
00
0000
01
0001
02
0010
03
____
04
0100
____
0101
06
0110
07
0111
08
1000
09
1001
10
1010
Octal
Hexadecim
( Base 8) al (Base 16)
00
0
____
1
02
2
03
3
04
4
05
5
06
6
07
7
10
8
11
9
12
____
Complements
1 complement
2s complement
BINARY CODES
Binary codes
Binary Codes
Valid values: 0 - 9
Excess 3
Gray Codes
Gray Code
BCD
0000
0001
0010
____
0100
0101
0110
0111
1000
1001
1010
END OF
DISCUSSION
LESSON 1 : DIGITAL SYSTEM