Computer architecture

International Islamic University
International Islamic UniversityVisiting Faculty Membor at International Islamic University en International Islamic University
Computer Architecture(Basics)
Sunawar Khan Ahsan
IIUI
COMPUTER ARCHITECTURE
TOPICS OF
DISCUSSION:-
DEFINITION HISTORY ROLE I/O DEVICES CPU MEMORY REGISTERS BUS
Definition
Section 1
Computer architecture??
Computer architecture is the conceptual
design and fundamental operational
structure of a computer system.
The design made a clear distinction
between architecture and implementation,
allowing IBM to release a suite of
compatible designs at different prices.
History of computer architecture:-
• The term architecture as applied to computer
design, was first used in 1964 by Gene Amdahl, G.
Anne Blaauw, and Frederick Brooks, Jr., the
designers of the IBM System/360.
• They joined the term to refer to those aspects of
the instruction set available to programmers,
independent of the hardware on which the
instruction set was implemented.
Frederick Brooks
Gene Amdahl
Role of Computer Architecture:-
The coordination of abstract levels of a
processor under changing forces, involving
design, measurement and evaluation.
 It also includes the overall fundamental
working principle of the internal logical
structure of a computer system.
Von Neumann Architecture
Section 2
Computer architecture
Components of computer architecture:-
The important components
I/O Devices
CPU(central
processing
unit)
Memory Register Buses
Components
Section 3
I/O Devices
 Its stands for Input and Output devices.
 Input devices:
These devices are used to communicate with the computer.
 Output devices:
These devices are used to communicate with the user.
Input devices:
Following are the examples of some input
devices:
Keyboard
Mouse
Joystick
Microphone
Scanner
Bar code reader
Output Devices:
Following are the examples of
some input devices:
Monitor
Speakers
Printers
Projectors
Computer architecture
Central Processing Unit
Section 4
CPU:
Central processing unit (CPU) is the portion of
a computer system that carries out
the instructions of a computer program, to
perform the basic arithmetical, logical,
and input/output operations of the system.
The CPU plays a role somewhat analogous to
the brain in the computer.
CPU is a small chip mounted on the circuit board
(mother board).
CPU also perform data processing.
PARTS:-
CPU.
CU ALU
CU:
It stands for “Control Unit”.
A control unit in general is a central part of
the machinery that controls its operation.
The CU reads the instruction from memory,
decodes and executes these instructions.
Its is also known as fetch-decode and execute
cycle.
EXAMPLES:-
A few examples of devices that require a
control unit are CPUs and GPUs.
ALU:
Its stands for “Arithmetic and Logical Unit”.
An arithmetic-logic unit (ALU) is the part of a
computer processor (CPU) that carries out
arithmetic and logic operations on the operands
in computer instruction words.
Operations
Operations
Arithmetic
operations.
Logical
operations.
Arithmetic operations:
Followings are some Arithmetic's operators:
Addition
Subtraction
Multiplication
Division
Logical operations:
These
operations
produce results
True
False
There are some
logical
operator:
AND
OR
NOT
Memory Unit
Section 5
Memory:
It is the very important part of any system.
The term memory identifies data storage that
comes in the form of chips, and the
word storage is used for memory that exists
on tapes or disks.
Some computers also use virtual memory.
TYPES :-
Types of Memory
Primary /
Main memory
Secondary Memory
/ Storage devices
Main Memory:
It is called working area of computer.
Refers to physical memory that is
internal to the computer.
Another term for main memory is RAM.
Computer cannot work without it.
Types of Main Memory:
Types of Main
Memory
RAM
(Random Access Memory)
ROM
(Read Only Memory)
RAM:
Main memory is usually referred as RAM.
It is also called volatile, or user memory.
The contents are lost as the electric supply is
cut-off.
One of the first home computer used 64
kilobytes of RAM memory but today’s modren
computers need a minimum of 64 MB
(recommended 128 MB or more)to run a
Windows.
Computer architecture
Types of RAM:
Types
• SRAM
• Static Random Access Memory
• DRAM
• Dynamic random Access Memory
SRAM:
Its stands for static random access memory.
No refreshing of electric states is required in SRAM.
These chips are faster than DRAM.
• Static random-access memory (SRAM) is a type
of semiconductor memory.
DRAM(dynamic random access memory)
It must have an electric current to maintain its
electric states.
Its design is less complex than SRAM.
Dynamic random-access memory (DRAM) is a
type of random-access memory that stores
each bit of data in a separate capacitor within
an integrated circuit.
DRAM:-
ROM:
It is obvious from name that the
contents of ROM are read only.
New data can not be written on it.
Its contents are permanent.
It is referred to non-volatile or system
memory.
When the power is switched off the
contents of ROM is not lost.
Computer architecture
Types of ROM:
PROM
EPROM
EEPROM
PROM (programmable read only memory)
It is initially blank and the manufacture writes
instruction and data with some special
devices.
Once the information is stored onto PROM
,then it cannot be changed.
EPROM:
It stands for erasable programmable read only
memory.
It is another type of ROM chip and it is possible
to erase the stored information and the chip can
be reprogrammed using special devices.
Information can be erased using ultraviolet rays.
EEPROM:
It stands for electrically erasable
programmable read only memory.
It is a kind of ROM chip can be re-written
using electrical devices.
The stored information on EEPROM can be
erased, modified or reprogrammed easily
using special devices.
Secondary Memory
This is the memory which is used to store the
data permanently.
There are some example of secondary memory:
CD (Compact disk)
Hard disk
Floppy disk
Flash drive
What is virtual memory?
In computing, virtual memory is
a memory management technique
developed for multitasking kernels.
Registers:
These are the high speed memory locations built into
the microprocessor.
It increase the performance of system.
Types of Registers:
PC (Program Counter)
IR (Instruction Register)
MAR (Memory Address Register)
MBR (Memory Buffer Register)
SP (Stack Pointer Register)
GPR (General Pointer Register A,B,C,D)
Address Register (CS, DS, ES, SS)
PC (Program Counter)
It hold the address of the next
instruction to be fetched and
executed.
PC REGISTER
IR (Instruction Register)
 It hold the current instruction that is being
