Maths Pearson Class 8
Maths Pearson Class 8
Learning Objectives
-·· ... . ········································································'---·----·
► Understanding Number System
es
► Converting Decimal into Binary Number System
• Understanding Computer Arithmetic
·~ ······::.:::::.::.
;:;;: ····································· ............................................................................................
········::.:::::.::.
" Rem~ber when you started learning counting of number~ ou used standing lines or dots to
coun1)1-'he position of these lines or dots did not change the value of number. Neither did they
have any face value. Thus, the number system that we used to learn our basics of counting
was a n~n-positional number system. But the number system that we use now in our routine
daily life is a positional number system where ~ symbols are called digits that we use for
countin~ ese have a face value and a place valu; :)
A value of each digit in a number can be determined using:
The digit,
.... 117 • The position of the digit in the number, and
The base of t he number system, where base is defined as the total number of digits
available in the number system.
·- . ~ - ~
Numbers,ae-i■
number has the lowest weight and hence it ia called Least Significant Digit ~
a8~ 8 or 256 bytes are possible
and they can represent 256
(both in
leftmost digit of a number has the highest weight and hence it ia called most significant-
h to represent 26 lettersofthe alphabet
. (MSD) .
, .... 166 b sareenoug
tirm,), numbers from o to 9, punctuation marks, currency signs, and some
Binary Number System <y+
.,..a,oJ,. Thele 256.bytes are represented by i:"::::1'::i.--.----.--r--r-~ -.-7
1 0 0 0 1 0 ~ e binary number system consists of only 2 digit~.e. zero and on~ and 1)'.)ince this
bJnary numeral• starting from 00000000
system uses two digits, it has thP. base 2. All digital computers us., this numbe~stem and
....,Ul 11111111, • _~H;:-y:::le:---- - - - - '
L---N-lb_hl_ convert the input data from th e decimal format into its binary equivalent.
A computer cannot understand human language; rather it understands only the binary code.
HaJlabytei1calledaNlbble. It me11n Ha nibbleconai sts of 4 bits. Therefore, the data that is entered into a computer is converted into its binary equivalent. It
further converts the binary result into its decimal equivalent to generate an output.
/ 1 JJ' - "' \11111IH·r s.\ st1•111s
Advantages and Limitations of using Binary Numbers
The Cour type• ofnum her ByHlt!me are:
Wh en doing number syste m problems, @nary Numbers use only two digits for representation of data. This system can directly
► Decimal Numb,ir SyHtem it is helpful to use a subscript to indicate represent the 'ON' (1) and 'OFF" (0) states of electronic circuits that make up the computer.
► Binary Numb,ir SyHlt!m the base of the number being worked
Thus data and instruction coded in the binary language are directly understood by the
with. Thus, t he subscript "10" in 127510
► Octal Number 8yRtem indicates that we are working with the computer, making it work very fast.
► Hexadecimal Number Syetem number 1275 in base 10. A major limitation of this system is that binary representation can become very lengthy and
complex for humans. Thus, writing instruction cod~ ;nth<> binary language can be a very hard
Decimal Number System
task even for an expert computer scientist.
The decimal number 1y11tem is a base 10 number syste m (deci means ten) . The base of a
number eyetem indicates how many symbols it uses. The decimal number system u ses 10 Octal Number System
1ymbols: 0 to 9. Each of the symbols in the number system has a value associated with it. For (:[he Octal Number System has a base of 8 and, thus, has 8 digiti}:0,1,2, 3,4,5,6 and 7). The
example, 3 repre11ents a quantity of three, and 5 represents a quantity of five. concept of Octal number system came from the Native Americans as they used to count
numbers by using the space between their fingers rather than using their fingers. All the
The decimal number system is also a positional number system. Th is means that in a number
numbers that are represented in the decimal system using 10
1uch as 123, each position in th e number has a value associated with it. When you look at the Binary~
digits and in the binary system using 2 digits are represented
decimal number 123, digit 3 is in the ones or units position and represents three ones (3 * 1); 000 0
in the Octal System using these eight digits.
digit 2 is in the tens position and represents two tens (2*10); and digit 1 is in the hundreds 001 1
position and represents one hundred (1 *100). · Advantages of the Octal Number System
010 2
Since the number representation in the Binary System is
The number 123 is the sum of the values in each position of the number (100+20+3 = 123). 011 3
quite lengthy and can be difficult to handle fo r human beings,
123 = 1*100 + 2*10 + 3*1 100 4
the Octal Number System can be used for simplification.
= 1*10' +2*10 ' +3*10° 101 5
0
► We can use a group of 3 binary digits to represent any 110 6
This method is known as expanded form . The value of the numb er is found by mult' 1 · th single digit of the Octal System.
. . .h h . . .. , ip y:mg e 111 7
d1git Wlt t e weight of its pos1t1on and then adding the results. The right most digit ofa
I - MHIJ
0
_2..4,-1_ _ -
1
.MJID
0
Like tho Octal numbur HYHIAJm, Hoxudccimul number system is a lso usod 118 n compuct wuy to
'Mwrnforu : (~Ii) .-• (HJH>IOI),
menego tho lonf( Htri nl(Hof0H and l s in th o Binury numhor systcm.
► We con usu a 11roup of four binary digits to reproHont any single digit of th o hoxu dcci mul Co11vc1·11ion of Hinury to Decimal Numl,crSy11t<•m ,
1y1t.om. 'l'oconvortu hinury number into a dec-i m11l numhor, follow tho given ati,pH:
,_,~•. :;~~ ► l'J uco tho hinury diuit from theright ha nd aidcto the k.ft hand Hide.
► Writo tho corrus ponding powe r&of 2 aH 2",' 2',2' ....... Crom the right hand Hide to the k.ft
- ~'~'° ()
1
1000
1001
-- !)(JOI h und Hide heluw each hin11ry diuit.
- ()()1()
0011
·-· ()1(/()
2
a
4
1010
1011
1 WO
A
B
--+------l
C
1 AD
.--i i ½
00(11 J(Jl() 1101
► Multipl y cuch digit of the binary numbor,8 tarting from ril(ht hand Hid1J t,,wardff lllft hand
Hide , with tho vu lu eof th o corresponding poworof2.
► All th,, vu lu ee uro gunerou,d togi,ther tc, get th" numh,, r in the docimal HyHu,m .
--
01/JI
/JllO
/Jill
II
(l
7
I 1111
1110
1111
I)
J.;
Jt
_J
Thu• (11\IJ),."'(OOO I IOIOI IOI),
eonHidertho followin g exampl o:
Exam pl e 1: Con vert(l 10101), tc,docimal nu:i,h1,r
0
► Woc•un oaHily,~1nvllrt1t hmcutl1•cl mul numhur intirn hinury numhur,
I 2' 2• 2' 2'
f""""'"":=\
l'ow,;r ·
( '1111v,,,-,.i1111 of'Uc•l'lmul Into IJhrn,·y Numllcr· Sy•t<im
Vuhw*llinury No.
:1:1.
:12
16
8
0
4
1xa2+lxlll+0x8+ 1x4+0x2+1xl
:12+ HH0+4+0+ 1
0 ;J
As a computer understands only the binary code, so the data entered into the computer by the - The comple_t,e table for binary subtraction is given below:
user is converted into binary code for processing. T his processing may involve various kinds of
Rules Meaninic
arithmetic opera tions, such a s addition , subt raction, multiplication, division , etc. on the
binary numbers. 0 - 0=0 lfO (zero) is ,ubtracted from another O(zero). th~ result ie
0 fzero)
Binary Addition
Binary addition is performed in the sa me manner as decimal addition. Binary system ha~ 1- 0 = 1 IFO (zero) 1s subtracted fmm 1. the re,,ult •• 1
only two digits (0 a nd 1) hence, the addi tion table for binary arithmetic is very simple. 1 - 1=0 lf l is subtracted from I. thPrP•ult1sO
The complete. table for binary addition 1s given below: 0-1 = I.with a If 1 1s auhtracted from 0 furo), the re,,ult "' I. Borrow I
borrow from the next from the next left column that contama the binary d1J[1t
Meaning left column (towards left hand side>.
' byte of binary data can be represented usm gj1.: ,t two hexadecimal digita.
i
Binary Multiplication . . . in the following manner: Example I: 01111100 + 0010
We can multiply the binary digits by proceeding
Here the dividend is 01111100, and the divisor ia 0010
If O (lDll'II) is multiplied to another O (zero). the result is O (zero). Note: Remove the zero's in the Most Significant Bit in both the dividend and di...,, dllll
doesn't change the value of the number. So the dividend becomes 1111100, and tbe ~
lfO (lDll'II) is multiplied to I, the result is O (zero).
I• Oxl•0 becomes IO.
If 1 is multiplied to o (zero). the result is O (zero).
1:s0s0
Now, use the long division method.
lxl=l If I is multiplied to I, the result is I.
Step 1: First, look at the first two numbers in the 10 i i i ilbb b 11 11 0
Example I :
Multiply (1010), and (101),
Example 2:
Multiply (1101), and (100),
dividend and compare with the divisor. Add the
n umber 1 in the quotient place. Then subtract the
1-110 I
value, you get las remainder. 1!
1 0 I 0 1 1 0 I
Step 2: Then bring down the next number from the (·)
I O 1 10
1 0 0 dividend portion and do the step 1 process again
I O I 0 0 0 0 0 Step 3: Repeat the process until the remainder 11
0 0 0 0 X becomes zero by comparing the dividend and the (·)
0 0 0 X 10
1 0 I divisor value.
1 1 0 1 X X
11
1 I 0 0 1 0 Step 4: Now, in this case, after you get the remainder
1 1 0 1 0 0 (·) 10,
value as 0, you have zero left in the dividend portion,
so bring that zero to the quotient portion. 10
Binary Division
Therefore, the resultant value is quotient value (·I 10
The division is probably one of the most challenging operations of the basic arithmetic
wh.ich is equal to 111110 00
operations. There are different ways to solve division problems using binary opera tions. Long 00
So, 01111100 + 0010= 111110
division is one of them and the easiest and the most efficient way.
The binary division is much easier than the decimal division when you remember the 101) 101101 (1001
following division rules. The main rules of the binary division include:
(·)101 .u.
Meantnar 101
l +l =I If I is divided by I, the result is I. 1·1101
I +O = 0 If I is divided by O (zero). the result is O (zero). 0
Oe-1 = Meaningless If O (zero) is divided by I, the result is meaningless. So, when you bring down the fourth bit of the dividend, it does not match with the divisor. In
order to bring down the 5th and 6th bit of the dividend, a dd two zeros in the quotient value.
O+O = Meaningless If O (zero) is divided by O (zero), the result is meaningless.