0 ratings0% found this document useful (0 votes) 61 views54 pagesDSD Unit I
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, 
claim it here.
Available Formats
Download as PDF or read online on Scribd
OnaT-
Nurmbes Syslarns
A Number Syples ae a cablectton of dent, rohtch fn gente! has ‘2!
Poul — Ioteges & fracional paste, Set ape by a wade pe «
(Np = day dygee dr Aides Aye dp den
HO
Inhejen “Portion Peat frackonod potion
where, N = a number
b = vadtx a base of he rumor Sle
N= no. of digl: in 5 portion
™ = no: of arg Tin -frackonal Potion
dns met Sx *fteareke ae (ms4)
Ayo = Least Sg feat nik (hs)
BO < (Ar way Se b-I
Chorocleristes of Cormmenty Used Nurobes Siplemm $
 
  
     
 
  
     
     
     
 
    
Example,
 
/ is Wetghk ovat
Number Sylém | Basel) | usd
Hi * Rosny! us it
 
toni
[Erna
Belal 0)1,213/415,6/7 3567-23
Dectrnal 0213, 41516 34415
18,4
Hexadectmal 041) 21314157) BpAg
NS, AA,/B,C
DEFBinasy Number Systemes Ac)
“he numbex spl softy base (or valtx) Le & known ab “Binony
Only 2 Symbols ase wed I5 represent nds io ths Syplein they ane
0 and 1 these ae Knaon as ble
sens os he Maat
+) Siatlan 40 dectmal nor cyplem ) The Soft mest BIE & kno
Stgpificent: bet (Mss) x Me wept amett bit & Known as heat sofort
bet (LsB)
4 Ina brnany nurnbex Siplem 1 grep of yi bil Is Known o%
te bile & Known A ae
‘itbble? & qr of 2
Fy (eto,
Octal Number Syslan ¢
tt Known 08 Otte
‘the no Splem with base (ox rodix) £1gh
No- ples Yo The Soles seqnt Sposa O41, BASLE UME
Used te represent nurnbers:
Sinslan te bt no. splem He aloa portional amd has
in qe ‘roel pea integer fractional eek opert ‘4 a
jadix Coctad) potot &)
er (6237- 4051),
Vecirral Nurmbest Splems
“the no: syslem with base (eo vadtx) len is ne
Ney sipleisy Ta Tee Splem Nem Syrbols 0111213446 611814 aE used
won a Dectrnol
te vepresent nuseben$:2
T te aleo postrondl No sples x has hwo pote * dale % Fractional
Bek apart is aradt (decimal point (>:
|
Eqs AS-D
HexaDectmnal Number Sle 5
ro: Sylar iotts bare @ yadtx) 1G & Known oF Hexadectnret
No. Spm St vequive 16 Atstinet tata 40 wepren te nowbey
“these ase number O trreug> gq b adphabele A Troodn f-
Since numeste ataile k alphalbele” bath aye used IF dae
aegis, thie & am ‘alghanumentte nurenboort splem!
ert “the
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
Se GFA S)ie
Deetenel | Binary octal Hexadecimal
Oo] 0000 © ©
| “1 [ [oct | i !
2 0010 a 2
Po ool) en 3 a
| 4] O10 4 4
hs: o101 a S
[_é] | ono ae | 6
7] ony ( a
& 1000, 10 &
F 9 [= 100! = 9
lo 1010 12 A
0 WON a ‘8 | 8S
12 N00 4 ce
ae No) r saiegetecae D
| 4 Wo 16 e
1s ua 7 F
Relation Yio “Vectra, Frrasy cotol 1 Hexacectersd nurobers| Base Conversron Mathiods $
|
 
= Pinang -
 
-Dectenal Convenston s
fied dectmal Equivalent of Hinany ember (rood,
Gono), = xa oxrtg rx pix24ox2! 41K 2
324+0+34+440tl = (45) 10
~ Find decimal number of the fellaietng bereoy no:
| Coot: 0101), =
gl ce ip allah 2
1x 224ox 27+ Ox2! 412? 40639 FIND FORD FE?
 