executed.
MAR (Memory Address Register)
It holds the address of active memory location.
MBR (Memory Buffer Register)
It holds the contents of the memory
location read from or written in the
memory.
SP (Stack Pointer Register)
Arrangement of data is called stack data is
stored in or retrieved from stack using LIFO
(Last in First Out).
LIFO is also known FILO (First in Last Out).
GPR (General Purpose Register)
These registers are used to perform arithmetic
and logical operations.
GENERAL PURPOSES
There are four general purpose register:
Accumulator
Base register
Counter register
Data register
Accumulator:
It is used for Arithmetic and logical
operations.
Base register
 Base register is used for:
 Arithmetic
 Data movement
 Special addressing abilities.
Counter register
As the name show it is used for counting
purpose.
It acts as counter in loop.
Data register
It has special role in division and multiplication.
The size of these registers is from 1 to 4 bytes.
Address Register
It is a group of 4 registers:
 CS (Code Segment)
 DS (Data Segment)
 ES (Extra Segment)
 SS (Stack Segment)
Buses:
These are circuits provide a
communication path between two or
more devices of a digital computer.
All the components of a computer are
connected with a set of parallel lines.
These lines are called BUS.
There are two types of Buses:
System Bus
Expansion Bus
System Bus:
It is divided into three main
categories:
Control Bus
Address Bus
Data bus
SYSTEM BUS
Control Bus
These lines are used to transmits the
other control signals from one
component to another.
It also transmits the other control signals
like ACKS (acknowledgement signal).
CONTROL BUS
Address Bus
It carries the address of various memory
locations to perform read and write
operations.
It uses a few system bus lines to specify
the address of destination; these lines are
called address bus.
ADRESS BUS
Data Bus
Data bus is used to transfer the data
from one component to another.
These are 32 or 64 parallel lines reserved
on system bus.
DATA BUS
Expansion Bus:
The major components are connected to
the system bus and the remaining
components are connected to another
bus called expansion bus and the
expansion bus is connected to the
system bus.
EXPANSION BUS
Computer architecture
1 de 71

