SlideShare a Scribd company logo
1 of 64
CHAPTER 1
THE COMPUTER
SYSTEM
1
WHAT IS COMPUTER??????
A computer is a device that accepts
information (in the form of digitalized
data) and manipulates it for some result
based on a program or sequence of
instructions on how the data is to be
processed.
2
COMPUTER ARCHITECTURE
• Concerned with the way the hardware
components operate and the way they are
connected together to form the computer
system.
• The various components are assumed to be in
the place and the task is to investigate the
organizational structure to verify that the
computer parts operate as intended.
COMPUTER ORGANISATION
4
• Concern the way hardware components operate and
the way they are connected together to form the
computer system.
• Concerned with the structure and behavior of the
computer as seen by the user. It includes the
information format, the instruction set and techniques
for addressing memory.
• The architectural design of a computer system is
concerned with the specifications of the various
functional modules, such as processors and
memories and structuring them together into a
computer system.
3
is about component that linked with
operational unit of a computer
system
Example : hardware technology,
interface, memory technology and
control signal.
organisation may change as rapid
changes of technology
is about attributes in computer
system as viewed by programmer
and have a direct impact to logic
execution of a program.
Example : instruction set, arithmetic,
addressing modes and input output
mechanisme.
architecture may maintained for hundred
years
one computer model, for example Intel
x86; may maintained its architecture but
differ in its organisation
Computer OrganisationComputer Architecture
COMPUTER ARChITECTURE
6
COMPONENTS IN MICRO COMPUTER
SySTEM
7
Organization of Computer
8
BASIC COMPUTER OPERATION
9
• provide instruction or data to the system
• In order for a computer to receive the
requests and instructions of the user,
some methods of inputting data and
information to the computer are required.
Input devices
10
• Needs to display the result to the user
• to communicate with the user and display
information that is being worked on, output
device is required
Output devices
11
Memory/main memory
• Used to store instruction or data
• Operation on data requires access for more than one
time, so data and instruction have to be stored
temporarily
External storage
• backing store or secondary memory, allows the
permanent storage of large quantities of data
storage
12
• the central brain of the PC
• Referred as central processing unit(CPU)
• majority of the operations of the computer
are handled by the processor
• contains ALU, registers and control unit
processing
13
control
Control the processing of instructions and
the movement of data from one part of the
CPU to another
14
• Arithmetic and Logic Unit (ALU)
- where arithmetic and Boolean logical calculations
are performed (arithmetic, logic and comparison)
• Control Unit
- controls the flow of information through the
processor, and coordinates the activities of the
other units within it
• Central Processing Unit(CPU)
- brain of any computer system
- execute programs stored in the main memory by
fetching, examining and executing instruction one
after another
How ALU,CU and CPU control the
operation of computer????
15
Basic
computer
functional
unit
• Propose byPropose by John Von NeumannJohn Von Neumann
• Apply stored- program conceptstored- program concept
– Stored-program concept- data and program storedStored-program concept- data and program stored
in the same memoryin the same memory
• Von Neumann architecture based on 3 key concept:
Data and instruction are stored in a single read-
write memory
Content of the memory are addressable by location,
without regards to the type of data contained there
Execution occurs in a sequential fashion(from one
instruction to the next)
VON NEUMANN MACHINE
16
VON NEUMANN MACHINE
Structure of the IAS Computer
17
VON NEUMANN MACHINE
 It consists of
A main memorymain memory which stores both data
and instruction
An arithmetic and logic unit(ALU)arithmetic and logic unit(ALU) capable
of operating on binary data
A control unitcontrol unit, which interprets the
instruction in memory and causes them to
be executed
Input output(I/O)Input output(I/O) equipment operated by
control unit
18
• Is a communication pathway connecting major computer
components such as CPU, memory and I/O unit
System Bus(internal bus)
Bus Interconnection Scheme
19
• A data bus simply carries data.
• Internal buses carry information within the
processor, while
• External buses carry data between the
processor and the memory.
• Typically, the same data bus is used for
both read/write operations.
DATA BUS/LINES
20
• A path for moving data between system
modules
• Data bus consist of 32 to hundreds lines,
lines referred as width of data bus
• Width of data bus determine the overall
system’s performance
DATA BUS/LINES
21
• Used to indicate the source or destination of
data on the data bus
• e.g. CPU needs to read a word of data from
memory, it puts the address of desired word on
the address line
 Bus width determines maximum memory
capacity of system(number of address locations
that can be accessed)
ADDRESS BUS
22
• Microprocessor uses control bus to
process data, that is what to do with the
selected memory location.
• Some control signals are Read, Write and
Opcode fetch etc.
CONTROL BUS/LINES
23
• Control the access and the uses of data
and address line. Provide timing
information
– Memory read/write signal
– Interrupt request
– Clock signals
CONTROL BUS/LINES
24
LOCAL BUS
BUS SPEED COMPARISON
Bus
type
Width
(bits)
Speed
(MHz)
Total Data
Rate (MB/Sec)
ISA
EISA
VL-bus
VL-bus
PCI
PCI
PCIe
16
32
32
32
32
64
Serial
8
8
25
33
33
33
16
32
100
132
132
264
250 per lane
25
Peripheral Bus
(external/expansion bus)
• Electronic pathways that connects the
different external devices, peripherals,
expansion slots, I/O ports and drive
connections to the rest of the computer
• allows various devices to be added to the
computer(computer capacities increased)
• Slower than internal bus
26
Types of external busesTypes of external buses
ISA
 Introduced by IBM, ISA or Industry Standard
Architecture
 originally an 8-bit bus and later expanded to a 16-bit
bus
 still in use because it's cheap and for backwards
