Lessson 1
Lessson 1
College of Science
Computer Dept.
Higher Diploma
By
Aree Ali M.
2007
Computer Organization
and Architecture
Data movement
– e.g. keyboard to screen
Data
Storage
Facility
Data
Control
Movement
Mechanism
Apparatus
Data
Processing
Facility
Operations (2)
Storage
– e.g. Internet download to disk
Data
Storage
Facility
Data
Control
Movement
Mechanism
Apparatus
Data
Processing
Facility
Operations (3)
Data Control
Movement Mechanism
Apparatus
Data
Processing
Facility
Operations (4)
Data
Control
Movement
Mechanism
Apparatus
Data
Processing
Facility
Structure - Top Level
Peripherals Computer
Central Main
Processing Memory
Unit
Computer Systems
Interconnection
Input
Output
Communication
lines
Structure - The CPU
CPU
Computer Arithmetic
Registers and
I/O
Login Unit
System CPU
Bus
Internal CPU
Memory Interconnection
Control
Unit
Structure - The Control Unit
Control Unit
CPU
Sequencing
ALU Login
Control
Internal
Unit
Bus
Control Unit
Registers Registers and
Decoders
Control
Memory
Moore’s Law
Two steps:
– Fetch
– Execute
Buses
What is a Bus?
User Environment - OS layer transforms bare hardware machine into higher level
abstractions
Resource Management
– Time management
CPU and disk transfer scheduling
– Space management
main and secondary storage allocation
– Synchronization and deadlock handling
critical section, coordination
– Accounting and status information
resource usage tracking
History of Operating Systems
Pre-electronic
– Charles Babbage (1792-1871) “analytical machine”
– Purely mechanical, failed because technology could not produce the
required wheels, cog, gears to the required precision
First generation 1945 - 1955
– Aiken, von Neumann, Eckert, Mauchley and Zuse
– programming done via plugboards, no OS or language
– vacuum tubes
Second generation 1955 - 1965
– transistors more reliable than vacuum tubes
– jobs read in via punched cards
– batch systems introduced to reduce wasted time in setting up and
running jobs
History of Operating Systems
Spooling: read jobs from cards to disk ready to load into memory and
queue output to disk for printing
History of Operating Systems
Why multiprogramming?
– Increases CPU utilization by trying to always keep the
CPU busy processing some job
– I/O of one job causes switch to another job
Memory management – the system must allocate
the memory to several jobs.
CPU scheduling – the system must choose
among several jobs ready to run.
Allocation of devices.
Desktop Systems