Computer architecture

Burhan Ahmed
Burhan AhmedStudent at National College Of Business Administration & Economics
COMPUTER
ARCHITECTURE
Computer Hardware
All the physical components of computer are
called Computer Hardware
OR
All the touchable parts of computer are called
Computer Hardware
For example: keyboard, mouse, hard disk,
RAM, ROM, CPU
Basic architecture of computer
means how computer hardware
works, how hardware components
of computer system connect to
each other.
Computer Architecture
Computer Architecture
F.D
H.D
Monitor
Key
Board
Mouse
DATA BUS
ADDRESS & CONTROL BUS
Cache
Math
coprocessor
Clock
CPU
CU
ALU
ROM RAM
Prin
ter
Computer Architecture
System Unit
Computer Architecture
System Unit
System may be defined as a set of related components.
So,
System unit may be defined as follows:
A computer case also known as a "computer chassis", "tower",
"system unit", "base unit" or simply "case" and sometimes
incorrectly referred to as the "CPU" or "hard drive", is the
enclosure that contains most of the components of a computer.
A system unit is the part of a computer that houses the primary
devices that perform operations and produce results for complex
calculations. It includes the motherboard, CPU, RAM and other
components, as well as the case in which these devices are
housed.
Computer Architecture
Motherboard / Mainboard
It is the main circuit board in computer system. It
contains all the circuits and connectors. All
devices attached with the computer are basically
attached with the motherboard through
connectors.
Computer Architecture
CPU (Central Processing Unit)
•CPU is the central part of the computer system.
It is also called brain of computer system. As in
human body, the brain takes all major decisions
and other parts of the body perform different
functions as directed by brain.
Computer Architecture
Control Unit (CU)
Control unit controls overall operations of
computer. The CU fetches instructions from main
memory (RAM), interprets them, fetches required
data and tell ALU what to do.
Arithmetic Logic Unit (ALU)
This unit handles the arithmetic and logic
functions with in the CPU. It takes instructions
decoded by the Control Unit, and performs
actions as directed by control unit.
CPU
Computer Architecture
Cache Memory
Cache memory is a special type of memory
provided within a CPU to speed up it processing
speed. It works just like RAM but it is less in
storage capacity as compared to RAM.
Registers
Registers are special purpose high-speed single
storage locations. In the CPU, each register is
wired to perform a specific role.
CPU
Computer Architecture
Buses
A Bus is a group of electrical conductors that
carry computer signals from one location to
another. Buses are the computer's transporters.
CPU
Computer Architecture
Performance of CPU
Performance of CPU can be measured by following
factors:
Register Size
A CPU with large register size can store large
amount of data. Hence greater the register size there
will be better performance of CPU.
Instruction Set Size
A CPU can execute only a limited number of
instructions for all types of operations. That set of
instructions is called instruction. The greater the
instruction set size there will be better performance
of CPU.
Computer Architecture
Performance of CPU
Clock Speed
The CPU clock can generate from 100 to 1000
million ticks in a second. The number of ticks
generated in a second by a CPU is called the
frequency of that CPU. The unit to measure the
frequency is Hertz.
Computer Architecture
How CPU executes an instruction ?
Following four steps are involved in the
execution of an instruction:
Instruction Fetch: First of all, the instruction, to
be executed is fetched in CPU from RAM (main
memory). CU performs this function.
Interpret Instruction:
In this stage, CPU interpret/decode instruction.
CPU decides what action is to be taken for the
execution of the instruction. CU performs this
function.
Computer Architecture
How CPU executes an instruction ?
Data Fetch: If some data is required for the
execution of the instruction, that data will be
fetched from the memory (where it resides) and
loaded into CPU register. CU performs this
operation of fetching data from memory and
loads it in CPU register.
Execute Instruction:
When an instruction has been decoded, and
required data is fetched, then the CPU actually
executes the instruction. Normally, ALU executes
most of the instructions.
Computer Architecture
RAM(Random Access Memory)
Computer Architecture
RAM stands for Random Access Memory because
it is possible to randomly select and use any location
of this memory to directly store and retrieve data and
instruction.
Why RAM is called Main Memory?
RAM is also called main memory or primary memory
because CPU directly communicates with RAM. All
the data or instructions that we enter into a computer
directly goes to RAM and after executing the
instructions final results goes to RAM from where
results are gone to out put device.
RAM
Temporary/Volatile nature:
As soon as the computer is switched off all the
data stored in RAM is washed out. That’s why
RAM is also called volatile memory or temporary
memory.
Computer Architecture
Types of RAM
DRAM
DRAM stands for Dynamic RAM. It is a popular
type of RAM and is mostly used in computer.
DRAM is refreshed many times in a second
that’s why it is relatively slower than SRAM.
However it is cheaper, easily available and
requires less power.
Computer Architecture
SRAM
SRAM stands for Static RAM. SRAM is not so
popular because it is expensive and requires
more space and power than DRAM. SRAM is
faster than DRAM because it does not have to
refresh many times in a second.
Example:
Cache Memory
Computer Architecture
Computer Architecture
ROM(Read Only Memory)
ROM stands for Read Only Memory. It is the
type of memory where those programs and data
are kept which needs no change. The data once
stored here can’t be changed or modified. It is
also not possible to write new information into
ROM. This is the reason why it is called Read
Only Memory.
Non-Volatile Nature:
ROM stores data and instructions permanently
when the power is turned off, the instructions
stored in ROM are not lost.
BIOS
BIOS stands for Basic Input Output System. It is
the software that resides in ROM and is stored in
ROM at the manufacturing time of ROM.
Computer Architecture
Importance of ROM
ROM chip is fixed on motherboard and cannot
be removed. When computer is switched on, the
instructions stored in ROM are first loaded in to
the RAM for execution. The basic purpose of
these instructions (BIOS) is to prepare computer
system to start successfully.
After that execution, necessary files of operating
system are loaded in to the RAM. This whole
process is also called “booting” of computer
system.
Computer Architecture
PROM
PROM stands for Programmable Read Only
Memory. Computer system manufacturer
provides ROM chips and it is not possible for a
customer to modify the programs stored insides
the ROM chip.
EPROM
EPROM stands for Erasable Programmable
Read Only Memory. As the name implies, it is
possible to erase information stored in an
EPROM chip and the chip can be reprogrammed
to store new information using a special prom-
programmer facility.
Computer Architecture
Types of ROM
EEPROM
EEPROM stands for Electrically Erasable
Programmable Read Only Memory. This type of
ROM chip can be used several times by using
special electrical devices.
Uses
R&D personnel mainly use EPROM because
they frequently change the micro programs to
test the efficiency of the computer system with
new programs.
Computer Architecture
Types of ROM
Output
Hard
Disk
Inpu
t
RA
M
CPU
Computer Architecture
Interaction of RAM and
CPU
Cache
Hard Disk Drive
It is a popular secondary storage medium uses
now a days that no PC is assembled without it. It
exists in almost every computer system that is
used. It is also called fixed disk.
Computer Architecture
Floppy Disk
Floppy disk is also called simply a diskette or disk.
It is a small flexible plastic disk that is coated with
magnetic material. It was invented by IBM in early
1960s.
Uses:
Now a days usually floppy disks are used to
transfer small amount of data from one computer to
another computer.
Computer Architecture
Keyboard
Keyboard is the most widely used input device.
It is used to enter data and program instructions
into the computer.
Mouse
Mouse is also an important input device. It is
used for controlling screen cursor.
Computer Architecture
Monitor
The monitor or Visual Display Unit (VDU) is the
most commonly used output device. It is like a
TV screen. It can display alphanumeric
characters, special characters and graphics.
The output provided by monitor is called ‘soft
copy’.
Computer Architecture
Printer
Mouse is also an important input device. It is
used for controlling screen cursor.
Printers are used to produce output in the form
of text and graphics on paper.
The output on a paper is called hardcopy.
Computer Architecture
1 de 31