Recomendados

Computer architecture por
Computer architectureComputer architecture
Computer architectureZuhaib Zaroon
10.9K vistas101 diapositivas
Introduction to Computer Architecture por
Introduction to Computer ArchitectureIntroduction to Computer Architecture
Introduction to Computer ArchitectureAnkush Srivastava
6.7K vistas19 diapositivas
Computer architecture por
Computer architectureComputer architecture
Computer architecturesaurabh sen sky
1.2K vistas12 diapositivas
Computer architecture por
Computer architectureComputer architecture
Computer architectureRishabha Garg
42.7K vistas36 diapositivas
Lecture1 - Computer Architecture por
Lecture1 - Computer ArchitectureLecture1 - Computer Architecture
Lecture1 - Computer ArchitectureVolodymyr Ushenko
1.1K vistas15 diapositivas
Computer Organisation & Architecture (chapter 1) por
Computer Organisation & Architecture (chapter 1) Computer Organisation & Architecture (chapter 1)
Computer Organisation & Architecture (chapter 1) Subhasis Dash
2.3K vistas37 diapositivas

Más contenido relacionado

La actualidad más candente

CS4109 Computer System Architecture por
CS4109 Computer System ArchitectureCS4109 Computer System Architecture
CS4109 Computer System Architecturektosri
3.7K vistas456 diapositivas
Von-Neumann machine and IAS architecture por
Von-Neumann machine and  IAS architectureVon-Neumann machine and  IAS architecture
Von-Neumann machine and IAS architectureShishir Aryal
536 vistas16 diapositivas
Basic Computer Architecture por
Basic Computer ArchitectureBasic Computer Architecture
Basic Computer ArchitectureYong Heui Cho
36.5K vistas25 diapositivas
Stored program concept por
Stored program conceptStored program concept
Stored program conceptgaurav jain
22.3K vistas7 diapositivas
Basic computer architecture por
Basic computer architectureBasic computer architecture
Basic computer architectureDaffodil International University
1.2K vistas21 diapositivas
0 introduction to computer architecture por
0 introduction to computer architecture0 introduction to computer architecture
0 introduction to computer architectureaamc1100
5.8K vistas37 diapositivas

La actualidad más candente(20)