compatibility
16bit ISA Card
16bit ISA Slot
27
PCI(Peripheral Component
Interconnect )
Introduced by Intel in 1992
32-bit or 64-bit expansion bus
most popular expansion bus use in today's
computers
PCI Card
PCI Slot
28
USB (Universal Serial Bus)
most popular form of bus use today
USB is hot swappable
USB can daisy chain up to 127 devices
USB Speeds
USB 1.0 supports 1.5Mbps
USB 1.1 supports 12Mbps
USB 2.0 supports up to 480Mbps
USB 3.0 supports up to 4.8Gbps
USB A
Connector
USB B Connector
29
AGP (Advanced Graphic Port)
Introduced by Intel in 1997
32-bit bus or 64-bit bus designed for the high
demands of 3-D graphics
has a direct line to the computers memory
which allows 3-D elements to be stored in the
system memory instead of the video memory
fastest expansion bus in use but its only for
video or graphics environment
AGP Card
AGP Slot
30
Cache MemoryCache Memory
31
Cache MemoryCache Memory
Cache memory, is a fast RAM system designed to
hold data recently accessed from the disk drive that
the microprocessor may need again.
The cache contains a copy portion of the main
memory
When the processor attempts to read a word of
memory , a check is made to determine if the word
is in cache. If so the word is delivered to processor.
If not a block of main memory is read into cache
and the required word is transferred to processor
32
Cache MemoryCache Memory
33
Cache and Main Memory
Address/ cache mappingAddress/ cache mapping
34
- Is the way to map/place main memory blocks
into cache slots
Commonly used methods:
 Associative Mapped Cache
 Direct-Mapped Cache
 Set-Associative Mapped Cache
Address mappingAddress mapping
35
Associative Direct
Set-Associative
Address mappingAddress mapping
36
Direct
- Simplest technique
- maps each block of the main memory
into one possible cache line
37
Address mappingAddress mapping
38
Associative
- No restriction on mapping from M to C.”
Associative search of tags is expensive.
Feasible for very small size caches only.
- overcome the disadvantages of the
direct mapped by permitting each main
memory block to be loaded into any line
of cache
39
Address mappingAddress mapping
40
Set Associative
- combines the strengths of both direct
and associative approaching
41
Input /Output in computerInput /Output in computer
systemsystem
an element of computer system
composed of two parts
oInput unit-providing input to processor
oOutput unit-receiving output from processor
Provide interaction with outside world
42
Block diagram i/o unitBlock diagram i/o unit
43
Input and Output DevicesInput and Output Devices
Input devices
-human data entry devices and source entry devices
-human entry devices(keyboard, mouse, joystick, digitizing
tablet,..)
-source entry devices(microphone, soundcard, video camera,…)
Output devices
-hardcopy and softcopy devices
-hardcopy devices(printer, plotter)
-softcopy devices(monitor, visual display terminal, video output,…)
44
Input/output module(interface)Input/output module(interface)
 Provides a method for transferring information between internal
storage (such as memory and CPU registers) and external I/O
devices
 Resolves the differences between the computer and peripheral
devices
1) Peripherals - Electromechanical Devices
CPU or Memory - Electronic Device
2) Data Transfer Rate
»Peripherals - Usually slower
»CPU or Memory - Usually faster than peripherals
3) Unit of Information
»Peripherals – Byte, Block, …
»CPU or Memory – Word
So, some kinds of Synchronization mechanism may be needed
45
Input/output modulediagramInput/output modulediagram
46
Input/output ModuleInput/output Module
Major function:-
Control and timing
Processor communication
Device communication
Data buffering
Error detection
47
Generic Model of I/O ModuleGeneric Model of I/O Module
48
I/O StepsI/O Steps
•CPU checks I/O module device status
•I/O module returns status
•If ready, CPU requests data transfer
•I/O module gets data from device
•I/O module transfers data to CPU
49
Input Output TechniquesInput Output Techniques
•Programmed
•Interrupt driven
•Direct Memory Access (DMA)
50
Programmed I/OProgrammed I/O
•CPU has direct control over I/O
–Sensing status
–Read/write commands
–Transferring data
•CPU waits for I/O module to complete
operation
•Waste the CPU time
51
Programmed I/OProgrammed I/O
*i/o will not alert or
interrupt the CPU
52
Interrupt-Driven I/OInterrupt-Driven I/O
able to overcome programmed I/O
disadvantages
CPU have to wait for a long time for I/O
module
CPU issue an I/O command to a module and
will go on to do other useful work. I/O will
interrupt the CPU when it is ready for
exchange data. The CPU execute the data
transfer and resume to its former processing.
53
Direct Memory AccessDirect Memory Access
Draw back of programmed and interrupt
driven I/O
I/O transfer rate is limited
Processor is tied up in managing an I/O data transfer.
When dealing with a large volume of
data, more efficient method are
required-DMA
54
Direct Memory Access(DMA)Direct Memory Access(DMA)
•Transfer large amounts of data at high speed without
continuous intervention by the processor
•Special control circuit required in the I/O device
interface, called a DMA controller
•DMA controller keeps track of memory locations,
transfers directly to memory (via the bus)
independent of the processor
55
Direct Memory Access(DMA)Direct Memory Access(DMA)
 when processor wishes to read/write, it send the
command to DMA module by issuing information
as:-
 Direction of transfer,read(I/O memory) or write (memory I/O)
 Address of the I/O device involved
 The starting location of the block of the data in memory
 The size of the block to be transferred
The processor continue with other work. It has
delegated this DMA module.
56
Direct Memory Access(DMA)Direct Memory Access(DMA)
DMA module transfers the entire block of
data, directly from memory without involving
processor.
After completing the data transfer, DMA
modules sends interrupt signal to the
processor.
Processor only involved in beginning and end
of the transfer
57
ADVANTAGESOF USINGADVANTAGESOF USING
DMADMA
◦ DMA can reduce the CPU waiting time of
both IO operations.
◦ DMA allows a peripheral device to read
from/write to memory without going through
the CPU
◦ DMA allows for faster processing since the
processor can be working on something else
while the peripheral can be populating
memory.
58
59
Serial AND PARALLELSerial AND PARALLEL
CommunicationCommunication
 Serial communication is the process of sending