$4040 4140+0:2540+0-0625 -G “3125 }
Dectenal ta Binasy Conver Sion 8
for tolejeut the Conversion ik clbained Cominvoys dkKsion by!
X Reeps Brack of tre wemotnders , tchile foe aaa aun
Conveaston & affeclad by Continvous muttipicatan by ee 4
Haupiog track of wheges eet
Wp Comet (is}_-to am Sqaivalent base-2. nvehen
Bucher’ — Remainder
wm 6 1
air
Ses tie }
aie
a t 1
z
i. |
R
~ Comet (5 65625),
Cod,
te am Spovelent base 2 Nombey
| ©:65625x2 = 131256 > |
 
O-31250%2 = 06250070
© 6aso0x2 = 1*2500— |
2 @)0+ @500%2 = 6-50000-40
J
050000 x2 = |' 00000 - }
| Cortoier),
| Enpeens Vr pleating decinal Numbes in en foro
te-6a5), —1 © do
 
°
| |
|
°
! ie) Ge),5= Clo1od 2
fractional peo
© 6asxo= | 250)
© Qb0K2 = 0'S00-4O 4
p-S00x2 = 1:000-4 |
66-625), C10!)
(16625). = Cloto-101).,
Octal te te Dectenal Conversion §
tonrt C63a7- 2051), Inte TE Equivalent decirnds ne
foie (632-4051), = 6xé Aone tangle TRE 448 +OKE +
6xe 4x9 +
= Bor taa4 lett s +04 B+
2 4096
6287- 5100098),,,1)
Pecimal-ts-oclal Converston $
A) Coment (A41);y into Octal
te
4
= oO 3 ; ©, 847}, = BEVg
+) Convent ©6815) jo inte cekab
© 6815*X&8 ~ 55000 55°
O-S00¥8 = 400003 4 L
“thus, Co 6871S 9= (0-54,
Deleb te “Binary Comesion s
| Octal nds cam be Converted tale tasialert btn ony nos
+4 pep aang Bach octal ang it hoy We aie Eqowalent ry:
Ae (136), = Gn on Ho),
Birany —ts- octal Converston é a
os node Can be Convesthed 1016 ma a
ly geep of 3 bil Stating fren LS moving 12 7
Jon toleqen pa © — then replay gach Joop
bik ae Sse oclall represectiation
Fon factional parks Ihe ger + shit
~~ an [ory glk *2 av
ae made sfeorn the4(a)
Convent AFA), tle pina ne:
CFM) B= Cove wit rool 1010),
Broan leHexadectind) ConvenStan &
a Morooiroreitt), = o010 1oo! pe we -GTAF),
nh a
B) (0- c00;; 101010100), = O- ©00\ HtO Jor} aioe
es — —_—
y| © a +
=(o16845 i
te :
Ayr Gos p, > Oo
Bed), = (0011 C000 OV0+ 1101), _
Sared Binary Naumbeuss
Sap Magitude Represenietions
Mw 4 cakte cam undexslamd only 2 syvas owt,
thane fre We rout use tre Same Symtods Ho tadtcalé the Sqn
of tra rurcbey also:
“Marnally ain oh
Placed ab MS:
‘a nepresnts a +e to ee represert a
 