Recomendados

computer Architecture por
computer Architecturecomputer Architecture
computer Architectureumardanjumamaiwada
18.7K vistas22 diapositivas
Basic Computer Architecture por
Basic Computer ArchitectureBasic Computer Architecture
Basic Computer ArchitectureYong Heui Cho
36.5K vistas25 diapositivas
Cpu ppt cse por
Cpu ppt cseCpu ppt cse
Cpu ppt cseManpreet Kaur Sidhu
78.1K vistas21 diapositivas
Computer architecture por
Computer architecture Computer architecture
Computer architecture International Islamic University
2.1K vistas71 diapositivas
CPU (Central Processing Units) por
CPU (Central Processing Units)CPU (Central Processing Units)
CPU (Central Processing Units)Prabin Maharjan
22K vistas13 diapositivas
Introduction to Computer Architecture por
Introduction to Computer ArchitectureIntroduction to Computer Architecture
Introduction to Computer ArchitectureAnkush Srivastava
6.7K vistas19 diapositivas

Más contenido relacionado

La actualidad más candente

Processors and its Types por
Processors and its TypesProcessors and its Types
Processors and its TypesNimrah Shahbaz
7.3K vistas33 diapositivas
Computer organization por
Computer organizationComputer organization
Computer organizationishapadhy
9.8K vistas96 diapositivas
Computer Memory por
Computer MemoryComputer Memory
Computer Memorybabaradhe
93.8K vistas20 diapositivas
Operating system por
Operating system Operating system
Operating system Talha Mahmood
96.9K vistas26 diapositivas
Primary and secondary storage devices por
Primary and secondary storage devicesPrimary and secondary storage devices
Primary and secondary storage devicesPichano Kikon
49.7K vistas34 diapositivas
Computer hardware component. ppt por
Computer hardware component. pptComputer hardware component. ppt
Computer hardware component. pptNaveen Sihag
215.4K vistas19 diapositivas