data one bit at a time, sequentially, over a
communication channel or computer bus.
  Parallel communication, where several bits are
sent as a whole, on a link with several parallel
channels.
60
61
AsynchronouscommunicationAsynchronouscommunication
Data is transmitted one byte at one time
High amount of overhead(effect on the
computer’s performance)
62
SynchronousSynchronous
All communication can happen at the same
time
Data is transmitted as frames of large data
blocks rather than a bulky individual bytes
More efficient method and costly compared to
asynchronous
63
64

More Related Content

What's hot

top level view of computer function and interconnection
top level view of computer function and interconnectiontop level view of computer function and interconnection
top level view of computer function and interconnection
Sajid Marwat
 
Dokumen.tips tmk tahun-4-dunia-komputer-unit-1-komputer-dan-fungsinya
Dokumen.tips tmk tahun-4-dunia-komputer-unit-1-komputer-dan-fungsinyaDokumen.tips tmk tahun-4-dunia-komputer-unit-1-komputer-dan-fungsinya
Dokumen.tips tmk tahun-4-dunia-komputer-unit-1-komputer-dan-fungsinya
tamanmidah
 
Peripheral computer hardware
Peripheral computer hardwarePeripheral computer hardware
Peripheral computer hardware
bbp2067
 
Csc1401 lecture06 - internal memory
Csc1401   lecture06 - internal memoryCsc1401   lecture06 - internal memory
Csc1401 lecture06 - internal memory
IIUM
 

What's hot (20)

An Introduction to Operating Systems
An Introduction to Operating SystemsAn Introduction to Operating Systems
An Introduction to Operating Systems
 
SCSI(small computer system interface)
SCSI(small computer system interface)SCSI(small computer system interface)
SCSI(small computer system interface)
 
BAB 1 Asas ict
BAB 1 Asas ictBAB 1 Asas ict
BAB 1 Asas ict
 
pengenalan os
pengenalan ospengenalan os
pengenalan os
 
top level view of computer function and interconnection
top level view of computer function and interconnectiontop level view of computer function and interconnection
top level view of computer function and interconnection
 
Perkakasan komputer
Perkakasan komputerPerkakasan komputer
Perkakasan komputer
 
Dokumen.tips tmk tahun-4-dunia-komputer-unit-1-komputer-dan-fungsinya
Dokumen.tips tmk tahun-4-dunia-komputer-unit-1-komputer-dan-fungsinyaDokumen.tips tmk tahun-4-dunia-komputer-unit-1-komputer-dan-fungsinya
Dokumen.tips tmk tahun-4-dunia-komputer-unit-1-komputer-dan-fungsinya
 
04 cache memory.ppt 1
04 cache memory.ppt 104 cache memory.ppt 1
04 cache memory.ppt 1
 
Peripheral computer hardware
Peripheral computer hardwarePeripheral computer hardware
Peripheral computer hardware
 
Arsitektur komputer
Arsitektur komputerArsitektur komputer
Arsitektur komputer
 
Computer Organization and Assembly Language
Computer Organization and Assembly LanguageComputer Organization and Assembly Language
Computer Organization and Assembly Language
 
Csc1401 lecture06 - internal memory
Csc1401   lecture06 - internal memoryCsc1401   lecture06 - internal memory
Csc1401 lecture06 - internal memory
 
Makalah ubuntu server
Makalah ubuntu serverMakalah ubuntu server
Makalah ubuntu server
 
Operating Systems - memory management
Operating Systems - memory managementOperating Systems - memory management
Operating Systems - memory management
 
Subnetting IPv4 dan IPv6
Subnetting IPv4 dan IPv6Subnetting IPv4 dan IPv6
Subnetting IPv4 dan IPv6
 
POLITEKNIK MALAYSIA
POLITEKNIK MALAYSIAPOLITEKNIK MALAYSIA
POLITEKNIK MALAYSIA
 
Assembly Language Programming
Assembly Language ProgrammingAssembly Language Programming
Assembly Language Programming
 
Computer memory
Computer memoryComputer memory
Computer memory
 
Ip address
Ip addressIp address
Ip address
 
Multiprocessor architecture
Multiprocessor architectureMultiprocessor architecture
Multiprocessor architecture
 

Similar to POLITEKNIK MALAYSIA

Chapter 02 system unit csc & tts
Chapter 02 system unit csc & ttsChapter 02 system unit csc & tts
Chapter 02 system unit csc & tts
Hisyam Rosly
 
Computer Organization and Architecture.pptx
Computer Organization and Architecture.pptxComputer Organization and Architecture.pptx
Computer Organization and Architecture.pptx
AshokRachapalli1
 

Similar to POLITEKNIK MALAYSIA (20)

Unit 1. introduction
Unit 1. introductionUnit 1. introduction
Unit 1. introduction
 
ch1.pptx
ch1.pptxch1.pptx
ch1.pptx
 
Computer System Architecture
Computer System ArchitectureComputer System Architecture
Computer System Architecture
 
Computer Architecture and Organization.pptx
Computer Architecture and Organization.pptxComputer Architecture and Organization.pptx
Computer Architecture and Organization.pptx
 
Microprocessor
MicroprocessorMicroprocessor
Microprocessor
 
Bindura university of science education
Bindura university of science educationBindura university of science education
Bindura university of science education
 
Basics of Computer! BATRA COMPUTER CENTRE IN AMBALA
Basics of Computer! BATRA COMPUTER CENTRE IN AMBALABasics of Computer! BATRA COMPUTER CENTRE IN AMBALA
Basics of Computer! BATRA COMPUTER CENTRE IN AMBALA
 
Chapter 1.pdf
Chapter 1.pdfChapter 1.pdf
Chapter 1.pdf
 
IS 139 Lecture 5
IS 139 Lecture 5IS 139 Lecture 5
IS 139 Lecture 5
 
