Professional Documents
Culture Documents
MODULE 1
Data Manipulation
CPE0003L: Module 1.1 - Data Manipulation - Number System Conversion
MODULE 1.1
Number System - Conversion
Number Base
• What is a number base?
A number base is a specific collection of symbols on which a
number system can be built.
• The number base familiar to us is base 10, upon which the
decimal number system is built. There are ten symbols - 0 to 9 -
used in the decimal system.
4
CPE0003L: Module 1.1 - Data Manipulation - Number System Conversion
Place Value
• What is the concept of place value?
Place value means that the value of a digit in a number
depends not only on its own natural value but also on its location
in the number.
It is used interchangeably with the term positional notation.
• Place value tells us that the two 4s in the number 3474 have
different values, that is, 400
and 4, respectively.
5
CPE0003L: Module 1.1 - Data Manipulation - Number System Conversion
6
CPE0003L: Module 1.1 - Data Manipulation - Number System Conversion
• Note that the highlighted place value can be filled by the digits in
the set {0,1,2,3,4,5,6,7,8,9}.
• Thus, it can be increased by 1 until it reaches -
2 7 9
• At this point, the symbols that can be used to fill the highlighted
position has been exhausted. Increasing it further causes a shift in
place value and resets the initial place value to zero. Thus -
2 8 0
7
CPE0003L: Module 1.1 - Data Manipulation - Number System Conversion
9
CPE0003L: Module 1.1 - Data Manipulation - Number System Conversion
• Note that the highlighted place value can be filled by the digits in
the set {0,1}.
• Thus, it can be increased by 1 until it reaches -
1 1 0 1
• At this point, the symbols that can be used to fill the highlighted
position has been exhausted. Increasing it further causes a shift
in place value, and resets the initial place value to zero. Thus -
1 1 1 0
10
CPE0003L: Module 1.1 - Data Manipulation - Number System Conversion
11
CPE0003L: Module 1.1 - Data Manipulation - Number System Conversion
12
CPE0003L: Module 1.1 - Data Manipulation - Number System Conversion
13
CPE0003L: Module 1.1 - Data Manipulation - Number System Conversion
• At this point, the symbols that can be used to fill the highlighted
position has been exhausted. Increasing it further causes a shift
in place value, and resets the initial place value to zero. Thus -
3 7 0
14
CPE0003L: Module 1.1 - Data Manipulation - Number System Conversion
15
CPE0003L: Module 1.1 - Data Manipulation - Number System Conversion
16
CPE0003L: Module 1.1 - Data Manipulation - Number System Conversion
17
CPE0003L: Module 1.1 - Data Manipulation - Number System Conversion
• At this point, the symbols that can be used to fill the highlighted
position has been exhausted. Increasing it further causes a shift
in place value, and resets the initial place value to zero. Thus -
A 3 C 0
18
CPE0003L: Module 1.1 - Data Manipulation - Number System Conversion
19
CPE0003L: Module 1.1 - Data Manipulation - Number System Conversion
20
CPE0003L: Module 1.1 - Data Manipulation - Number System Conversion
21
CPE0003L: Module 1.1 - Data Manipulation - Number System Conversion
Comparative Values: Bases 10, 2, 8, 16
Base 10 Base 2 Base 8 Base 16
Decimal Binary Octal Hexadecima
l
9 1001 11 9
10 1010 12 A
11 1011 13 B
12 1100 14 C
13 1101 15 D
14 1110 16 E
15 1111 17 F
16 10000 20 10
17 10001 21 11
22
CPE0003L: Module 1.1 - Data Manipulation - Number System Conversion
23
CPE0003L: Module 1.1 - Data Manipulation - Number System Conversion
24
CPE0003L: Module 1.1 - Data Manipulation - Number System Conversion
26
CPE0003L: Module 1.1 - Data Manipulation - Number System Conversion
27
CPE0003L: Module 1.1 - Data Manipulation - Number System Conversion
5 6 4 1
101 110 100 001
Answer: 1011101000012
28
CPE0003L: Module 1.1 - Data Manipulation - Number System Conversion
29
CPE0003L: Module 1.1 - Data Manipulation - Number System Conversion
Answer: 10100011110011112
30
CPE0003L: Module 1.1 - Data Manipulation - Number System Conversion
Answer: 15A16
31
CPE0003L: Module 1.1 - Data Manipulation - Number System Conversion