La actualidad más candente(20)

Processors and its Types por Nimrah Shahbaz
Processors and its TypesProcessors and its Types
Processors and its Types
Nimrah Shahbaz7.3K vistas
Computer organization por ishapadhy
Computer organizationComputer organization
Computer organization
ishapadhy9.8K vistas
Computer Memory por babaradhe
Computer MemoryComputer Memory
Computer Memory
babaradhe93.8K vistas
Operating system por Talha Mahmood
Operating system Operating system
Operating system
Talha Mahmood96.9K vistas
Primary and secondary storage devices por Pichano Kikon
Primary and secondary storage devicesPrimary and secondary storage devices
Primary and secondary storage devices
Pichano Kikon49.7K vistas
Computer hardware component. ppt por Naveen Sihag
Computer hardware component. pptComputer hardware component. ppt
Computer hardware component. ppt
Naveen Sihag215.4K vistas
Memory Hierarchy por chauhankapil
Memory HierarchyMemory Hierarchy
Memory Hierarchy
chauhankapil17.4K vistas
Computer registers por DeepikaT13
Computer registersComputer registers
Computer registers
DeepikaT137.5K vistas
Memory organization (Computer architecture) por Sandesh Jonchhe
Memory organization (Computer architecture)Memory organization (Computer architecture)
Memory organization (Computer architecture)
Sandesh Jonchhe13K vistas
Von Neumann Architecture por Zahid Rajeel
Von Neumann ArchitectureVon Neumann Architecture
Von Neumann Architecture
Zahid Rajeel6.8K vistas
Central Processing Unit por Jan Ralph
Central Processing UnitCentral Processing Unit
Central Processing Unit
Jan Ralph26.3K vistas
CPU - Central processing unit por Abhinav Vishnoi
CPU - Central processing unitCPU - Central processing unit
CPU - Central processing unit
Abhinav Vishnoi1.1K vistas
presentation on memory units. por Krishna Bharati
presentation on memory units.presentation on memory units.
presentation on memory units.
Krishna Bharati12.7K vistas
Functional units of computer por gaurav jain
Functional units of computerFunctional units of computer
Functional units of computer
gaurav jain10.5K vistas
Basic computer organization por SAMIR NAIK
Basic computer organizationBasic computer organization
Basic computer organization
SAMIR NAIK20K vistas
COMPUTER SYSTEM AND ITS COMPONENTS por SHIVALI NEGI
COMPUTER SYSTEM AND ITS COMPONENTSCOMPUTER SYSTEM AND ITS COMPONENTS
COMPUTER SYSTEM AND ITS COMPONENTS
SHIVALI NEGI708 vistas

Similar a Computer architecture

3. Component of computer - System Unit ( CSI-321) por
3. Component of computer - System Unit  ( CSI-321) 3. Component of computer - System Unit  ( CSI-321)
3. Component of computer - System Unit ( CSI-321) ghayour abbas
4K vistas15 diapositivas
Basic of operating system por
Basic of operating systemBasic of operating system
Basic of operating systempriyanka jain
185 vistas16 diapositivas
Grade 11 Processing devices por
Grade 11 Processing devicesGrade 11 Processing devices
Grade 11 Processing devicesLeratoLukas
11 vistas5 diapositivas
CPU & RAM por
CPU & RAMCPU & RAM
CPU & RAMRedoan Ur Rahman
742 vistas25 diapositivas
Hardware and softwaretr64hwnmhf por
Hardware and softwaretr64hwnmhfHardware and softwaretr64hwnmhf
Hardware and softwaretr64hwnmhfCarla Cruz
298 vistas5 diapositivas
Computer Structures por
Computer StructuresComputer Structures
Computer Structuresguestfc2f62
7.3K vistas14 diapositivas