Coa module1
Coa module1Coa module1
Coa module1
 
coa-module1-170527034116.pdf
coa-module1-170527034116.pdfcoa-module1-170527034116.pdf
coa-module1-170527034116.pdf
 
Microprocessor
MicroprocessorMicroprocessor
Microprocessor
 
Chapter 02 system unit csc & tts
Chapter 02 system unit csc & ttsChapter 02 system unit csc & tts
Chapter 02 system unit csc & tts
 
Unit I.pptx
Unit I.pptxUnit I.pptx
Unit I.pptx
 
Computer architecture pptx
Computer architecture pptxComputer architecture pptx
Computer architecture pptx
 
Ppt Lesson 04
Ppt Lesson 04Ppt Lesson 04
Ppt Lesson 04
 
Cao u1
Cao u1Cao u1
Cao u1
 
Computer Organization and Architecture.pptx
Computer Organization and Architecture.pptxComputer Organization and Architecture.pptx
Computer Organization and Architecture.pptx
 
Csc 2313 (lecture 1)
Csc 2313 (lecture 1)Csc 2313 (lecture 1)
Csc 2313 (lecture 1)
 
Csc 2313 (lecture 1)
Csc 2313 (lecture 1)Csc 2313 (lecture 1)
Csc 2313 (lecture 1)
 

More from Aiman Hud

More from Aiman Hud (20)

POLITEKNIK MALAYSIA
POLITEKNIK MALAYSIAPOLITEKNIK MALAYSIA
POLITEKNIK MALAYSIA
 
POLITEKNIK MALAYSIA
POLITEKNIK MALAYSIAPOLITEKNIK MALAYSIA
POLITEKNIK MALAYSIA
 
POLITEKNIK MALAYSIA
POLITEKNIK MALAYSIAPOLITEKNIK MALAYSIA
POLITEKNIK MALAYSIA
 
POLITEKNIK MALAYSIA
POLITEKNIK MALAYSIAPOLITEKNIK MALAYSIA
POLITEKNIK MALAYSIA
 
POLITEKNIK MALAYSIA
POLITEKNIK MALAYSIAPOLITEKNIK MALAYSIA
POLITEKNIK MALAYSIA
 
POLITEKNIK MALAYSIA
POLITEKNIK MALAYSIAPOLITEKNIK MALAYSIA
POLITEKNIK MALAYSIA
 
POLITEKNIK MALAYSIA
POLITEKNIK MALAYSIAPOLITEKNIK MALAYSIA
POLITEKNIK MALAYSIA
 
POLITEKNIK MALAYSIA
POLITEKNIK MALAYSIAPOLITEKNIK MALAYSIA
POLITEKNIK MALAYSIA
 
POLITEKNIK MALAYSIA
POLITEKNIK MALAYSIAPOLITEKNIK MALAYSIA
POLITEKNIK MALAYSIA
 
POLITEKNIK MALAYSIA
POLITEKNIK MALAYSIAPOLITEKNIK MALAYSIA
POLITEKNIK MALAYSIA
 
POLITEKNIK MALAYSIA
POLITEKNIK MALAYSIAPOLITEKNIK MALAYSIA
POLITEKNIK MALAYSIA
 
POLITEKNIK MALAYSIA
POLITEKNIK MALAYSIAPOLITEKNIK MALAYSIA
POLITEKNIK MALAYSIA
 
POLITEKNIK MALAYSIA
POLITEKNIK MALAYSIAPOLITEKNIK MALAYSIA
POLITEKNIK MALAYSIA
 
POLITEKNIK MALAYSIA
POLITEKNIK MALAYSIAPOLITEKNIK MALAYSIA
POLITEKNIK MALAYSIA
 
POLITEKNIK MALAYSIA
POLITEKNIK MALAYSIAPOLITEKNIK MALAYSIA
POLITEKNIK MALAYSIA
 
POLITEKNIK MALAYSIA
POLITEKNIK MALAYSIAPOLITEKNIK MALAYSIA
POLITEKNIK MALAYSIA
 
POLITEKNIK MALAYSIA
POLITEKNIK MALAYSIAPOLITEKNIK MALAYSIA
POLITEKNIK MALAYSIA
 
POLITEKNIK MALAYSIA
POLITEKNIK MALAYSIAPOLITEKNIK MALAYSIA
POLITEKNIK MALAYSIA
 
POLITEKNIK MALAYSIA
POLITEKNIK MALAYSIAPOLITEKNIK MALAYSIA
POLITEKNIK MALAYSIA
 
POLITEKNIK MALAYSIA
POLITEKNIK MALAYSIAPOLITEKNIK MALAYSIA
POLITEKNIK MALAYSIA
 

Recently uploaded

Abortion Clinic in Jeddah +966572737505 buy cytotec pills
Abortion Clinic in Jeddah +966572737505 buy cytotec pillsAbortion Clinic in Jeddah +966572737505 buy cytotec pills
Abortion Clinic in Jeddah +966572737505 buy cytotec pills
Abortion pills in Riyadh +966572737505 get cytotec
 
办理(uw学位证书)美国华盛顿大学毕业证续费收据一模一样
办理(uw学位证书)美国华盛顿大学毕业证续费收据一模一样办理(uw学位证书)美国华盛顿大学毕业证续费收据一模一样
办理(uw学位证书)美国华盛顿大学毕业证续费收据一模一样
vwymvu
 
Vibration of Continuous Systems.pjjjjjjjjptx
Vibration of Continuous Systems.pjjjjjjjjptxVibration of Continuous Systems.pjjjjjjjjptx
Vibration of Continuous Systems.pjjjjjjjjptx
joshuaclack73
 
