OG RAMM) NG
Algorithms
An
algorithm
coat - ale
fone a epeeigie ped
4a slep—by-slep proce
jucliens cles: te
am or perjorm computation,
rithms are 4
undation of
F bling computuns 1
execute Lasre efficiently .
Example + Asking. a wien for an email addres
A probably ane of Ah MoH commen fp4ks
a Web-bated. program might need to de, 4° that
fe ehak Gt 4 example hee.
skpfoxm +
this form of algorithm 44 the! dtmplast and
consis of 0 Aequence of numbed steps ex pelo
using Gxt. Sk is) the eases to haan at fiat
dink ib ds rather, Uke a “donde” Mik.
Sep 4: Skok
dep os creas o vosiabl. to deceive Yu wind
email addres.
clean, Hee vartable in care its mot empty
cps The Us fet aun email addaus .
Hep 5+ cow toe Aesporue 2 ae ‘
Bie cheer shoud tepenre to See if iF 0
valid address .
thep 1: not valid ? Go back to stip 3.
Hep Bt Endivene bau
Hep 8?
| stepsRee Gig ate of our example is jure
a mumberad L- 4 atops Oda oe ue
Stating exactly ewhal we wont de
“to oo. om slip 7 © ducision mune be mors »
ame cipending. on te Atsulk of SC ae
ub Slips may mol go ee
4p end.
s P flovchort- i the qraplicos ~
pictorial repruentation of om algerithen oil
the hulp Lixtret” aymbols, shapes oud
arrows in Cider to demonstrate » PO"
BLO progam. th mal a
BPriesamalyee Aitesonic procitet., Ales
amdasd graphics ax, applied ca esthast.
a Ld Snpuk and oukpak.
PR ons Grace Irene
Tie tan fbn
Dhe aboot,” email adds” enample cm be
ayvresentid ae
a é Cike a map o Aout) as Shown+4
basic Componen® der memory vusitary
fer CPU.
gn thes generation, mainly
operating Sy lam was wd, |
c
—
balch proening
cards, Papert tapes ana m
punch
tape was used as impul- and oulpuk duvices,
*the computor in Abs gemuatien ured
maciime Code 2 Abe programmiang.
language. :
the period o} Aeiotd goreaation was
fiom (959-1965. On Ahin- tion , rramslstors
Deus ured thale we cheaper consumed 40
Dn Bi OL
fester, Ahan, the fie
ation machines mMaol. Up of
dn thy eneaton , axembly
| language amok duigh - Level programming
| Languages like, FORTRAN, COBOL: were Used,
Third Generation ¢
wm owenr*
"the patod of third genvation was from
(965-1971. he Compulars 4 thind :
wad in A dreuilg 4n plac of transishors.
A Bngh- Te -hos many taamsis tors asgistors ,
and Capacitors along with te anociated
Ghecubiiee a ‘ Ss
vaccum tubes. |eee s
$n thes 9tneration Aemots proceszing tim
operating Byslim were wed,
mulliprogaammin
-1| +0 Iv, COBOL,
High- Level languages (FORTRAN
PL)2, Basic, ALaor.-6? eke) were
PASPL »
used duaing this Gervation.
Fourth Genuation +
Se DR
the period of, fourth qemmration was
from 1971 - 1980 Compulis of four generakion
used Verw Large Scale dntignated (visi) cirayes
having about 5000 Transigtets and Hur
cireit elements ustth Hu axouabs drauiG
CNA ging Chip mace tt portibte to have
midocomputes 4 foukh Geruation ,
Foust guraralion Computus became more
Powers ful, compack, gebialee andl affordable.
As a Auguit th gave pipe to Pesonal empulirs
(PE) Atvolution. $n this gennation , Hore Shoring.
meal Hme nebootks , oistibulicl Seem
-Ww
system Wwe used, Al) the high
ice (OC. DBAGE ete osert
lamgua :
| Useel in this genration:
"fisth Denes
; i ‘on 43 1980-Hl|
ae period eo wish ia SLA technology
‘Andy tian elon is ;
aa ULSI -Culhra Lange. Seoli dntegeation )
technology aculting. tn the feerlarstaag ci
my) wo pre we or chips having ten millon
Clachoni & component .
“nis qemeration 13 based om poraitslamd AT art tak
AL 2 am 2 ying |
BP
, om Aesulling
Dramch in compu ler SUenk, a
the procluction of muro procs 4
ten million elechonic com penaal3,
thes generation 4s based on porate
chips
having
PROcexing hardware and AL (AsHfual
Sn Bluigence) Soptvoare . AL 42 am emuging.
; : 3 a,
branch in Computin Suen, Ustch
In 2th tre means and metod of
making computur think Uke Auman beings.
All hig, Level danguages ake © aundc+t,
Jove, ‘Nek ase ured in thd generation -
Classrpreation oh (ae eemese a) hanpuages 2
All the computir programme
languages Are broadly classified drt? the
lasing :
ZF Mading Language
7? fasembly leet Language
7 High - Level Language.
achine urek danguoger (Firat Generation
sh Prptaron dng alias
Sts Are lower Level amd named a3
fiat Gerwalion of Proparnraing, language.
Machine level Language Ces only Jagtu. (1) or fale Co
>)
£4 Known 4 binay
tim could undeuitind
conditim se ef ther,
dhis type of Language
language A computer Sy¥6
only bin Language je alt the iniluchon
ded into Abt compulin tam must be in He
4s 4 O ol. Macluine devel Language UL
ery tougl tp unduutand by the urnaul
advantages a machin tv Language *
) mache Sorrel Lamgragr Ok darsclty-
inthacting with compu system.
2) thus is 0 auquitemont df Sopa’ 4}
conversion Alke Compilns oF interpretins |
3) St takes VO Lua time
becaure hae by 10 comosion tos plac.
Bisadrambages of machine tangenge
) Sk 4 machine dipendunte Aaquage pe
individwol program Arquioed te each maduuc.
2) do davelop 2 peopam in machine Language,
its 00 hard to undwsland and progiam.
s) 96 dime consuming “4° durelop 142musk
fakes a part in
and compute, 4
Ialwuchowy Ito ie. machine Language
Awembler Bs Boftwain Or a Bete of 1 .
LN tromlats adem ble Rowrguose
PO pomming. Jnsteuchon !Mto the machine
n
ae mane .
For exampl, ADD RL,R2 here, Ap
(8 & mnemonic wode Ht adds tHe Values
Preeml- in deg hclans Rie.
Advantages oh Assembly hanguage :
) Jk 2 easily undostood by human because
it 2§ Uses