Number System
Personal Computer (PC)
Designed for one user at a time.
general-purpose.
Cost-effective.
For naïve user than a computer expert.
Components of PC
Computer case
Processor
Motherboard
Main memory
Storage drive
Visual display unit
Video card
Keyboard
Number System
A number system is a mathematical notation for representing numbers of a given set, using digits or other symbols in a consistent manner.
The number system can be seen as the context that allows the symbols "11"
to be interpreted as the binary symbol for three, the decimal symbol for eleven,....
The number system consists of
Base
Set of digits (From 0 to Base-1)
Representation for a set of numbers (e.g. all integers)
Unique representation to every number in the set
Types of Number System
Non-Positional number system
Positional number system
Non-Positional Number System
• Symbol represents the value regardless of its position.
• Difficult to perform arithmetic operation.
• For example:-
I, II, III, IV, V, VI, VII, VIII, IX, X
XI,XII, XIII, XIV, XV, XVI, XVII, XVIII, XIX, XX
Positional Number System
• Symbols (Digits) represent different values depending upon the position.
• The values of each digit is determined by:-
• Digit itself
• Position of the digit
• Base of the number system
Continuing with our example…
642 in base 10 positional notation is:
6 x 10
2= 6 x 100 = 600 + 4 x 10
1= 4 x 10 = 40
+ 2 x 10º = 2 x 1 = 2 = 642 in base 10
This number is in base 10
The power indicates the position of
the number
Positional Number System
Decimal Number System
The base is equal to 10
Uses 10 different symbols.
For example:
(2*1000) + (5*100) + (8*10) + (6*1)
=2000 + 500 + 80 + 6
=2586
Binary Number System
• Binary digit 0 or 1
• The base is 2.
• Each position represents a power of the base 2.
Example:-Conversion from 00111101 to decimal is-
Conversion of decimal representation to binary
Divide decimal number to base 2 and Take remainders in reverse order. Example : Convert 3610 to binary number
2 36 2 18 2 9 2 4 2 2 2 1 0
Remainder 0
0 1 0 0
Least Significant Bit (LSB)
Conversion of binary representation to decimal
Covert (11010)2 to decimal
24 23 22 21 20
16 8 4 2 1
1 1 0 1 0
1*16
+1*8
+0*4
+1*2
+0*1 Conversion of binary representation to decimal
Covert (11010)2 to decimal