如何办理(OP毕业证书)奥塔哥理工学院毕业证成绩单本科硕士学位证留信学历认证
如何办理(OP毕业证书)奥塔哥理工学院毕业证成绩单本科硕士学位证留信学历认证如何办理(OP毕业证书)奥塔哥理工学院毕业证成绩单本科硕士学位证留信学历认证
如何办理(OP毕业证书)奥塔哥理工学院毕业证成绩单本科硕士学位证留信学历认证
mestb
 
如何办理(AUT毕业证书)奥克兰理工大学毕业证成绩单本科硕士学位证留信学历认证
如何办理(AUT毕业证书)奥克兰理工大学毕业证成绩单本科硕士学位证留信学历认证如何办理(AUT毕业证书)奥克兰理工大学毕业证成绩单本科硕士学位证留信学历认证
如何办理(AUT毕业证书)奥克兰理工大学毕业证成绩单本科硕士学位证留信学历认证
mestb
 
如何办理(USYD毕业证书)悉尼大学毕业证成绩单本科硕士学位证留信学历认证
如何办理(USYD毕业证书)悉尼大学毕业证成绩单本科硕士学位证留信学历认证如何办理(USYD毕业证书)悉尼大学毕业证成绩单本科硕士学位证留信学历认证
如何办理(USYD毕业证书)悉尼大学毕业证成绩单本科硕士学位证留信学历认证
mestb
 
Top^Clinic Soweto ^%[+27838792658_termination in florida_Safe*Abortion Pills ...
Top^Clinic Soweto ^%[+27838792658_termination in florida_Safe*Abortion Pills ...Top^Clinic Soweto ^%[+27838792658_termination in florida_Safe*Abortion Pills ...
Top^Clinic Soweto ^%[+27838792658_termination in florida_Safe*Abortion Pills ...
drjose256
 
Balancing of rotating bodies questions.pptx
Balancing of rotating bodies questions.pptxBalancing of rotating bodies questions.pptx
Balancing of rotating bodies questions.pptx
joshuaclack73
 
Cytotec 200 mcg in doha [+966572737505 ] buy abortion pills
Cytotec 200 mcg in doha [+966572737505 ] buy abortion pillsCytotec 200 mcg in doha [+966572737505 ] buy abortion pills
Cytotec 200 mcg in doha [+966572737505 ] buy abortion pills
samsungultra782445
 
Buy best abortion pills Doha [+966572737505 | Planned cytotec Qatar
Buy best abortion pills Doha [+966572737505 | Planned cytotec QatarBuy best abortion pills Doha [+966572737505 | Planned cytotec Qatar
Buy best abortion pills Doha [+966572737505 | Planned cytotec Qatar
samsungultra782445
 
Abortion pills in Riyadh Saudi Arabia!+966572737505 ) Where to get cytotec
Abortion pills in Riyadh Saudi Arabia!+966572737505 ) Where to get cytotecAbortion pills in Riyadh Saudi Arabia!+966572737505 ) Where to get cytotec
Abortion pills in Riyadh Saudi Arabia!+966572737505 ) Where to get cytotec
Abortion pills in Riyadh +966572737505 get cytotec
 
如何办理(UVic毕业证书)维多利亚大学毕业证成绩单本科硕士学位证留信学历认证
如何办理(UVic毕业证书)维多利亚大学毕业证成绩单本科硕士学位证留信学历认证如何办理(UVic毕业证书)维多利亚大学毕业证成绩单本科硕士学位证留信学历认证
如何办理(UVic毕业证书)维多利亚大学毕业证成绩单本科硕士学位证留信学历认证
mestb
 
[[Jeddah]] IN RIYADH +2773-7758557]] Abortion pills in Jeddah Cytotec in Riya...
[[Jeddah]] IN RIYADH +2773-7758557]] Abortion pills in Jeddah Cytotec in Riya...[[Jeddah]] IN RIYADH +2773-7758557]] Abortion pills in Jeddah Cytotec in Riya...
[[Jeddah]] IN RIYADH +2773-7758557]] Abortion pills in Jeddah Cytotec in Riya...
daisycvs
 
Abortion pills in Jeddah Saudi Arabia! +966572737505 Where to buy cytotec
Abortion pills in Jeddah Saudi Arabia! +966572737505 Where to buy cytotecAbortion pills in Jeddah Saudi Arabia! +966572737505 Where to buy cytotec
Abortion pills in Jeddah Saudi Arabia! +966572737505 Where to buy cytotec
Abortion pills in Riyadh +966572737505 get cytotec
 
如何办理(SUT毕业证书)斯威本科技大学毕业证成绩单本科硕士学位证留信学历认证
如何办理(SUT毕业证书)斯威本科技大学毕业证成绩单本科硕士学位证留信学历认证如何办理(SUT毕业证书)斯威本科技大学毕业证成绩单本科硕士学位证留信学历认证
如何办理(SUT毕业证书)斯威本科技大学毕业证成绩单本科硕士学位证留信学历认证
mestb
 

Recently uploaded (19)

NO1 Pakistan Best vashikaran specialist in UK USA UAE London Dubai Canada Ame...
NO1 Pakistan Best vashikaran specialist in UK USA UAE London Dubai Canada Ame...NO1 Pakistan Best vashikaran specialist in UK USA UAE London Dubai Canada Ame...
NO1 Pakistan Best vashikaran specialist in UK USA UAE London Dubai Canada Ame...
 
Abortion Clinic in Jeddah +966572737505 buy cytotec pills
Abortion Clinic in Jeddah +966572737505 buy cytotec pillsAbortion Clinic in Jeddah +966572737505 buy cytotec pills
Abortion Clinic in Jeddah +966572737505 buy cytotec pills
 
办理(uw学位证书)美国华盛顿大学毕业证续费收据一模一样
办理(uw学位证书)美国华盛顿大学毕业证续费收据一模一样办理(uw学位证书)美国华盛顿大学毕业证续费收据一模一样
办理(uw学位证书)美国华盛顿大学毕业证续费收据一模一样
 