onal Wt Used o4 the Stqn BH He
Ne Ne
<4 Find tre decimal éqsralent of the fatowing binary nels tong
Sarr rmagthide meprererrtedh an of re, tincoy nots 2Convert (lO OIN10), de tte oclab Spivaledk 4
(woo), = (ot oo No), = (120g
eH (613: 194) 6 ra oes
(672124), = (ne Wt ei. oot o10 1oo ),
| exe Dectonal la —Dectmal converston$
| > Oblain dectenal Equivalent of GAA )ig
(BA+2 = BIG A AKIE + Axle 16>
Gary ee 2 By
= 45 HOF AE + Blase = CB 182410
Peoterad ts —Hexa dectral Conversion %
precio? fou
 
| ye aes).7 CH
colt Gehan pat Frackonal pant
aS: on 1s osxne= SOB
Ss
- t
ig re “thus ,C-59LO°S 14
vihus, C75),- CFP 16
C55), =GFOe
Hexadectoned le - bxcany Convenston 5
|
|
|
| i syalent binant
| Mexadecima nos Cam be Converted inte Sqeveel wy ‘4
| ros by replacing, ach hex Argit by RE 4-bik binasy to Eauivalent-ie b) Bo1D00
aq bhof tg is 4 -ve No Sip bit of Mas i'd o ave No
magystude = 01100 CI2Dj5 magnitade D\000 (8 9
| J C(loii0e), = E12) j0 s(o01000),, = (+210
Max: He number = 127 § OW
Max, ve nomben = -127 2 VV ININND
= 4
Sr E14) 2 C toto),
Complement of Nanket
Onds Compleroeat Representation :
facksd byt
Ina Rina vo, if fach “4 is veplaced 4 ‘Ok
the susulking no: fe Known as the Ones Complernent of the nowber
Hy (ero, suprusente Dio
tohene as d's Complement” = (1010), (5)ie
This meted ib icidely used fr reprexzetng signed ae tris 4's
Complement. representation alo Msa w'0! for ve no's v4 fre
Do's:
- find ones lerniert allowing binary urobers
Eq. -fi Complerne of fi 4
a) o)o0)11001 b) MoOllo1re
an IDITO0OILO fm OD; 0010)
7 Represent the “plowing purken A'S Compement -forntS(@)
a) +e -7 Yrs r-k joe
eal Sm 3S Complemect veprerentation /
(4D, = (OND, 4o=(d1000), GID = (OND,
(Die= (i000), 8) g= CONN) (15) 2(10000),
be daseaved “Whale fir "0! Nombe the
“Prom the above Examples, tt Cam
in As representation ie
Max te no which cam be repraented
GED & maw —ve no fy ee edhe
Tise's_Complement Representations
Dp ‘d! & added to as Complernent
own as 2S Complernent of
of binary nvenben, the
gretubtant no: ka Ye bina nureben
tyr os complernent of AP! &
st- ts Comnplernest of. Olo1 =) IDIo
eae
low)
S&
ince  Otohreprerenit (45)}o, harefore toll re presenta (Dio
| 2s Complement veproxntartion-
30 Ie repenontarton abo, if Mss kG the nob +e MO aru
reprorent -Ve no’
| 7 fer be fer an nk no,
ww a's Complement spon & 3
Note: Tt is Obseswed that The as Complerns
of 0 rer is. the Noe thet.
 
the wow we 1 whitch can be rrepraeited
sty tte max “ve ne i a
ent of the 8 Comptement: feed cig 1 I petgned enemy
Prem aoe as Cpe | 9 oe
Lito | cece £000 L 0000
+4 eeo) CooL Ooot
+2. colo colo e010
+3 oo ool Cols
+4 O100 100 e100
+ clot Ole! elo}
+6 oO1loO Ono Ol
+7 owl om ol
-3 1000 - -
—T a0 1000 loo}
“6 Io lool to1o
=] lol 110d lou
—t | 1100 four [ iloo
“3 loll 100 tor
aaa; loo Ito1 [ Htto
=1 lool mr) i ie,
-d |_-looo | to, | Es
¥
 
 
~ find Ine als Complement of tre flpong nos
Uy ble01110 Mf) ooetro.or
Sd No oloolt!o No OEIlOlo})
Moololo
i cool 85 cox»
Aeris o ; Conny ir
101 }0010 troo1otl
ie ea
1 jained
Nores We obsenve thar tte ae ement of ano L obt oe,
Scamming the no: -from 1S8 Is MSB bit by bit 4 vetatning “the
MA! be
axe uple” b includto g Ihe orcunence of the first| Rly Ae °
Binary Addition
| Rules of “Benaony AAXa A Ory
Addend | Sor
 
    
 
