0 ratings0% found this document useful (0 votes) 60 views6 pagesIe1005 Notes (Lo1)
IE1005 From computational Thinking to Programming. Week 1 notes
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
Computer Systems
Pe
Hardw ave. | Sees
(ey. Mowitov, Movse,,efe-), Coy, proqyows )
Component system Application,
~ Operatiy Systems ee useful 10
eee Ea! | Cos) | wast Wsers
'bPramowy ove, | Lemos inngt SoM ine <
movone retowvett iia
on | ok counputev Rrocestove,
~ Contos Pracetsivay Veit * Main World wide
we (cru) Boawad | ~Utiity Prograuns ca
loved |
| ~ Sohwewve Developer
Morin
= Seeondary Storage (outride fod) Toe
45 ea. Had Disk , Tum dives
“Input Dewees
“Output DevicesMAIN MEMORY
Tastwuctions to be excated
O To store + dota 40 be wanipuotta
procestiva, vests
% Information stored in binary digits (bits) — Ler 0 | of wv 0,
B bits = | byte e~wewon cell
av
Vee caw
Ee e\\ has
ald \ byte ele Aes
of data bea a
Con inteagn valve)
®@ Asso nonn os Rondon Access Memory (RAM)
beady memory call can be auewed divecthy
Ye memory S12 measurement — Kilobytes (ke)
i megabytes (mp)
ovky for memory Size | LK gigabytes (GB)
\KB= 2 Wes = (o2e bytes
IMB= Powis = 1924 KB
IGBR = bytes 2 1924 MB.
Lp high-speed memory Stores data temporowily
se NOlatile (lose data when power cut)
™
S expensiveTREAD - ONLY Memory|
ee boot up instructions
ROM stoves dala pervanently
stove critical system
instructions
O con only vead from NO} vovitten 10 q
Le data physically encoded in civeut > Aifiudlt to waodity
ANTHMETIC LOGIC UNIT
AWA fudomonitod componers of CRU
7 boctamnehic operations (4, +, x)
O22
Perform,
S bogical operations Compare, and, ov ,not ,etc-)
CONTROL UNIT
© corwo\s flow of Mnstructions 4 data from 4 +0 memoy
Ga Cru)
|
|
|
|
Otwis AW wrot opevation to perf on gata
Dmewory COs tn CRM tw allows very vapid wets of dota
by AWA 4 covdvol unit
SECONDARY _S T/O DEVICES
Doneop 4 permanent storage of dota
Lee. Howd Disks , Flash Drives , PYD , etc:
D inp pevices + keyboard , mouse , vaiorophout | Ge:
© ovtprd Pewices monitor , Speaker, printew, eC:Dron: vdlaie memory War com be evastd 4 "rae
© Storage & Wanster of data between diqt derees
be memory cards
Louse (ash dives (tq. uw dvig , USB Shick et)
Yoru RAM & HARD DIsk_INTERACTION
q
¢
[ava Disk} ala done
Pe
Avonsteneh 40 RAM Oro 4 hn
@ore wstuchon A associgted
A data Fede from RAM ty oy
oF ony One Here,
@ Fined results over @AW computes 4 suey
traustewed back to inteawediatt. results
RAM ™ reqistevs (in uy
OPERATING SYSTEM
Olowded iutto RAM vate, booting (Slavting) congutey
Oeworudvols accest to wowputey,
OFivod vesuits tite,
DeEntovce Secunty A privacy of files
@arocotee 4 manage witimovy , CPU resouvces, ek
swells wser fron Complexity of computer bad nave
meg Wiedows , UNIX inv) , Mac 08,FraQOHnn, MAUINE LANGUAGE |
© sei of imstruchore dengned 4
mowutoctured into every CPA,
Wnique te dap decgn connpany
detontd 4 exact instructions
yo Solve a New Codeh
using [Prager Torquenp,
forms Ja CaMpRerIprogra. JO only lorquont “wndevstood*
4 Han Lee by vomputer
Ley cts Sowa
© consists of Oe B Is
PROGRAMMING PROCESS
DEngih words —> easy for huwons
O Problem Solu 6 |
Problem specification Need compile 40 convert into
CNet)
iv madame longuoae
Problem Avaly ais © Portable (not winigye 40 ony CH)
y PQ. C, GA, FORTRAN, Python, ete
Algoritinne Design
@stvid lowgoee. shardowds
(sytoxe)
eurtatiovy
Ohne mes deviations result tn Sytox Eves
Coding, —» Testing -DMawrtononie
ERT COMPILE & LINK CYCLE
tor Create sowee ‘own,
@ sek of prenisey stated, faite © Progam easter esa
seqrernce Of ateps To Solvea (xxx.c)
poben © Compiler T° Aramslate (to madawe
\ C .0
O most Adffeult port of problem joverone. (xxn-0)
tol SS ihe ines
nna, proces Ohinkew object Ale oer nee
8 OUAVONOnTS CKAK EXE) CxccuteE
Witten in pseudousde Fle
informal Evefishelitet dHatewer > Intqvoted Dewlopmest Environment
stan QUE)
2 es eee) DO bei an
4 gefice Aricent
so, = Fini B
> Bag = Error , Debugging * Fixing & Bug
: Compiles Con
sire erirs Bares Oe le
© Lagical Ervovs :wvomg fmula [alepntan , et. :
trpreqyeinn wil in but all ach at Ogee cag
© Ruptimne Ewart: Ervor wen extewlivt) Pragtawn (+h) an