Professional Documents
Culture Documents
1
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
Mouse
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,....
5
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
6
Positional Number System
• Symbols (Digits) represent different values depending upon the
position.
7
Positional Number System
Continuing with our example…
642 in base 10 positional notation is:
For example:
(2*1000) + (5*100) + (8*10) + (6*1)
=2000 + 500 + 80 + 6
=2586
9
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-
10
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 Remainder
2 9 0
2 4 1
2 2 0
2 1 0
0
1 Most significant Bit (MSB)
(36)10 = (100100)2
11
Conversion of binary representation to decimal
Covert (11010)2 to decimal
12
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
= 16 + 8 + 0 + 2 + 0
= 26
13
Octal Number System
The base is 8
The digits are 0-7
Each position represents
a power of the base 8.
14
Converting Decimal to Octal
8 1988 Rem
8 248 4
8 31 0
8 3 7
0 3
(1988)10 = (?)8
(1988)10 = (3 7 0 4)8
15
Converting Octal to Decimal
(642)8 = (?)10
16 11
Converting Octal to Decimal
(642)8 = (?)10
6 x 82 = 6 x 64 = 384
+ 4 x 81 = 4 x 8 = 32
+ 2 x 8º = 2 x 1 = 2
Sum = (418)10
17 11
Hexadecimal Number System
The base is 16
18
Converting Decimal to Hexadecimal
222 13 0
16 3567 16 222 16 13
32 16 0
36 62 13
32 48
47 14
32
15
(3567)10 = (DEF)16
19 21
Converting Hexadecimal to Decimal
(DEF)16 = (?)10
20
Shortcut Method for Converting a
Binary Number to its Equivalent
Octal Number
Shortcut Method for Converting an
Octal Number to Its Equivalent
Binary Number
Shortcut Method for Converting a
Binary Number to its Equivalent
Hexadecimal Number
Shortcut Method for Converting a
Hexadecimal Number to its
Equivalent Binary Number
Some Problems
Q.1- (EF)16 + (27)8 = (?)7
25
Some Problems
Q.1- (EF)16 + (27)8 = (?)7
(27) 8 = 2 x 81 + 7x8º = 16 + 7 = 23