Nugen:
 
 
 
 
cE yi
& leu O18}
Cee
| [Lenore
pol aaa
toy oney
Binany Subheitlions Rules of Binoy Subbactan
 
When bormo=!,ax in the 24yow, this & [5 be Subheubed fromm ht
new ighet becaong lott as ik & done in dectmal Subhacton,
s- POV 1 Mined
= 011 0 Suttrahend
0) 07 Differenceany Mableton
Qe & etmilan (ST dectmal Nubttpltcadttan.
Tn benanty, gach pastial -preducle is etlhen %er0 (multiplication -
| “by 0) a Eaactly Same ay the roubhiplt amd CemeHtiication by 49.
| Agr Holiply loot by Nor
looy Moltiplicamd
y Tloo Hobtipliey
 
ree!
ee
evo0o
lool “Poa presale
ea
111019! -firal product
ct: The multiplication operation is
produc to dblato
\
ao
tre -fieal prot:
Ina at
wepeated additions of all pari
Binary Driston’
O} is dblained using TM Same prune as decime division
gr Divide 111010) by ool
11017 Quotient’
pier é fool) Wi 1o1e 1 pividen of
lool!
doll
tool
00100)
loo}
pone Remainder
 
Subbracton bsieg as lomplernent 3
Binary Submaction ca be performed by adding aS Complement=aH of Pe Sabhahend to The minvend: 102)
77 & final Camry ia grossed discon the camy Lathe answer i
| ee by lhe pene tits which & positive ( the minvend 16 >
the Subleahend).
oat te fieal Casey bo, ave (the invent) is
Bwrerbay Smalley than {he Sulbtral
as Complement representation
fours
— perform si Subhaction boing
the answer & Ne
hend) & iS ie als Complement
of -ve nombes:
iz Ct
cy OL 1 + Minund
See ee Ce 3-316 caenplemant-af Sabhohend
a Tod | o-
q.
Discard Fina canny
wath: answer & CO1O 3 (4216
oF O10] Hinuend
-4 -
TI DP _ F1OO 1 Bs complement of Subhahend
tlio
re k ista 1G”
 
| final Camy =o Thenfane, the answer te
Covnphernante foro gs Complement of Mtoe &G@ol 0) 62),
aig D010
os +1000
een 1o10
Fical casy-o : ‘
e as Nument ©
yo 2D carnpl f 1olo 110) 5 6),4
=)g
Lubhackon bang Onds Ceenplernent 2
Jn th, -ve no b veprorerted ty the I'S Complemen-fory
and aca) addttion i& Paformed te a desired rest
> hey Subbacton tS performed by adding Is complement of the
Subhahend to the rrinvend: :
ig qeamnated, the answer i in tue foro 2 Ave
~ aE Final Cars
Add cosa so tre siewlt bs {* the final reste
~ of Cowes tu nck qe nest & —ve
AS temperment:
ool oO — Hinuend
ey 4
=) 41010 — Ms comnplernent of Salchranend
answer sir
-13
+) 1000000
psec
—
©0000!
ose
oe dw i (000001), = (V0
 
+10 eae etic
ae
2 4+ 1001
+4 Jooll
'
Soon
0100
=
» Awe uo (eree), =U+) 105lodest 8(@)
| Conpadars & other drgttel one proves data tn Ine bit forvrel:
| Vawous inary codes a used to Tepresedt the le iohtch may te
Rumeric,aiphabels 6 Spectal chagacles Atthevah In Enany code vthed
the toforenedton is represented to binary foun, the inteprectattion f
trie binany iwformnation is powele if jhe Code in which the ‘nfoxmtion
available ts Known:
F-10000 00) represent “G5iL tin Aectenal) to StrughE
BP (decimal) In BED Code
“AY (abphatack) to ASCH code.
4 hecho
A user musk bbe very Care alcouk the code beng use:
‘interpret Sofermad on avallable tn binasy “jor
@ ae abe used
| exe Concedtion ke
da drgitcl Splems, cod
Crh detection «
   
 
bet ghted
codes, dave ee
\ “i
He pay
Binary Bep 7 Hemmin
8421 lective clement
Fx) a ahi "
Cecles
By Greny coe }
In leet ghted Cader, Each dtgit poston af no represents a Spee!
7 Non saghted codes ant vot aoegned vate ay weight” tz Each digit
Position
[athe codes vokich Constslé of beth numbers 5 alphabel are called
Aphanurnesie Caces
fie OEWhee akg snfrereon to rang fer 16 chamaited fom one oe
anothes, Cel | Syslem® an Seror cus, Te mainlaty the cola tnle-
YT between transmilen and vecerven Exlea bile & mere thame one
brk one added-
the dala along loilts the Exbia BIE[bIGT