2/15/2008 1
FIT100 FIT100 FIT100
Pro g ra mming
- Why is pro g ra mming fun?
- F
ina lly, the re is the de lig ht o f wo rking in suc h a tra c ta b le me dium. T he pro g ra mme r, like the t k l li htl d f po e t, wo rks o nly slig htly re -mo ve d fro m pure tho ug ht-stuff. He b uilds his c a stle s in the a ir, fro m a ir, c re a ting b y e xe rtio n o f the ima g ina tio n. F e w me dia o f c re a tio n a re so fle xib le , so e a sy to po lish a nd re wo rk, so re a dily c a pa b le o f re a lizing g ra nd c o nc e ptua l struc ture s. Source: Frederick P. Brooks, Jr. The Mythical Man-Month Essays on Software Engineering.
FIT100 FIT100 FIT100
Anno unc e me nts
- No c la sse s a t UW o n Mo nda y
∗ Pre side nt’ s Da y
- Se e the c o urse c a le nda r fo r upda te s
- Se e the c o urse c a le nda r fo r upda te s
to re a ding s
- Ne w e xtra -c re dit la b 9 ha s b e e n
linke d
- T
W la b s fo r the ne xt two we e ks: wo rk o n pro je c ts, whic h a re due o n We dne sda ys a t 11pm. FIT100 FIT100 FIT100
F
- llo wing I
nstruc tio ns
Princ iple s o f Co mpute r Ope ratio n, o r H
- w Co mpute rs
Wo rk FIT100 FIT100 FIT100
I nstruc tio n E xe c utio n E ng ine s
- Wha t c o mpute rs c a n do
∗ Pe rfo rm o r e xe c ute instruc tio ns to pro c e ss info rma tio n
- T
he c o mpute r must ha ve instruc tio ns to fo llo w
9-4
T he c o mpute r must ha ve instruc tio ns to fo llo w
Short list!
FIT100 FIT100 FIT100
I nstruc tio n E xe c utio n E ng ine s
- Wha t c o mpute rs c a n't do
∗ Ha ve no ima g ina tio n o r c re a tivity ∗ Ha ve no intuitio n
9-5
∗ Ha ve no se nse o f iro ny, sub tle ty, pro po rtio n, de c o rum, o r humo r ∗ Are no t vindic tive o r c rue l ∗ Are no t purpo se ful ∗ Ha ve no fre e will ∗ Re c e nt mo vie s: T e rmina to r, Ma trix, AI Long list!
FIT100 FIT100 FIT100
Ana to my o f a Co mpute r
- Co mpute rs ha ve five b a sic pa rts o r sub syste ms
∗ Me mo ry, c o ntro l unit, a rithme tic / lo g ic unit (AL U), input unit, o utput unit
9-6