The Number System (Computer)
The Number System (Computer)
Made by:-
RISHAB DASARI
VII-E
NORTH POINT SCHOOL
INTRODUCTION TO NUMBER
SYSTEM
In earlier times , the people had to find a way
of counting numbers. So they came up with 4
Different types of number systems.
THEY WERE:-
1) The decimal number system (10 digits)
2) The binary number system (2 digits)
3) The octal number system (8 digits)
4) The hexadecimal number system (16 digits)
We human beings use the decimal number system but the
computers use the binary system.
So let us begin!!!
HOW TO CONVERT DECIMAL
TO BINARY (1st PART)
To convert decimal to binary system , first we need
to understand the bases of each number system.
For decimal its base is 10.
For binary its base is 2.
For octal its base is 8.
For hexadecimal its base is 16.
Now as we know all the bases , we can start
converting.
Lets go!!!!!!!!!!!!
HOW TO CONVERT DECIMAL
TO BINARY (2nd PART)
Eg 1:-
(25)10
To do this , we need to find the remainders of this number.
I.e. 25 / 2 = (Q= 12 , R= 1)
12 / 2 = (Q=6 , R=0 ) NOW
6 / 2 = (Q=3 , R=0 ) COUNT
3 / 2 = (Q=1 , R=1) BACKWARDS
1 / 2 = (Q=0 , R=1)
= (3*161) + (3*160)
= 48 + 11
= (59)10
SO ANSWER IS (59)10
ADDITION OF BINARY
NUMBERS
Binary addition is just like normal addition but a
little different.
Eg :- 1
(1000)2 + (1111)2
1000
+1111
(10111)2
HERE 1+1 = 10
SUBTRACTION OF BINARY
NUMBERS
Binary subtraction is just like normal subtraction
but a little different.
Eg :- 1
(1111)2 – (1010)2
1111
- 1010
( 0101)2
MULTIPLICATION OF BINARY
NUMBERS
Eg:- 1
(101)2 * (11)2
101
* 11
101
+1010
(1111)2
DIVISION OF BINARY
NUMBERS
Eg :- 1
(110)2 / (10)2
11
10 110
10
010
10
00
THANK YOU