CS4109 Computer System Architecture por ktosri
CS4109 Computer System ArchitectureCS4109 Computer System Architecture
CS4109 Computer System Architecture
ktosri3.7K vistas
Von-Neumann machine and IAS architecture por Shishir Aryal
Von-Neumann machine and  IAS architectureVon-Neumann machine and  IAS architecture
Von-Neumann machine and IAS architecture
Shishir Aryal536 vistas
Basic Computer Architecture por Yong Heui Cho
Basic Computer ArchitectureBasic Computer Architecture
Basic Computer Architecture
Yong Heui Cho36.5K vistas
Stored program concept por gaurav jain
Stored program conceptStored program concept
Stored program concept
gaurav jain22.3K vistas
0 introduction to computer architecture por aamc1100
0 introduction to computer architecture0 introduction to computer architecture
0 introduction to computer architecture
aamc11005.8K vistas
Memory organization (Computer architecture) por Sandesh Jonchhe
Memory organization (Computer architecture)Memory organization (Computer architecture)
Memory organization (Computer architecture)
Sandesh Jonchhe13K vistas
Computer Organization Lecture Notes por FellowBuddy.com
Computer Organization Lecture NotesComputer Organization Lecture Notes
Computer Organization Lecture Notes
FellowBuddy.com6K vistas
Computer architecture por Burhan Ahmed
Computer architectureComputer architecture
Computer architecture
Burhan Ahmed3.6K vistas
Instruction Set Architecture por Dilum Bandara
Instruction Set ArchitectureInstruction Set Architecture
Instruction Set Architecture
Dilum Bandara26.7K vistas
Computer architecture and organization por Tushar B Kute
Computer architecture and organizationComputer architecture and organization
Computer architecture and organization
Tushar B Kute28.2K vistas
Input Output Organization por Kamal Acharya
Input Output OrganizationInput Output Organization
Input Output Organization
Kamal Acharya43.3K vistas
Instruction Set Architecture (ISA) por Gaditek
Instruction Set Architecture (ISA)Instruction Set Architecture (ISA)
Instruction Set Architecture (ISA)
Gaditek6.1K vistas
Computer Organization and Assembly Language por fasihuddin90
Computer Organization and Assembly LanguageComputer Organization and Assembly Language
Computer Organization and Assembly Language
fasihuddin9013.5K vistas
The Basic Organization of Computers por Tallat Satti
The Basic Organization of ComputersThe Basic Organization of Computers
The Basic Organization of Computers
Tallat Satti5.6K vistas
Register organization, stack por Asif Iqbal
Register organization, stackRegister organization, stack
Register organization, stack
Asif Iqbal12.6K vistas

Destacado

Computer architecture por
Computer architectureComputer architecture
Computer architectureSanjeev Patel
15.4K vistas12 diapositivas
Ntroduction to computer architecture and organization por
Ntroduction to computer architecture and organizationNtroduction to computer architecture and organization
Ntroduction to computer architecture and organizationFakulti seni, komputeran dan indusri kreatif
24.4K vistas65 diapositivas
Computer Architecture and organization por
Computer Architecture and organizationComputer Architecture and organization
Computer Architecture and organizationBadrinath Kadam
23.3K vistas56 diapositivas
Computer Architecture – An Introduction por
Computer Architecture – An IntroductionComputer Architecture – An Introduction
Computer Architecture – An IntroductionDilum Bandara
20.3K vistas36 diapositivas
Computer architecture por
Computer architecture Computer architecture
Computer architecture Ashish Kumar
14.9K vistas150 diapositivas
Various type of register por
Various type of registerVarious type of register
Various type of registerMuhammad Taqi Hassan Bukhari
14.7K vistas19 diapositivas

Destacado(20)

Computer architecture por Sanjeev Patel
Computer architectureComputer architecture
Computer architecture
Sanjeev Patel15.4K vistas
Computer Architecture and organization por Badrinath Kadam
Computer Architecture and organizationComputer Architecture and organization
Computer Architecture and organization
Badrinath Kadam23.3K vistas
Computer Architecture – An Introduction por Dilum Bandara
Computer Architecture – An IntroductionComputer Architecture – An Introduction
Computer Architecture – An Introduction
Dilum Bandara20.3K vistas
Computer architecture por Ashish Kumar
Computer architecture Computer architecture
Computer architecture
Ashish Kumar14.9K vistas
Basic Computer Organization and Design por mekind
Basic Computer Organization and DesignBasic Computer Organization and Design
Basic Computer Organization and Design
mekind42.8K vistas
Computer architecture por Rozase Patel
Computer architectureComputer architecture
Computer architecture
Rozase Patel462 vistas
CArcMOOC 04.01 - Von Neumann and CPU micro-architecture por Alessandro Bogliolo
CArcMOOC 04.01 - Von Neumann and CPU micro-architectureCArcMOOC 04.01 - Von Neumann and CPU micro-architecture
CArcMOOC 04.01 - Von Neumann and CPU micro-architecture
Alessandro Bogliolo483 vistas
Huffman Tree And Its Application por Papu Kumar
Huffman Tree And Its ApplicationHuffman Tree And Its Application
Huffman Tree And Its Application
Papu Kumar8.1K vistas
Computer architecture short note (version 8) por Nimmi Weeraddana
Computer architecture short note (version 8)Computer architecture short note (version 8)
Computer architecture short note (version 8)
Nimmi Weeraddana2.1K vistas
Pragmatic optimization in modern programming - modern computer architecture c... por Marina Kolpakova
Pragmatic optimization in modern programming - modern computer architecture c...Pragmatic optimization in modern programming - modern computer architecture c...
Pragmatic optimization in modern programming - modern computer architecture c...
Marina Kolpakova300 vistas
Transfer Photos to Computer from Digital Camera por Maria Gagne
Transfer Photos to Computer from Digital CameraTransfer Photos to Computer from Digital Camera
Transfer Photos to Computer from Digital Camera
Maria Gagne444 vistas

