2. ART1062 -Learning Outcome (LOC)
Understand the basic computer / IT functions.
Explore Computer Number System.
2
3. Computer System
When we type some letters or words, the
computer translates them in numbers (0, 1) as
computers can understand only numbers.
A computer can understand the positional
number system where there are only a few
symbols called digits and these symbols
represent different values depending on the
position they occupy in the number.
4. Computer System
Is a collection of related components that have
all been designed to work together smoothly.
6. Computer Number System
Bit - the smallest unit of data that a computer
uses. It can be used to represent two states of
information, such as 1-Yes / On or 0-No / Off.
Byte - is equal to 8 Bits. A Byte can represent 256
states of information (0 to 255).
For example: numbers or a combination of
numbers and letters. 1 Byte could be equal to one
character.
8. Common Number Systems
System Base Symbols
Used by
humans?
Used in
computers?
Decimal 10 0, 1, … 9 Yes No
Binary 2 0, 1 No Yes
Octal 8 0, 1, … 7 No No
Hexa-
decimal
16 0, 1, … 9, A, B, C, D, E, F No No
20. Binary to Decimal
Technique
Multiply each bit by 2n, where n is the “weight”
of the bit
The weight is the position of the bit, starting
from 0 on the right
Add the results
21. Example
1010112 => 1 x 20 = 1
1 x 21 = 2
0 x 22 = 0
1 x 23 = 8
0 x 24 = 0
1 x 25 = 32
4310
Bit “0”
22. Example #1
What is the binary equivalent of the decimal
number 14. Or, written with base subscripts:
1410 = 11102
23. Example #2
What is the binary equivalent of the decimal
number 87. Or, written with base subscripts:
8710 = (1110101)2
24. Example #3
What is the binary equivalent of the decimal number 156.
Or, written with base subscripts: 15610 = 100111002