COS 101 - Computer Architecture lab .ppt

EngQamhan 14 views 25 slides Jul 28, 2024
Slide 1
Slide 1 of 25
Slide 1
1
Slide 2
2
Slide 3
3
Slide 4
4
Slide 5
5
Slide 6
6
Slide 7
7
Slide 8
8
Slide 9
9
Slide 10
10
Slide 11
11
Slide 12
12
Slide 13
13
Slide 14
14
Slide 15
15
Slide 16
16
Slide 17
17
Slide 18
18
Slide 19
19
Slide 20
20
Slide 21
21
Slide 22
22
Slide 23
23
Slide 24
24
Slide 25
25

About This Presentation

Computer Architecture lab


Slide Content

COS110
INTRODUCTION TO
COMPUTER
ARCHITECTURE

Course Content
Course Content
IntroductiontoComputerHardware&Software,
OperatingSystem,ComputerNetworksandInternet.

Today’s Computer
Computer

Computer Model
Computer
Input: keyboard, mouse, scanner, punch cards
Processing: CPU executes the computer program
Output: monitor, printer, fax machine
Storage: hard drive, optical media, diskettes,
magnetic tape

Computer Components
Components

Computer Components
Components
CPU
Mother Board
Memory
HardDisk
Display
Keyboard
Mouse
PowerSupply
NetworkInterface

CPU
CPU
CPU –Central Processing Unit (Microprocessor)
consists of three parts:
Control Unit
•Execute programs/instructions: the machine language
•Move data from one memory location to another
•Communicate between other parts of a PC
Arithmetic Logic Unit
•Arithmetic operations: add, subtract, multiply, divide
•Logic operations: and, or, xor
•Floating point operations: real number manipulation
Registers
•CPU speed is influenced by several factors:
Clock speed:Megahertz, Gigahertz
Word size : 32-bit or 64-bit word sizes
Cache: Level 1, Level 2 caches
Instruction set size
Single Core/Multi Core

Processor Architecture
CPU

Multi-Core Processor Architecture
CPU

CPU
CPU
Desktop Processor: Intel (Pentium) Core 2
Duo/Quad, AMD Athelon (Dual/Quad Core)
Mobile Processor: Intel (Centrino 2) Core 2 Duo,
AMD Turion (Dual Core)
Server Processor: Intel Xeon Quad Core, AMD
Optron Quad Core, RISC (Reduced Instruction Set
Computer): IBM Power PC, SUN SPARC ..
Atom Processor

MEMORY
Memory
ROM:ForBIOS(BasicInputOutputSystem)
CMOSRAM:Battery-backedmemoryusedtostore
systemspecificparametersrequiredbythesystem
BIOStoboot.Italsostoresthesystemclock
information.
Cache:StaticRAMattachedtotheCPUandusedfor
storingcurrentdata.L1,L2,L3Cache
RAM:DynamicRAMandusedforstoringDataand
programs whichdisappearaftertask
completedorpowerturnedoff
Size:ex.512MB,2GB..
Speed:ex.533MHz,667MHz..
Type:ex.DDR2/3SDRAM(DoubleDataRateSynchronousRAM)
Packaging:DIMM,SIMM…

HARD DISK
Hard Disk
Magneticstoragedevice.It
storesdatabymagnetizing
particlesonadisk.
Usedtostoreoperating
system, application
software,utilitiesanddata.
Metal,plastic,orglass
platter(s)
2magneticsurfaces/platter
1ormoreplattersper
spindle
3,600–15,000rpm
1head/platter
Head(s)moveinandout

HOW DATA IS ORGANIZED ON DISK
Hard Disk
Tracks-
Circularareasofthedisk
Lengthofatrackone
circumferenceofdisk
Over1000onaharddisk
Datafirstwrittentoouter
mosttrack
Sectors-
Dividestrackssections
Cylinders-
Logicalgroupingsofthe
sametrackoneachdisk
surfaceinadiskunit
Clusters-
Groupsofsectorsusedby
operatingsystem
64sectorsinonecluster
Data storedinblocks
(pages)of.5to8KB