Similar a Computer architecture

Microprocessor por
MicroprocessorMicroprocessor
Microprocessoraaina_katyal
35.6K vistas20 diapositivas
Ppt Lesson 04 por
Ppt Lesson 04Ppt Lesson 04
Ppt Lesson 04almario1988
1.9K vistas31 diapositivas
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
18. the components of the system unit por
18. the components of the system unit18. the components of the system unit
18. the components of the system unitZambales National High School
3.3K vistas48 diapositivas
Hardware por
HardwareHardware
HardwareMuuluu
1.3K vistas63 diapositivas
Microcontroller part 1 por
Microcontroller part 1Microcontroller part 1
Microcontroller part 1Keroles karam khalil
740 vistas143 diapositivas

Similar a Computer architecture (20)

Microprocessor por aaina_katyal
MicroprocessorMicroprocessor
Microprocessor
aaina_katyal35.6K vistas
Ppt Lesson 04 por almario1988
Ppt Lesson 04Ppt Lesson 04
Ppt Lesson 04
almario19881.9K vistas
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
Hardware por Muuluu
HardwareHardware
Hardware
Muuluu1.3K vistas
COMPONENTS OF SYSTEM UNIT por arunakshidatta
COMPONENTS OF SYSTEM UNITCOMPONENTS OF SYSTEM UNIT
COMPONENTS OF SYSTEM UNIT
arunakshidatta13.7K vistas
Components of the System Unit.pdf por ODINARARCH
Components of the System Unit.pdfComponents of the System Unit.pdf
Components of the System Unit.pdf
ODINARARCH66 vistas
Processing Devices por itsvineeth209
Processing DevicesProcessing Devices
Processing Devices
itsvineeth20942.6K vistas
Topic 1 Data Representation por Naruin
Topic 1 Data RepresentationTopic 1 Data Representation
Topic 1 Data Representation
Naruin2.4K vistas
Hcs Topic 2 Computer Structure V2 por Naruin
Hcs Topic 2  Computer Structure V2Hcs Topic 2  Computer Structure V2
Hcs Topic 2 Computer Structure V2
Naruin659 vistas
Hcs Topic 2 Computer Structure V2 por ekul
Hcs Topic 2  Computer Structure V2Hcs Topic 2  Computer Structure V2
Hcs Topic 2 Computer Structure V2
ekul1.3K vistas

Más de International Islamic University

Hash tables por
Hash tablesHash tables
Hash tablesInternational Islamic University
2.2K vistas59 diapositivas
Binary Search Tree por
Binary Search TreeBinary Search Tree
Binary Search TreeInternational Islamic University
1.3K vistas74 diapositivas
Graph 1 por
Graph 1Graph 1
Graph 1International Islamic University
272 vistas90 diapositivas
Graph 2 por
Graph 2Graph 2
Graph 2International Islamic University
140 vistas83 diapositivas
Graph 3 por
Graph 3Graph 3
Graph 3International Islamic University
160 vistas35 diapositivas
Greedy algorithm por
Greedy algorithmGreedy algorithm
Greedy algorithmInternational Islamic University
6.4K vistas48 diapositivas