Similar a Computer architecture(20)

3. Component of computer - System Unit ( CSI-321) por ghayour abbas
3. Component of computer - System Unit  ( CSI-321) 3. Component of computer - System Unit  ( CSI-321)
3. Component of computer - System Unit ( CSI-321)
ghayour abbas4K vistas
Basic of operating system por priyanka jain
Basic of operating systemBasic of operating system
Basic of operating system
priyanka jain185 vistas
Grade 11 Processing devices por LeratoLukas
Grade 11 Processing devicesGrade 11 Processing devices
Grade 11 Processing devices
LeratoLukas11 vistas
Hardware and softwaretr64hwnmhf por Carla Cruz
Hardware and softwaretr64hwnmhfHardware and softwaretr64hwnmhf
Hardware and softwaretr64hwnmhf
Carla Cruz298 vistas
Computer Structures por guestfc2f62
Computer StructuresComputer Structures
Computer Structures
guestfc2f627.3K vistas
Basic computer hardware terminology por Imtiyaz Husaini
Basic computer hardware terminologyBasic computer hardware terminology
Basic computer hardware terminology
Imtiyaz Husaini1.1K vistas
COMPUTER_ORGANIZATION (1).pptx por nodov66591
COMPUTER_ORGANIZATION (1).pptxCOMPUTER_ORGANIZATION (1).pptx
COMPUTER_ORGANIZATION (1).pptx
nodov665913 vistas
CH - 4 central processing unit & memory devices.pptx por PragatiKachhi1
CH - 4 central processing unit & memory devices.pptxCH - 4 central processing unit & memory devices.pptx
CH - 4 central processing unit & memory devices.pptx
PragatiKachhi124 vistas
Introduction to Computer Hardware slides ppt por Osama Yousaf
Introduction to Computer Hardware slides pptIntroduction to Computer Hardware slides ppt
Introduction to Computer Hardware slides ppt
Osama Yousaf117 vistas
hardware and software por sharone singh
hardware and software hardware and software
hardware and software
sharone singh127 vistas
computer System UNit Every thing por Abdul Rehman
computer System UNit Every thingcomputer System UNit Every thing
computer System UNit Every thing
Abdul Rehman162 vistas
Lecture 2 - Computer Hardware & Operating Systems por Jack Hyman
Lecture 2 - Computer Hardware & Operating SystemsLecture 2 - Computer Hardware & Operating Systems
Lecture 2 - Computer Hardware & Operating Systems
Jack Hyman7.3K vistas

Más de Burhan Ahmed

Wireless mobile communication por
Wireless mobile communicationWireless mobile communication
Wireless mobile communicationBurhan Ahmed
7K vistas12 diapositivas
Virtual function por
Virtual functionVirtual function
Virtual functionBurhan Ahmed
566 vistas14 diapositivas
Uses misuses and risk of software por
Uses misuses and risk of softwareUses misuses and risk of software
Uses misuses and risk of softwareBurhan Ahmed
250 vistas10 diapositivas
Types of computer por
Types of computerTypes of computer
Types of computerBurhan Ahmed
42.6K vistas45 diapositivas
Trees por
TreesTrees
TreesBurhan Ahmed
394 vistas24 diapositivas
Topology por
TopologyTopology
TopologyBurhan Ahmed
204 vistas30 diapositivas

Más de Burhan Ahmed(20)