Vibration of Continuous Systems.pjjjjjjjjptx
Vibration of Continuous Systems.pjjjjjjjjptxVibration of Continuous Systems.pjjjjjjjjptx
Vibration of Continuous Systems.pjjjjjjjjptx
 
如何办理(OP毕业证书)奥塔哥理工学院毕业证成绩单本科硕士学位证留信学历认证
如何办理(OP毕业证书)奥塔哥理工学院毕业证成绩单本科硕士学位证留信学历认证如何办理(OP毕业证书)奥塔哥理工学院毕业证成绩单本科硕士学位证留信学历认证
如何办理(OP毕业证书)奥塔哥理工学院毕业证成绩单本科硕士学位证留信学历认证
 
如何办理(AUT毕业证书)奥克兰理工大学毕业证成绩单本科硕士学位证留信学历认证
如何办理(AUT毕业证书)奥克兰理工大学毕业证成绩单本科硕士学位证留信学历认证如何办理(AUT毕业证书)奥克兰理工大学毕业证成绩单本科硕士学位证留信学历认证
如何办理(AUT毕业证书)奥克兰理工大学毕业证成绩单本科硕士学位证留信学历认证
 
Matrix Methods.pptxhhhhhhhhhhhhhhhhhhhhh
Matrix Methods.pptxhhhhhhhhhhhhhhhhhhhhhMatrix Methods.pptxhhhhhhhhhhhhhhhhhhhhh
Matrix Methods.pptxhhhhhhhhhhhhhhhhhhhhh
 
如何办理(USYD毕业证书)悉尼大学毕业证成绩单本科硕士学位证留信学历认证
如何办理(USYD毕业证书)悉尼大学毕业证成绩单本科硕士学位证留信学历认证如何办理(USYD毕业证书)悉尼大学毕业证成绩单本科硕士学位证留信学历认证
如何办理(USYD毕业证书)悉尼大学毕业证成绩单本科硕士学位证留信学历认证
 
Top^Clinic Soweto ^%[+27838792658_termination in florida_Safe*Abortion Pills ...
Top^Clinic Soweto ^%[+27838792658_termination in florida_Safe*Abortion Pills ...Top^Clinic Soweto ^%[+27838792658_termination in florida_Safe*Abortion Pills ...
Top^Clinic Soweto ^%[+27838792658_termination in florida_Safe*Abortion Pills ...
 
Balancing of rotating bodies questions.pptx
Balancing of rotating bodies questions.pptxBalancing of rotating bodies questions.pptx
Balancing of rotating bodies questions.pptx
 
NO1 Best Amil Baba In Karachi Kala Jadu In Karachi Amil baba In Karachi Addre...
NO1 Best Amil Baba In Karachi Kala Jadu In Karachi Amil baba In Karachi Addre...NO1 Best Amil Baba In Karachi Kala Jadu In Karachi Amil baba In Karachi Addre...
NO1 Best Amil Baba In Karachi Kala Jadu In Karachi Amil baba In Karachi Addre...
 
Cytotec 200 mcg in doha [+966572737505 ] buy abortion pills
Cytotec 200 mcg in doha [+966572737505 ] buy abortion pillsCytotec 200 mcg in doha [+966572737505 ] buy abortion pills
Cytotec 200 mcg in doha [+966572737505 ] buy abortion pills
 
Buy best abortion pills Doha [+966572737505 | Planned cytotec Qatar
Buy best abortion pills Doha [+966572737505 | Planned cytotec QatarBuy best abortion pills Doha [+966572737505 | Planned cytotec Qatar
Buy best abortion pills Doha [+966572737505 | Planned cytotec Qatar
 
Abortion pills in Riyadh Saudi Arabia!+966572737505 ) Where to get cytotec
Abortion pills in Riyadh Saudi Arabia!+966572737505 ) Where to get cytotecAbortion pills in Riyadh Saudi Arabia!+966572737505 ) Where to get cytotec
Abortion pills in Riyadh Saudi Arabia!+966572737505 ) Where to get cytotec
 
如何办理(UVic毕业证书)维多利亚大学毕业证成绩单本科硕士学位证留信学历认证
如何办理(UVic毕业证书)维多利亚大学毕业证成绩单本科硕士学位证留信学历认证如何办理(UVic毕业证书)维多利亚大学毕业证成绩单本科硕士学位证留信学历认证
如何办理(UVic毕业证书)维多利亚大学毕业证成绩单本科硕士学位证留信学历认证
 
[[Jeddah]] IN RIYADH +2773-7758557]] Abortion pills in Jeddah Cytotec in Riya...
[[Jeddah]] IN RIYADH +2773-7758557]] Abortion pills in Jeddah Cytotec in Riya...[[Jeddah]] IN RIYADH +2773-7758557]] Abortion pills in Jeddah Cytotec in Riya...
[[Jeddah]] IN RIYADH +2773-7758557]] Abortion pills in Jeddah Cytotec in Riya...
 
Cyber-Security-power point presentation.
Cyber-Security-power point presentation.Cyber-Security-power point presentation.
Cyber-Security-power point presentation.
 
Abortion pills in Jeddah Saudi Arabia! +966572737505 Where to buy cytotec
Abortion pills in Jeddah Saudi Arabia! +966572737505 Where to buy cytotecAbortion pills in Jeddah Saudi Arabia! +966572737505 Where to buy cytotec
Abortion pills in Jeddah Saudi Arabia! +966572737505 Where to buy cytotec
 
如何办理(SUT毕业证书)斯威本科技大学毕业证成绩单本科硕士学位证留信学历认证
如何办理(SUT毕业证书)斯威本科技大学毕业证成绩单本科硕士学位证留信学历认证如何办理(SUT毕业证书)斯威本科技大学毕业证成绩单本科硕士学位证留信学历认证
如何办理(SUT毕业证书)斯威本科技大学毕业证成绩单本科硕士学位证留信学历认证
 