HARD DISK
Hard Disk
IDE:Obsolete,alsocalledPATA(ParallelAdvanced
TechnologyAttachment),I/ORate:16MB/soriginally
later33,66,100and133MB/s,
SATA(SerialATA):UsedinDesktops/Laptops,I/ORate:
1.5/3Gbps,5400/7200RPM
SCSI(SmallComputerSystemInterface):UsedinServers,
10/15KRPM,I/ORate:160/320MB/s
SAS(SerialAttachedSCSI):UsedinServers,10/15KRPM,
I/ORate:3Gbps
FC(FiberChannel):I/ORate4Gbps,Expensiveandusedin
Storage
iSCSI:I/ORate4Gbps,ExpensiveandusedinStorage
SolidStateDrive:non-volatileflashmemory

HARD DISK
Hard Disk
Low-levelformat-organizesbothsidesofeach
platterintotracksandsectorstodefinewhereitems
willbestoredonthedisk.
Partitioning:divideharddiskintoseparateareas
calledpartitions;eachpartitionfunctionsasifitwere
aseparateharddiskdrive.
High-levelformat:definesthefileallocationtable
(FAT)foreachpartition,whichisatableof
informationusedtolocatefilesonthedisk.

MOTHER BOARD
Mother Board
Holds CPU, memory, PCI bays, etc

CD/DVD Drive
CD/DVD
CD(CompactDisk)
Capacityis700to800MB
Opticalstoragedevice.DataisreadfromCDbyalaser.
Storesdataaslightanddarkspotsonthedisksurface.
Theyhaveanunlimitedlife-span.
RO&RWCDs
I/ORateisNxwhere1xis150KB/s,Read&Writespeedsarenot
same,upto52xspeedsavailable
DVD(DigitalVideoDisk)
4.7GB
RO&RWDVDs
I/ORateisNxwhere1xis1.35MB/s,Read&Writespeedsarenot
same,upto20xspeedsavailable
BluRay
Upto50GB
UserBlueLaser

Adaptors (Expansion Cards)
Adapters
UsePCIBus-PeripheralComponentsInterconnect
(32/64bit,DataTransferRate:133MB/s)
MiniPCI–usedinlaptops,32Bit,33MHz
PCIExpress–ReplacingPCI,32/64Bit,Data
TransferRate:8GB/s
Adapters(OftenIntegratedonMotherboard)
Video
Sound
NetworkInterfaceCard(NIC)
Modem
TVTuner

Power Supply
Power Supply
SMPS(SwitchedModePowerSupply)
ACmainsinputisconvertedtoDCvoltagewhich
feedstheMotherboard,drivesandotherdevices.
ATX(AdvancedTechnologyExtended)
Generally90-250watts

DISPAY
Display
CRT ( Cathode Ray Tube)
Electron Gun & Florescent Screen
Single Gun for Monochrome and 3 Guns for Colour Screen
LCD (Liquid Crystal Display)
About blocking light when not needed
TFT LCD (Thin Film Transistor LCD)
19” in Desktop and 15” in Laptops
Power Consumption
CRT –110 watt
LCD –30-40 watt
Colour Depth: 65,000 colours, 24 million colours
Resolution: 1024x768, 1280x1024, 1600x1200

KEYBOARD
Keyboard
101-key Enhanced keyboard
104-key Windows keyboard, 3 more keys.
Press the Key -Detect the position on the key matrix
(16 bytes)

MOUSE
Mouse
Mechanical
Use two rollers (one vertical and one horizontal) to track
motion
Rolled by the Track ball
Optical
Use a tiny camera to tracking the motion
LED (red light beamer)
IntelliMouse
Extra wheel

Network Interface
NIC
10/100/1000IntegratedNetworkInterface
802.11a/b/g/nWirelessInterfaceinLaptops

I/O Ports
I/O Ports
Parallel port
Parallel because it can move a whole byte at a time
Mainly used for connection to a printer
Serial port (Com port)
One bit at a time--Uses thin cable
Universal serial bus (USB) replaces those
4 wires (2 for power & 2 for communication)
Upto 60 MB/s
USB Pen Drives, Printers, External Disks, Drives etc.

Printers
Printers
LaserJet (Mono & Colour)
Inkjet
Dot Matrix
Line
Tags