Más de International Islamic University(20)

Último

Recap of our Class por
Recap of our ClassRecap of our Class
Recap of our ClassCorinne Weisgerber
100 vistas15 diapositivas
Mineral nutrition and Fertilizer use of Cashew por
 Mineral nutrition and Fertilizer use of Cashew Mineral nutrition and Fertilizer use of Cashew
Mineral nutrition and Fertilizer use of CashewAruna Srikantha Jayawardana
52 vistas107 diapositivas
A Guide to Applying for the Wells Mountain Initiative Scholarship 2023 por
A Guide to Applying for the Wells Mountain Initiative Scholarship 2023A Guide to Applying for the Wells Mountain Initiative Scholarship 2023
A Guide to Applying for the Wells Mountain Initiative Scholarship 2023Excellence Foundation for South Sudan
69 vistas26 diapositivas
Class 9 lesson plans por
Class 9 lesson plansClass 9 lesson plans
Class 9 lesson plansTARIQ KHAN
53 vistas34 diapositivas
Java Simplified: Understanding Programming Basics por
Java Simplified: Understanding Programming BasicsJava Simplified: Understanding Programming Basics
Java Simplified: Understanding Programming BasicsAkshaj Vadakkath Joshy
532 vistas155 diapositivas
Narration lesson plan por
Narration lesson planNarration lesson plan
Narration lesson planTARIQ KHAN
64 vistas11 diapositivas

Último(20)