POLITEKNIK MALAYSIA

  • 2. WHAT IS COMPUTER?????? A computer is a device that accepts information (in the form of digitalized data) and manipulates it for some result based on a program or sequence of instructions on how the data is to be processed. 2
  • 3. COMPUTER ARCHITECTURE • Concerned with the way the hardware components operate and the way they are connected together to form the computer system. • The various components are assumed to be in the place and the task is to investigate the organizational structure to verify that the computer parts operate as intended.
  • 4. COMPUTER ORGANISATION 4 • Concern the way hardware components operate and the way they are connected together to form the computer system. • Concerned with the structure and behavior of the computer as seen by the user. It includes the information format, the instruction set and techniques for addressing memory. • The architectural design of a computer system is concerned with the specifications of the various functional modules, such as processors and memories and structuring them together into a computer system.
  • 5. 3 is about component that linked with operational unit of a computer system Example : hardware technology, interface, memory technology and control signal. organisation may change as rapid changes of technology is about attributes in computer system as viewed by programmer and have a direct impact to logic execution of a program. Example : instruction set, arithmetic, addressing modes and input output mechanisme. architecture may maintained for hundred years one computer model, for example Intel x86; may maintained its architecture but differ in its organisation Computer OrganisationComputer Architecture
  • 7. COMPONENTS IN MICRO COMPUTER SySTEM 7
  • 10. • provide instruction or data to the system • In order for a computer to receive the requests and instructions of the user, some methods of inputting data and information to the computer are required. Input devices 10
  • 11. • Needs to display the result to the user • to communicate with the user and display information that is being worked on, output device is required Output devices 11
  • 12. Memory/main memory • Used to store instruction or data • Operation on data requires access for more than one time, so data and instruction have to be stored temporarily External storage • backing store or secondary memory, allows the permanent storage of large quantities of data storage 12
  • 13. • the central brain of the PC • Referred as central processing unit(CPU) • majority of the operations of the computer are handled by the processor • contains ALU, registers and control unit processing 13
  • 14. control Control the processing of instructions and the movement of data from one part of the CPU to another 14
  • 15. • Arithmetic and Logic Unit (ALU) - where arithmetic and Boolean logical calculations are performed (arithmetic, logic and comparison) • Control Unit - controls the flow of information through the processor, and coordinates the activities of the other units within it • Central Processing Unit(CPU) - brain of any computer system - execute programs stored in the main memory by fetching, examining and executing instruction one after another How ALU,CU and CPU control the operation of computer???? 15 Basic computer functional unit
  • 16. • Propose byPropose by John Von NeumannJohn Von Neumann • Apply stored- program conceptstored- program concept – Stored-program concept- data and program storedStored-program concept- data and program stored in the same memoryin the same memory • Von Neumann architecture based on 3 key concept: Data and instruction are stored in a single read- write memory Content of the memory are addressable by location, without regards to the type of data contained there Execution occurs in a sequential fashion(from one instruction to the next) VON NEUMANN MACHINE 16
  • 17. VON NEUMANN MACHINE Structure of the IAS Computer 17
  • 18. VON NEUMANN MACHINE  It consists of A main memorymain memory which stores both data and instruction An arithmetic and logic unit(ALU)arithmetic and logic unit(ALU) capable of operating on binary data A control unitcontrol unit, which interprets the instruction in memory and causes them to be executed Input output(I/O)Input output(I/O) equipment operated by control unit 18
  • 19. • Is a communication pathway connecting major computer components such as CPU, memory and I/O unit System Bus(internal bus) Bus Interconnection Scheme 19
  • 20. • A data bus simply carries data. • Internal buses carry information within the processor, while • External buses carry data between the processor and the memory. • Typically, the same data bus is used for both read/write operations. DATA BUS/LINES 20
  • 21. • A path for moving data between system modules • Data bus consist of 32 to hundreds lines, lines referred as width of data bus • Width of data bus determine the overall system’s performance DATA BUS/LINES 21
  • 22. • Used to indicate the source or destination of data on the data bus • e.g. CPU needs to read a word of data from memory, it puts the address of desired word on the address line  Bus width determines maximum memory capacity of system(number of address locations that can be accessed) ADDRESS BUS 22
  • 23. • Microprocessor uses control bus to process data, that is what to do with the selected memory location. • Some control signals are Read, Write and Opcode fetch etc. CONTROL BUS/LINES 23
  • 24. • Control the access and the uses of data and address line. Provide timing information – Memory read/write signal – Interrupt request – Clock signals CONTROL BUS/LINES 24
  • 25. LOCAL BUS BUS SPEED COMPARISON Bus type Width (bits) Speed (MHz) Total Data Rate (MB/Sec) ISA EISA VL-bus VL-bus PCI PCI PCIe 16 32 32 32 32 64 Serial 8 8 25 33 33 33 16 32 100 132 132 264 250 per lane 25
  • 26. Peripheral Bus (external/expansion bus) • Electronic pathways that connects the different external devices, peripherals, expansion slots, I/O ports and drive connections to the rest of the computer • allows various devices to be added to the computer(computer capacities increased) • Slower than internal bus 26
  • 27. Types of external busesTypes of external buses ISA  Introduced by IBM, ISA or Industry Standard Architecture  originally an 8-bit bus and later expanded to a 16-bit bus  still in use because it's cheap and for backwards compatibility 16bit ISA Card 16bit ISA Slot 27
  • 28. PCI(Peripheral Component Interconnect ) Introduced by Intel in 1992 32-bit or 64-bit expansion bus most popular expansion bus use in today's computers PCI Card PCI Slot 28
  • 29. USB (Universal Serial Bus) most popular form of bus use today USB is hot swappable USB can daisy chain up to 127 devices USB Speeds USB 1.0 supports 1.5Mbps USB 1.1 supports 12Mbps USB 2.0 supports up to 480Mbps USB 3.0 supports up to 4.8Gbps USB A Connector USB B Connector 29
  • 30. AGP (Advanced Graphic Port) Introduced by Intel in 1997 32-bit bus or 64-bit bus designed for the high demands of 3-D graphics has a direct line to the computers memory which allows 3-D elements to be stored in the system memory instead of the video memory fastest expansion bus in use but its only for video or graphics environment AGP Card AGP Slot 30
  • 32. Cache MemoryCache Memory Cache memory, is a fast RAM system designed to hold data recently accessed from the disk drive that the microprocessor may need again. The cache contains a copy portion of the main memory When the processor attempts to read a word of memory , a check is made to determine if the word is in cache. If so the word is delivered to processor. If not a block of main memory is read into cache and the required word is transferred to processor 32
  • 34. Address/ cache mappingAddress/ cache mapping 34 - Is the way to map/place main memory blocks into cache slots Commonly used methods:  Associative Mapped Cache  Direct-Mapped Cache  Set-Associative Mapped Cache
  • 36. Address mappingAddress mapping 36 Direct - Simplest technique - maps each block of the main memory into one possible cache line
  • 37. 37
  • 38. Address mappingAddress mapping 38 Associative - No restriction on mapping from M to C.” Associative search of tags is expensive. Feasible for very small size caches only. - overcome the disadvantages of the direct mapped by permitting each main memory block to be loaded into any line of cache
  • 39. 39
  • 40. Address mappingAddress mapping 40 Set Associative - combines the strengths of both direct and associative approaching
  • 41. 41
  • 42. Input /Output in computerInput /Output in computer systemsystem an element of computer system composed of two parts oInput unit-providing input to processor oOutput unit-receiving output from processor Provide interaction with outside world 42
  • 43. Block diagram i/o unitBlock diagram i/o unit 43
  • 44. Input and Output DevicesInput and Output Devices Input devices -human data entry devices and source entry devices -human entry devices(keyboard, mouse, joystick, digitizing tablet,..) -source entry devices(microphone, soundcard, video camera,…) Output devices -hardcopy and softcopy devices -hardcopy devices(printer, plotter) -softcopy devices(monitor, visual display terminal, video output,…) 44
  • 45. Input/output module(interface)Input/output module(interface)  Provides a method for transferring information between internal storage (such as memory and CPU registers) and external I/O devices  Resolves the differences between the computer and peripheral devices 1) Peripherals - Electromechanical Devices CPU or Memory - Electronic Device 2) Data Transfer Rate »Peripherals - Usually slower »CPU or Memory - Usually faster than peripherals 3) Unit of Information »Peripherals – Byte, Block, … »CPU or Memory – Word So, some kinds of Synchronization mechanism may be needed 45
  • 47. Input/output ModuleInput/output Module Major function:- Control and timing Processor communication Device communication Data buffering Error detection 47
  • 48. Generic Model of I/O ModuleGeneric Model of I/O Module 48
  • 49. I/O StepsI/O Steps •CPU checks I/O module device status •I/O module returns status •If ready, CPU requests data transfer •I/O module gets data from device •I/O module transfers data to CPU 49
  • 50. Input Output TechniquesInput Output Techniques •Programmed •Interrupt driven •Direct Memory Access (DMA) 50
  • 51. Programmed I/OProgrammed I/O •CPU has direct control over I/O –Sensing status –Read/write commands –Transferring data •CPU waits for I/O module to complete operation •Waste the CPU time 51
  • 52. Programmed I/OProgrammed I/O *i/o will not alert or interrupt the CPU 52
  • 53. Interrupt-Driven I/OInterrupt-Driven I/O able to overcome programmed I/O disadvantages CPU have to wait for a long time for I/O module CPU issue an I/O command to a module and will go on to do other useful work. I/O will interrupt the CPU when it is ready for exchange data. The CPU execute the data transfer and resume to its former processing. 53
  • 54. Direct Memory AccessDirect Memory Access Draw back of programmed and interrupt driven I/O I/O transfer rate is limited Processor is tied up in managing an I/O data transfer. When dealing with a large volume of data, more efficient method are required-DMA 54
  • 55. Direct Memory Access(DMA)Direct Memory Access(DMA) •Transfer large amounts of data at high speed without continuous intervention by the processor •Special control circuit required in the I/O device interface, called a DMA controller •DMA controller keeps track of memory locations, transfers directly to memory (via the bus) independent of the processor 55
  • 56. Direct Memory Access(DMA)Direct Memory Access(DMA)  when processor wishes to read/write, it send the command to DMA module by issuing information as:-  Direction of transfer,read(I/O memory) or write (memory I/O)  Address of the I/O device involved  The starting location of the block of the data in memory  The size of the block to be transferred The processor continue with other work. It has delegated this DMA module. 56
  • 57. Direct Memory Access(DMA)Direct Memory Access(DMA) DMA module transfers the entire block of data, directly from memory without involving processor. After completing the data transfer, DMA modules sends interrupt signal to the processor. Processor only involved in beginning and end of the transfer 57
  • 58. ADVANTAGESOF USINGADVANTAGESOF USING DMADMA ◦ DMA can reduce the CPU waiting time of both IO operations. ◦ DMA allows a peripheral device to read from/write to memory without going through the CPU ◦ DMA allows for faster processing since the processor can be working on something else while the peripheral can be populating memory. 58
  • 59. 59
  • 60. Serial AND PARALLELSerial AND PARALLEL CommunicationCommunication  Serial communication is the process of sending data one bit at a time, sequentially, over a communication channel or computer bus.   Parallel communication, where several bits are sent as a whole, on a link with several parallel channels. 60
  • 61. 61
  • 62. AsynchronouscommunicationAsynchronouscommunication Data is transmitted one byte at one time High amount of overhead(effect on the computer’s performance) 62
  • 63. SynchronousSynchronous All communication can happen at the same time Data is transmitted as frames of large data blocks rather than a bulky individual bytes More efficient method and costly compared to asynchronous 63
  • 64. 64