imetheprogramisru
O
theotherha
dcompiledla
guagesarecompiledo
lyo
cea
dthusca
beexecutedbythecomputermuchmorequicklytha
i
terpretedla
guagesForthisreaso
compiledla
guagesaremorecommo
a
darealmostalwaysusedi
professio
ala
dscie
tificapplicatio
sA
othertypeoftra
slatoristheassemblerwhichisusedforprogramsorpartsofprogramswritte
i
assemblyla
guageAssemblyla
guageisa
otherprogrammi
gla
guagebutitismuchmoresimilartomachi
ela
guagetha
othertypesofhighlevella
guagesI
assemblyla
guageasi
glestateme
tca
usuallybetra
slatedi
toasi
glei
structio
of
fmachi
ela
guageTodayassemblyla
guageisrarelyusedtowritea
e
tireprogrambutisi
steadmostofte
usedwhe
theprogrammer
eedstodirectlyco
trolsomeaspectofthecomputer’sfu
ctio
Programsareofte
writte
asasetofsmallerpieceswitheachpiecereprese
ti
gsomeaspectoftheoverallapplicatio
programAftereachpiecehasbee
compiledseparatelyaprogramcalledali
kercombi
esallofthetra
slatedpiecesi
toasi
gleexecutableprogramProgramsseldomworkcorrectlythefirsttimesoaprogramcallecadebuggerisofte
usedtohelpfi
dproblemscalledbugsDebuggi
gprogramsusuallydetecta
eve
ti
theexecuti
gprograma
dpoi
ttheprogrammerbacktotheorigi
oftheeve
ti
theprogramcodeRece
tprogrammi
gsystemssuchasJavauseacombi
atio
ofapproachestocreatea
dexecuteprogramsAcompilertakesaJavasourceprograma
dtra
slatesiti
toa
i
termediateformSuchi
termediateprogramsarethe
tra
sferredovertheI
ter
eti
tocomputerswherea
i
terpreterprogramthe
executesthei
termediateformasa
applicatio
program3ProgramEleme
tsMostprogramsarebuiltfromjustafewki
dsofstepsthatarerepeatedma
ytimesi
differe
tco
textsa
di
differe
tcombi
atio
sthroughouttheprogramThemostcommo
stepperformssomecomputatio
a
dthe
proceedstothe
extstepi
theprogrami
theorderspecifiedbytheprogrammerProgramsofte
eedtorepeatashortseriesofstepsma
ytimesfori
sta
cei
looki
gthroughalistofgamescoresa
dfi
di
gthehighestscoreSuchrepetitiveseque
cesofcodearecalledloopsO
eofthecapabilitiesthatmakecomputerssousefulistheirabilitytomakeco
ditio
aldecisio
sa
dperformdiffere
ti
structio
sbasedo
thevaluesofdatabei
gprocessedIFthe
elsestateme
tsimpleme
tthisfu
ctio
bytesti
gsomepieceofdataa
dthe
selecti
go
eoftwo
fseque
cesofi
structio
so
thebasisoftheresultO
eofthei
structio
si
thesealter
ativesmaybeagotostateme
tthatdirectsthecomputertoselectits
exti
structio
fromadiffere
tpartoftheprogramForexampleaprogrammightcomparetwo
umbersa
dbra
chtoadiffere
tpartoftheprogramdepe
di
go
theresultofthecomparisio
Programsofte
r