Class 9 lesson plans por TARIQ KHAN
Class 9 lesson plansClass 9 lesson plans
Class 9 lesson plans
TARIQ KHAN53 vistas
Narration lesson plan por TARIQ KHAN
Narration lesson planNarration lesson plan
Narration lesson plan
TARIQ KHAN64 vistas
The Accursed House by Émile Gaboriau por DivyaSheta
The Accursed House  by Émile GaboriauThe Accursed House  by Émile Gaboriau
The Accursed House by Émile Gaboriau
DivyaSheta234 vistas
How to empty an One2many field in Odoo por Celine George
How to empty an One2many field in OdooHow to empty an One2many field in Odoo
How to empty an One2many field in Odoo
Celine George97 vistas
BÀI TẬP BỔ TRỢ TIẾNG ANH FAMILY AND FRIENDS NATIONAL EDITION - LỚP 4 (CÓ FIL... por Nguyen Thanh Tu Collection
BÀI TẬP BỔ TRỢ TIẾNG ANH FAMILY AND FRIENDS NATIONAL EDITION - LỚP 4 (CÓ FIL...BÀI TẬP BỔ TRỢ TIẾNG ANH FAMILY AND FRIENDS NATIONAL EDITION - LỚP 4 (CÓ FIL...
BÀI TẬP BỔ TRỢ TIẾNG ANH FAMILY AND FRIENDS NATIONAL EDITION - LỚP 4 (CÓ FIL...
JQUERY.pdf por ArthyR3
JQUERY.pdfJQUERY.pdf
JQUERY.pdf
ArthyR396 vistas
GCSE Geography por WestHatch
GCSE GeographyGCSE Geography
GCSE Geography
WestHatch47 vistas
A-Level Art por WestHatch
A-Level ArtA-Level Art
A-Level Art
WestHatch48 vistas
GCSE Spanish por WestHatch
GCSE SpanishGCSE Spanish
GCSE Spanish
WestHatch53 vistas
Pharmaceutical Inorganic chemistry UNIT-V Radiopharmaceutical.pptx por Ms. Pooja Bhandare
Pharmaceutical Inorganic chemistry UNIT-V Radiopharmaceutical.pptxPharmaceutical Inorganic chemistry UNIT-V Radiopharmaceutical.pptx
Pharmaceutical Inorganic chemistry UNIT-V Radiopharmaceutical.pptx
Ms. Pooja Bhandare120 vistas
EIT-Digital_Spohrer_AI_Intro 20231128 v1.pptx por ISSIP
EIT-Digital_Spohrer_AI_Intro 20231128 v1.pptxEIT-Digital_Spohrer_AI_Intro 20231128 v1.pptx
EIT-Digital_Spohrer_AI_Intro 20231128 v1.pptx
ISSIP407 vistas
GCSE Media por WestHatch
GCSE MediaGCSE Media
GCSE Media
WestHatch48 vistas

Computer architecture

  • 2. COMPUTER ARCHITECTURE TOPICS OF DISCUSSION:- DEFINITION HISTORY ROLE I/O DEVICES CPU MEMORY REGISTERS BUS
  • 4. Computer architecture?? Computer architecture is the conceptual design and fundamental operational structure of a computer system. The design made a clear distinction between architecture and implementation, allowing IBM to release a suite of compatible designs at different prices.
  • 5. History of computer architecture:- • The term architecture as applied to computer design, was first used in 1964 by Gene Amdahl, G. Anne Blaauw, and Frederick Brooks, Jr., the designers of the IBM System/360. • They joined the term to refer to those aspects of the instruction set available to programmers, independent of the hardware on which the instruction set was implemented.
  • 7. Role of Computer Architecture:- The coordination of abstract levels of a processor under changing forces, involving design, measurement and evaluation.  It also includes the overall fundamental working principle of the internal logical structure of a computer system.
  • 10. Components of computer architecture:- The important components I/O Devices CPU(central processing unit) Memory Register Buses
  • 12. I/O Devices  Its stands for Input and Output devices.  Input devices: These devices are used to communicate with the computer.  Output devices: These devices are used to communicate with the user.
  • 13. Input devices: Following are the examples of some input devices: Keyboard Mouse Joystick Microphone Scanner Bar code reader
  • 14. Output Devices: Following are the examples of some input devices: Monitor Speakers Printers Projectors
  • 17. CPU: Central processing unit (CPU) is the portion of a computer system that carries out the instructions of a computer program, to perform the basic arithmetical, logical, and input/output operations of the system. The CPU plays a role somewhat analogous to the brain in the computer. CPU is a small chip mounted on the circuit board (mother board). CPU also perform data processing.
  • 19. CU: It stands for “Control Unit”. A control unit in general is a central part of the machinery that controls its operation. The CU reads the instruction from memory, decodes and executes these instructions. Its is also known as fetch-decode and execute cycle.
  • 20. EXAMPLES:- A few examples of devices that require a control unit are CPUs and GPUs.
  • 21. ALU: Its stands for “Arithmetic and Logical Unit”. An arithmetic-logic unit (ALU) is the part of a computer processor (CPU) that carries out arithmetic and logic operations on the operands in computer instruction words.
  • 23. Arithmetic operations: Followings are some Arithmetic's operators: Addition Subtraction Multiplication Division
  • 26. Memory: It is the very important part of any system. The term memory identifies data storage that comes in the form of chips, and the word storage is used for memory that exists on tapes or disks. Some computers also use virtual memory.
  • 27. TYPES :- Types of Memory Primary / Main memory Secondary Memory / Storage devices
  • 28. Main Memory: It is called working area of computer. Refers to physical memory that is internal to the computer. Another term for main memory is RAM. Computer cannot work without it.
  • 29. Types of Main Memory: Types of Main Memory RAM (Random Access Memory) ROM (Read Only Memory)
  • 30. RAM: Main memory is usually referred as RAM. It is also called volatile, or user memory. The contents are lost as the electric supply is cut-off. One of the first home computer used 64 kilobytes of RAM memory but today’s modren computers need a minimum of 64 MB (recommended 128 MB or more)to run a Windows.
  • 32. Types of RAM: Types • SRAM • Static Random Access Memory • DRAM • Dynamic random Access Memory
  • 33. SRAM: Its stands for static random access memory. No refreshing of electric states is required in SRAM. These chips are faster than DRAM. • Static random-access memory (SRAM) is a type of semiconductor memory.
  • 34. DRAM(dynamic random access memory) It must have an electric current to maintain its electric states. Its design is less complex than SRAM. Dynamic random-access memory (DRAM) is a type of random-access memory that stores each bit of data in a separate capacitor within an integrated circuit.
  • 36. ROM: It is obvious from name that the contents of ROM are read only. New data can not be written on it. Its contents are permanent. It is referred to non-volatile or system memory. When the power is switched off the contents of ROM is not lost.
  • 39. PROM (programmable read only memory) It is initially blank and the manufacture writes instruction and data with some special devices. Once the information is stored onto PROM ,then it cannot be changed.
  • 40. EPROM: It stands for erasable programmable read only memory. It is another type of ROM chip and it is possible to erase the stored information and the chip can be reprogrammed using special devices. Information can be erased using ultraviolet rays.
  • 41. EEPROM: It stands for electrically erasable programmable read only memory. It is a kind of ROM chip can be re-written using electrical devices. The stored information on EEPROM can be erased, modified or reprogrammed easily using special devices.
  • 42. Secondary Memory This is the memory which is used to store the data permanently. There are some example of secondary memory: CD (Compact disk) Hard disk Floppy disk Flash drive
  • 43. What is virtual memory? In computing, virtual memory is a memory management technique developed for multitasking kernels.
  • 44. Registers: These are the high speed memory locations built into the microprocessor. It increase the performance of system.
  • 45. Types of Registers: PC (Program Counter) IR (Instruction Register) MAR (Memory Address Register) MBR (Memory Buffer Register) SP (Stack Pointer Register) GPR (General Pointer Register A,B,C,D) Address Register (CS, DS, ES, SS)
  • 46. PC (Program Counter) It hold the address of the next instruction to be fetched and executed.
  • 48. IR (Instruction Register)  It hold the current instruction that is being executed.
  • 49. MAR (Memory Address Register) It holds the address of active memory location.
  • 50. MBR (Memory Buffer Register) It holds the contents of the memory location read from or written in the memory.
  • 51. SP (Stack Pointer Register) Arrangement of data is called stack data is stored in or retrieved from stack using LIFO (Last in First Out). LIFO is also known FILO (First in Last Out).
  • 52. GPR (General Purpose Register) These registers are used to perform arithmetic and logical operations.
  • 53. GENERAL PURPOSES There are four general purpose register: Accumulator Base register Counter register Data register
  • 54. Accumulator: It is used for Arithmetic and logical operations.
  • 55. Base register  Base register is used for:  Arithmetic  Data movement  Special addressing abilities.
  • 56. Counter register As the name show it is used for counting purpose. It acts as counter in loop.
  • 57. Data register It has special role in division and multiplication. The size of these registers is from 1 to 4 bytes.
  • 58. Address Register It is a group of 4 registers:  CS (Code Segment)  DS (Data Segment)  ES (Extra Segment)  SS (Stack Segment)
  • 59. Buses: These are circuits provide a communication path between two or more devices of a digital computer.
  • 60. All the components of a computer are connected with a set of parallel lines. These lines are called BUS. There are two types of Buses: System Bus Expansion Bus
  • 61. System Bus: It is divided into three main categories: Control Bus Address Bus Data bus
  • 63. Control Bus These lines are used to transmits the other control signals from one component to another. It also transmits the other control signals like ACKS (acknowledgement signal).
  • 65. Address Bus It carries the address of various memory locations to perform read and write operations. It uses a few system bus lines to specify the address of destination; these lines are called address bus.
  • 67. Data Bus Data bus is used to transfer the data from one component to another. These are 32 or 64 parallel lines reserved on system bus.
  • 69. Expansion Bus: The major components are connected to the system bus and the remaining components are connected to another bus called expansion bus and the expansion bus is connected to the system bus.