Wireless mobile communication por Burhan Ahmed
Wireless mobile communicationWireless mobile communication
Wireless mobile communication
Burhan Ahmed7K vistas
Uses misuses and risk of software por Burhan Ahmed
Uses misuses and risk of softwareUses misuses and risk of software
Uses misuses and risk of software
Burhan Ahmed250 vistas
Types of computer por Burhan Ahmed
Types of computerTypes of computer
Types of computer
Burhan Ahmed42.6K vistas
The distinction of prophet muhammad (s.a.w) among the teachers of moral conduct por Burhan Ahmed
The distinction of prophet muhammad (s.a.w) among the teachers of moral conductThe distinction of prophet muhammad (s.a.w) among the teachers of moral conduct
The distinction of prophet muhammad (s.a.w) among the teachers of moral conduct
Burhan Ahmed659 vistas
Software house organization por Burhan Ahmed
Software house organizationSoftware house organization
Software house organization
Burhan Ahmed5.3K vistas
Planning work activities por Burhan Ahmed
Planning work activitiesPlanning work activities
Planning work activities
Burhan Ahmed2.8K vistas
Peripheral devices por Burhan Ahmed
Peripheral devicesPeripheral devices
Peripheral devices
Burhan Ahmed5.2K vistas
Parallel computing and its applications por Burhan Ahmed
Parallel computing and its applicationsParallel computing and its applications
Parallel computing and its applications
Burhan Ahmed12.4K vistas
Operator overloading por Burhan Ahmed
Operator overloadingOperator overloading
Operator overloading
Burhan Ahmed349 vistas
Job analysis and job design por Burhan Ahmed
Job analysis and job designJob analysis and job design
Job analysis and job design
Burhan Ahmed439 vistas

Último

MK__Cert.pdf por
MK__Cert.pdfMK__Cert.pdf
MK__Cert.pdfHassan Khan
11 vistas1 diapositiva
sam_software_eng_cv.pdf por
sam_software_eng_cv.pdfsam_software_eng_cv.pdf
sam_software_eng_cv.pdfsammyigbinovia
5 vistas5 diapositivas
LDPC_CODES.ppt por
LDPC_CODES.pptLDPC_CODES.ppt
LDPC_CODES.ppthsomashekar987
16 vistas44 diapositivas
Final Year Presentation por
Final Year PresentationFinal Year Presentation
Final Year PresentationComsat Universal Islamabad Wah Campus
9 vistas29 diapositivas
fakenews_DBDA_Mar23.pptx por
fakenews_DBDA_Mar23.pptxfakenews_DBDA_Mar23.pptx
fakenews_DBDA_Mar23.pptxdeepmitra8
15 vistas34 diapositivas
SUMIT SQL PROJECT SUPERSTORE 1.pptx por
SUMIT SQL PROJECT SUPERSTORE 1.pptxSUMIT SQL PROJECT SUPERSTORE 1.pptx
SUMIT SQL PROJECT SUPERSTORE 1.pptxSumit Jadhav
15 vistas26 diapositivas

Último(20)

fakenews_DBDA_Mar23.pptx por deepmitra8
fakenews_DBDA_Mar23.pptxfakenews_DBDA_Mar23.pptx
fakenews_DBDA_Mar23.pptx
deepmitra815 vistas
SUMIT SQL PROJECT SUPERSTORE 1.pptx por Sumit Jadhav
SUMIT SQL PROJECT SUPERSTORE 1.pptxSUMIT SQL PROJECT SUPERSTORE 1.pptx
SUMIT SQL PROJECT SUPERSTORE 1.pptx
Sumit Jadhav 15 vistas
Effect of deep chemical mixing columns on properties of surrounding soft clay... por AltinKaradagli
Effect of deep chemical mixing columns on properties of surrounding soft clay...Effect of deep chemical mixing columns on properties of surrounding soft clay...
Effect of deep chemical mixing columns on properties of surrounding soft clay...
AltinKaradagli9 vistas
Generative AI Models & Their Applications por SN
Generative AI Models & Their ApplicationsGenerative AI Models & Their Applications
Generative AI Models & Their Applications
SN8 vistas
Design of Structures and Foundations for Vibrating Machines, Arya-ONeill-Pinc... por csegroupvn
Design of Structures and Foundations for Vibrating Machines, Arya-ONeill-Pinc...Design of Structures and Foundations for Vibrating Machines, Arya-ONeill-Pinc...
Design of Structures and Foundations for Vibrating Machines, Arya-ONeill-Pinc...
csegroupvn5 vistas
Proposal Presentation.pptx por keytonallamon
Proposal Presentation.pptxProposal Presentation.pptx
Proposal Presentation.pptx
keytonallamon42 vistas
MongoDB.pdf por ArthyR3
MongoDB.pdfMongoDB.pdf
MongoDB.pdf
ArthyR335 vistas
2023Dec ASU Wang NETR Group Research Focus and Facility Overview.pptx por lwang78
2023Dec ASU Wang NETR Group Research Focus and Facility Overview.pptx2023Dec ASU Wang NETR Group Research Focus and Facility Overview.pptx
2023Dec ASU Wang NETR Group Research Focus and Facility Overview.pptx
lwang7883 vistas
SPICE PARK DEC2023 (6,625 SPICE Models) por Tsuyoshi Horigome
SPICE PARK DEC2023 (6,625 SPICE Models) SPICE PARK DEC2023 (6,625 SPICE Models)
SPICE PARK DEC2023 (6,625 SPICE Models)
Tsuyoshi Horigome28 vistas
_MAKRIADI-FOTEINI_diploma thesis.pptx por fotinimakriadi
_MAKRIADI-FOTEINI_diploma thesis.pptx_MAKRIADI-FOTEINI_diploma thesis.pptx
_MAKRIADI-FOTEINI_diploma thesis.pptx
fotinimakriadi8 vistas
BCIC - Manufacturing Conclave - Technology-Driven Manufacturing for Growth por Innomantra
BCIC - Manufacturing Conclave -  Technology-Driven Manufacturing for GrowthBCIC - Manufacturing Conclave -  Technology-Driven Manufacturing for Growth
BCIC - Manufacturing Conclave - Technology-Driven Manufacturing for Growth
Innomantra 6 vistas
Design_Discover_Develop_Campaign.pptx por ShivanshSeth6
Design_Discover_Develop_Campaign.pptxDesign_Discover_Develop_Campaign.pptx
Design_Discover_Develop_Campaign.pptx
ShivanshSeth632 vistas

Computer architecture

  • 2. Computer Hardware All the physical components of computer are called Computer Hardware OR All the touchable parts of computer are called Computer Hardware For example: keyboard, mouse, hard disk, RAM, ROM, CPU
  • 3. Basic architecture of computer means how computer hardware works, how hardware components of computer system connect to each other. Computer Architecture
  • 4. Computer Architecture F.D H.D Monitor Key Board Mouse DATA BUS ADDRESS & CONTROL BUS Cache Math coprocessor Clock CPU CU ALU ROM RAM Prin ter
  • 6. Computer Architecture System Unit System may be defined as a set of related components. So, System unit may be defined as follows: A computer case also known as a "computer chassis", "tower", "system unit", "base unit" or simply "case" and sometimes incorrectly referred to as the "CPU" or "hard drive", is the enclosure that contains most of the components of a computer. A system unit is the part of a computer that houses the primary devices that perform operations and produce results for complex calculations. It includes the motherboard, CPU, RAM and other components, as well as the case in which these devices are housed.
  • 7. Computer Architecture Motherboard / Mainboard It is the main circuit board in computer system. It contains all the circuits and connectors. All devices attached with the computer are basically attached with the motherboard through connectors.
  • 8. Computer Architecture CPU (Central Processing Unit) •CPU is the central part of the computer system. It is also called brain of computer system. As in human body, the brain takes all major decisions and other parts of the body perform different functions as directed by brain.
  • 9. Computer Architecture Control Unit (CU) Control unit controls overall operations of computer. The CU fetches instructions from main memory (RAM), interprets them, fetches required data and tell ALU what to do. Arithmetic Logic Unit (ALU) This unit handles the arithmetic and logic functions with in the CPU. It takes instructions decoded by the Control Unit, and performs actions as directed by control unit. CPU
  • 10. Computer Architecture Cache Memory Cache memory is a special type of memory provided within a CPU to speed up it processing speed. It works just like RAM but it is less in storage capacity as compared to RAM. Registers Registers are special purpose high-speed single storage locations. In the CPU, each register is wired to perform a specific role. CPU
  • 11. Computer Architecture Buses A Bus is a group of electrical conductors that carry computer signals from one location to another. Buses are the computer's transporters. CPU
  • 12. Computer Architecture Performance of CPU Performance of CPU can be measured by following factors: Register Size A CPU with large register size can store large amount of data. Hence greater the register size there will be better performance of CPU. Instruction Set Size A CPU can execute only a limited number of instructions for all types of operations. That set of instructions is called instruction. The greater the instruction set size there will be better performance of CPU.
  • 13. Computer Architecture Performance of CPU Clock Speed The CPU clock can generate from 100 to 1000 million ticks in a second. The number of ticks generated in a second by a CPU is called the frequency of that CPU. The unit to measure the frequency is Hertz.
  • 14. Computer Architecture How CPU executes an instruction ? Following four steps are involved in the execution of an instruction: Instruction Fetch: First of all, the instruction, to be executed is fetched in CPU from RAM (main memory). CU performs this function. Interpret Instruction: In this stage, CPU interpret/decode instruction. CPU decides what action is to be taken for the execution of the instruction. CU performs this function.
  • 15. Computer Architecture How CPU executes an instruction ? Data Fetch: If some data is required for the execution of the instruction, that data will be fetched from the memory (where it resides) and loaded into CPU register. CU performs this operation of fetching data from memory and loads it in CPU register. Execute Instruction: When an instruction has been decoded, and required data is fetched, then the CPU actually executes the instruction. Normally, ALU executes most of the instructions.
  • 17. Computer Architecture RAM stands for Random Access Memory because it is possible to randomly select and use any location of this memory to directly store and retrieve data and instruction. Why RAM is called Main Memory? RAM is also called main memory or primary memory because CPU directly communicates with RAM. All the data or instructions that we enter into a computer directly goes to RAM and after executing the instructions final results goes to RAM from where results are gone to out put device. RAM
  • 18. Temporary/Volatile nature: As soon as the computer is switched off all the data stored in RAM is washed out. That’s why RAM is also called volatile memory or temporary memory. Computer Architecture
  • 19. Types of RAM DRAM DRAM stands for Dynamic RAM. It is a popular type of RAM and is mostly used in computer. DRAM is refreshed many times in a second that’s why it is relatively slower than SRAM. However it is cheaper, easily available and requires less power. Computer Architecture
  • 20. SRAM SRAM stands for Static RAM. SRAM is not so popular because it is expensive and requires more space and power than DRAM. SRAM is faster than DRAM because it does not have to refresh many times in a second. Example: Cache Memory Computer Architecture
  • 21. Computer Architecture ROM(Read Only Memory) ROM stands for Read Only Memory. It is the type of memory where those programs and data are kept which needs no change. The data once stored here can’t be changed or modified. It is also not possible to write new information into ROM. This is the reason why it is called Read Only Memory.
  • 22. Non-Volatile Nature: ROM stores data and instructions permanently when the power is turned off, the instructions stored in ROM are not lost. BIOS BIOS stands for Basic Input Output System. It is the software that resides in ROM and is stored in ROM at the manufacturing time of ROM. Computer Architecture
  • 23. Importance of ROM ROM chip is fixed on motherboard and cannot be removed. When computer is switched on, the instructions stored in ROM are first loaded in to the RAM for execution. The basic purpose of these instructions (BIOS) is to prepare computer system to start successfully. After that execution, necessary files of operating system are loaded in to the RAM. This whole process is also called “booting” of computer system. Computer Architecture
  • 24. PROM PROM stands for Programmable Read Only Memory. Computer system manufacturer provides ROM chips and it is not possible for a customer to modify the programs stored insides the ROM chip. EPROM EPROM stands for Erasable Programmable Read Only Memory. As the name implies, it is possible to erase information stored in an EPROM chip and the chip can be reprogrammed to store new information using a special prom- programmer facility. Computer Architecture Types of ROM
  • 25. EEPROM EEPROM stands for Electrically Erasable Programmable Read Only Memory. This type of ROM chip can be used several times by using special electrical devices. Uses R&D personnel mainly use EPROM because they frequently change the micro programs to test the efficiency of the computer system with new programs. Computer Architecture Types of ROM
  • 27. Hard Disk Drive It is a popular secondary storage medium uses now a days that no PC is assembled without it. It exists in almost every computer system that is used. It is also called fixed disk. Computer Architecture
  • 28. Floppy Disk Floppy disk is also called simply a diskette or disk. It is a small flexible plastic disk that is coated with magnetic material. It was invented by IBM in early 1960s. Uses: Now a days usually floppy disks are used to transfer small amount of data from one computer to another computer. Computer Architecture
  • 29. Keyboard Keyboard is the most widely used input device. It is used to enter data and program instructions into the computer. Mouse Mouse is also an important input device. It is used for controlling screen cursor. Computer Architecture
  • 30. Monitor The monitor or Visual Display Unit (VDU) is the most commonly used output device. It is like a TV screen. It can display alphanumeric characters, special characters and graphics. The output provided by monitor is called ‘soft copy’. Computer Architecture
  • 31. Printer Mouse is also an important input device. It is used for controlling screen cursor. Printers are used to produce output in the form of text and graphics on paper. The output on a paper is called hardcopy. Computer Architecture