SlideShare a Scribd company logo
Introduction to Computer
Ms. Amrit
Assistant Professor
Introduction to Computer
Amrit Kaur
Assistant Professor
CLASSIFICATION OF COMPUTERCLASSIFICATION OF COMPUTER
Classification on Basis of
• Purpose
– General Purpose Computers
– Specific Purpose Computers
• Functionality
– Analog
– Digital
– Hybrid
Classification on Basis of
General Purpose Computers
Specific Purpose Computers
Classification on Basis of
• Size
– Micro
– Mini
– Main
– Super
Classification on Basis of
Classification based on
• General Purpose Computers
– Designed to meet the needs
– Designed to solve wide variety
• Store and execute different
• Can be used to prepare
inventories, print sales
calculation and so on.
• Example: A personal computer
or at home
Classification based on PURPOSE
Computers
needs of many different applications
variety of problems and functions
different program in its internal storage
prepare pay-bills, manage
sales report, making scientific
computer used in an office
Classification based on
• Special Purpose Computers
– Designed only to meet
particular task or application
– Designed to solve one particular
– It therefore doesn’t posses
less expensive and fast in
– Can be used in traffic lights
forecasting, digital watches
Classification based on PURPOSE
Computers
meet the requirements of a
application.
particular problem
posses unnecessary options and is
in processing
lights control system, weather
watches
Classification based on
• Analog Computer
– form of computer that uses
aspects of physical phenomena
mechanical, or hydraulic quantities
being solved.
– Represented by series of waves
– Don’t require any storage
measure and compare quantities
– Example: Speedometer, Voltmeter,
Classification based on Functionality
uses the continuously changeable
phenomena such as electrical,
quantities to model the problem
waves
storage capabilities because they
quantities in a single operation.
Voltmeter, Thermometers
Classification based on
• Digital Computer
– form of computer that performs
operation with quantities
binary digits (0, 1)
– Represented by Pulses . Two
– Store result, Manipulate
expression
– Example: General Purpose
Classification based on Functionality
performs calculation and logical
quantities represented as digit specially
Two series 1’s and 0’s
data and Evaluate Arithmetic
and Specific Purpse
Classification based on
• Hybrid Computer
– form of computer in which
both the analog and digital
– The digital component serve
operations whereas analog
– Example: STD / PCO phone
using analog computer and
rate is measured in form of
Classification based on Functionality
which desirable characteristics of
digital computers are integrated.
serve as control and perform logical
analog component serves as solver
phone, communicate with a person
and the rate as charges and pulse
of digits.
Classification based on
• Microcomputers (Personal
– A computer with a microprocessor
supplemented with keyboard
microcomputer
– A microcomputer is the
processing system.
– These computers can fit on
– Available for only single user
– Types
• Desktops – cannot be carried
• Portables – can be used while
Classification based on Size
(Personal Computer)
microprocessor and its CPU
keyboard and mouse is known as
the smallest general purpose
on desks or tables
user at any time
carried
while travelling
Classification based on
• Microcomputers (Personal
– Types of Portables
• Laptop and Notebooks
• Tablet
• Smpartphones, PDAs and Palmtop
• Wearable
Classification based on Size
(Personal Computer)
Palmtop
Classification based on
• Minicomputers
– Medium sized computer.
– Serve multiple users simultaneously
Classification based on Size
simultaneously
Classification based on
• Mainframe Computers
– Computers with
• Large size
• Large storage capacities
• Very high speed of processing
• High level of reliability
– Ability to run multiple OS
– One mainframe can replace
smaller servers
Classification based on Size
processing
replace dozen or even hundred of
Classification based on
• Mainframe Computers
– Mainframe computers are
government, banks and large
– Can respond to up to 100s
Classification based on Size
used in large institutions such as
large corporations.
of millions of users at a time.
Classification based on
• SuperComputer
– Consists of ten of thousands
perform billions and trillions
– Useful in weather forecasting,
simulations etc.
– Most powerful and very expensive
Classification based on Size
thousands of processor that are able to
trillions of calculation per second.
forecasting, climate research, physical
expensive.
CENTRAL PROCESSING UNIT (CENTRAL PROCESSING UNIT (CPU)
CPU
• Is the electronic circuitry within
instructions of a computer program
arithmetic, logical, control and
specified by the instructions.
• Hardwired into a CPU's circuitry
perform, called an instruction set
• Each basic operation is represented
bits, known as the machine language
• While executing instructions in
CPU decides which operation to perform
CPU
within a computer that carries out the
program by performing the basic
and input/output (I/O) operations
circuitry is a set of basic operations it can
set.
represented by a particular combination of
language opcode
a machine language program, the
perform by "decoding" the opcode.
CPU – Block DiagramBlock Diagram
CPU – Block Diagram
• Control Unit
– The control unit does not
rather, it directs other parts
– The control unit communicates
memory.
Block Diagram
not execute program instructions;
parts of the system to do so.
communicates with both the ALU and
CPU – Block Diagram
• Arithmetic Logic Unit (ALU)
– ALU is a digital circuit within
integer arithmetic and bitwise
– The inputs to the ALU are
from previous operations,
indicating which operation
– The operands may come
external memory, or they
the ALU itself.
– The result may be stored
status information that is
internal CPU register reserved
Block Diagram
(ALU)
within the processor that performs
bitwise logic operations
are operands, status information
operations, and a code from the CU
operation to perform
from internal CPU registers or
may be constants generated by
stored in a register or memory, and
is typically stored in a special,
reserved for this purpose.
CPU – Operations
• The fundamental operation
execute a sequence of
called a program.
• Nearly all CPUs follow the
steps in their operation, which
as the instruction cycle.
Operations
operation of most CPUs, is to
stored instructions that is
the fetch, decode and execute
which are collectively known
REGISTERS
What are registers?
• Register is a quickly accessible
CPU.
• All computers load data
registers where it is used
and is manipulated
instructions.
• Manipulated data is then
memory, either by the
subsequent one
What are registers?
accessible location available to a
from a larger memory into
used for arithmetic operations
or tested by machine
then often stored back to main
same instruction or by a
Types of Registers
• Data registers can hold numeric values such as integer
• Address registers hold addresses and are used by instructions that
indirectly access primary memory.
• The stack pointer is used to manage the run
• General-purpose registers (GPRs) can store both data and addresses,
• Floating-point registers (FPRs) store floating point numbers in many
architectures.
• Constant registers hold read-only values such as zero, one, or pi.
• Instruction register (IR), holding the instruction currently being executed.
Types of Registers
can hold numeric values such as integer
hold addresses and are used by instructions that
is used to manage the run-time stack.
(GPRs) can store both data and addresses,
(FPRs) store floating point numbers in many
only values such as zero, one, or pi.
holding the instruction currently being executed.
Types of Registers
• Memory Buffer Register (MBR)
– register in CPU that stores
and from the immediate access
• Memory Data Register (MDR)
– a two-way register that holds
• data fetched from memory and ready for the CPU to process or
• data waiting to be stored in memory.
• Memory Address Register (MAR)
– the memory address from which data will be fetched to
the CPU
– the address to which data will be sent and store
Types of Registers
egister (MBR)
stores the data being transferred to
access store.
way register that holds
data fetched from memory and ready for the CPU to process or
data waiting to be stored in memory.
Memory Address Register (MAR) either stores
the memory address from which data will be fetched to
the address to which data will be sent and store
BUSES
What are Buses?
• A bus is a communication
between components inside
computers.
What are Buses?
communication system that transfers data
inside a computer, or between
Types of Buses
• Address Bus
– is a computer bus that
address.
– When a processor needs
location, it specifies that memory
bus.
– The width of the address
memory a system can address
• For example, a system with
(4,294,967,296) memory locations
Types of Buses
is used to specify a physical
to read or write to a memory
memory location on the address
bus determines the amount of
address.
with a 32-bit address bus can address 232
locations.
Types of Buses
• Control Bus
– is a computer bus that carries
and returns status signals from
– Types of Lines
• Read : A single line that when
device is being read by the CPU
• Write: A single line that when
device is being written by the
• Byte enable : A group of lines
16, 32, 64 bytes).
Types of Buses
carries commands from the CPU
from the devices.
when active (logic zero) indicates the
CPU.
when active (logic zero) indicates the
the CPU.
lines that indicate the size of the data (8,
Types of Buses
• Control Bus
– Additional lines are microprocessor
• Transfer ACK ("acknowledgement")
data was acknowledged (read)
• Bus request. Indicates a device
bus.
• Bus grant. Indicates the CPU
• Interrupt request. A device with
to the CPU.
• Clock signals. The signal on
between the CPU and a device
• Reset. If this line is active, the
Types of Buses
microprocessor-dependent, such as:
("acknowledgement"). Delivers information that the
(read) by the device.
device is requesting the use of the (data)
CPU has granted access to the bus.
with lower priority is requesting access
on this line is used to synchronize data
device.
the CPU will perform a hard reboot.
Types of Buses
• Data Bus
– Is a computer bus that allows
component to another on a
– This can include
• transferring data to and from
• from the central processing
– Each one is designed to handle
time. The amount of data
bandwidth.
Types of Buses
allows transferring of data from one
a motherboard
from the memory, or
unit (CPU) to other components.
handle so many bits of data at a
a data bus can handle is called
Types of Buses
• Data Bus
– Types
• Parallel data buses
– Carry data on many wires
– Each wire carries one bit
– Example: the PC card and
Interface.
• Serial data bus
– Has one wire and carries
– Example : USB, also
FireWire; Serial ATA; and
Types of Buses
wires simultaneously.
bit of data.
and the SCSI, or Small Computer System
carries all the bits, one after the other.
known as the Universal Serial Bus;
and Serial Attached SCSI.
INSTRUCTION CYCLEINSTRUCTION CYCLE
What is Instruction Cycle
• It is the process by which a
– computer retrieves a program instruction from its memory,
– determines what actions the instruction requires, and
– carries out those actions.
• This cycle is repeated continuously
bootup to when the computer
• The instruction cycle is
instruction is completely processed
is started.
What is Instruction Cycle
It is the process by which a
computer retrieves a program instruction from its memory,
determines what actions the instruction requires, and
continuously by the CPU, from
computer is shut down.
executed sequentially: each
processed before the next one
Instruction Cycle
• Program counter (PC)
– Counter that holds the address
executed next.
• Memory address register (MAR)
– holds the address of a memory block to be read from or
written to.
• Memory data register (MDR)
– a two-way register that holds
• data fetched from memory and ready for the CPU to process or
• data waiting to be stored in memory.
Instruction Cycle – Registers Used
address of the instruction to be
Memory address register (MAR)
holds the address of a memory block to be read from or
Memory data register (MDR)
way register that holds
data fetched from memory and ready for the CPU to process or
data waiting to be stored in memory.
Instruction Cycle
• Instruction register (IR)
– a temporary holding ground
just been fetched from memory
• Control unit (CU)
– decodes the program instruction in the IR,
– Selecting particular arithmetic operation, and coordinates
activation of those resources.
• Arithmetic logic unit (ALU)
– performs mathematical and logical operations.
Instruction Cycle – Registers Used
ground for the instruction that has
memory.
decodes the program instruction in the IR,
Selecting particular arithmetic operation, and coordinates
activation of those resources.
Arithmetic logic unit (ALU)
performs mathematical and logical operations.
Instruction Cycle
• Fetching the instruction:
– instruction is fetched from the memory address that is
currently stored in the program counter (PC), and
– stored in the instruction register (IR).
– At the end of the fetch operation, the PC points to the next
instruction that will be read at the next cycle.
• Decode the instruction:
– encoded instruction present in the IR (instruction register)
is interpreted by the decoder of CU
Instruction Cycle - Steps
instruction is fetched from the memory address that is
currently stored in the program counter (PC), and
stored in the instruction register (IR).
At the end of the fetch operation, the PC points to the next
instruction that will be read at the next cycle.
encoded instruction present in the IR (instruction register)
is interpreted by the decoder of CU
Instruction Cycle
• Execute the instruction:
– The control unit passes
sequence of control signals
of the CPU to perform
instruction
• such as reading values from
• passing them to the ALU
functions on them, and
• writing the result back to a register
• The result generated by the
memory, or sent to an output
Instruction Cycle - Steps
the decoded information as a
signals to the relevant function units
the actions required by the
registers,
ALU to perform mathematical or logic
register.
the operation is stored in the main
output device.

More Related Content

What's hot (20)

PDF
1 fundamentals of computer system
BaliThorat1
 
PPT
Co module1a introdctnaddressingmodes
Manu Jose
 
PPTX
Intro to the unit
Graeme Smith
 
PDF
6 input output devices
BaliThorat1
 
PPTX
EE5440 – Computer Architecture - Lecture 1
Dilawar Khan
 
PDF
Computer architecture
Zuhaib Zaroon
 
PDF
Co module 1 2019 20-converted
ramamani keshava
 
PPTX
BASIC COMPUTER ARCHITECTURE
Himanshu Sharma
 
PDF
8 operating system concept
BaliThorat1
 
PPTX
Computer Organization and Design
Ra'Fat Al-Msie'deen
 
PPTX
Computer hardwrae
ahsan9977
 
PPTX
The computer
joyce samaco
 
PDF
Computer organuzaton & architecture
Subhankar Bisoyi
 
PPT
Basic structure of computers
Kumar
 
PPT
Computer Structure Slides
iarthur
 
PPTX
Chapter 1 basic structure of computers
Gurpreet Singh
 
PPTX
Lecture 02 hardwares
Dynamic Research Centre & institute
 
PDF
3. basic organization of a computer
SHIKHA GAUTAM
 
PPTX
Block diagram of a computer
Qsrealm
 
PDF
Computer Oraganisation and Architecture
yogesh1617
 
1 fundamentals of computer system
BaliThorat1
 
Co module1a introdctnaddressingmodes
Manu Jose
 
Intro to the unit
Graeme Smith
 
6 input output devices
BaliThorat1
 
EE5440 – Computer Architecture - Lecture 1
Dilawar Khan
 
Computer architecture
Zuhaib Zaroon
 
Co module 1 2019 20-converted
ramamani keshava
 
BASIC COMPUTER ARCHITECTURE
Himanshu Sharma
 
8 operating system concept
BaliThorat1
 
Computer Organization and Design
Ra'Fat Al-Msie'deen
 
Computer hardwrae
ahsan9977
 
The computer
joyce samaco
 
Computer organuzaton & architecture
Subhankar Bisoyi
 
Basic structure of computers
Kumar
 
Computer Structure Slides
iarthur
 
Chapter 1 basic structure of computers
Gurpreet Singh
 
3. basic organization of a computer
SHIKHA GAUTAM
 
Block diagram of a computer
Qsrealm
 
Computer Oraganisation and Architecture
yogesh1617
 

Viewers also liked (20)

PDF
Security and Viruses
Amrit Kaur
 
PPTX
Network security and viruses
Aamlan Saswat Mishra
 
DOCX
Bus stucture
indra12345678
 
PDF
universal health
Bernadette Doyle
 
PDF
พรบ.คอมพิวเตอร์ 2550
ธนาพจน์ ศรีคำเวียง
 
PPTX
Instalciones de edificaciones
EDWARD MEJIA LEON
 
PDF
CNN.com - Transcripts
efficaciousport55
 
PDF
Grile évaluation séance poster
Antoine Taly
 
PDF
Soporte Esri España
Esri
 
PDF
Presentación cambio climático rgta
Rgta Región de O'Higgins
 
PDF
Introduction to Oberon HomeKit SDKs
Cuno Pfister
 
PDF
How Marketing Automation Can Boost Sales & Save Time
Nicholas Jensen
 
PDF
NOW/ Zoom on Beverages: Chapter 2 - Alcoholic drinks & Spirits
NOW/UNIT
 
PPT
Block diagram of computer 02
ZTE Nepal
 
PPT
13.computer buses
Abu Saleh
 
PDF
Your IOT Journey Starts Here
Dr. Mazlan Abbas
 
PDF
Building Your Next Smart City Solutions - Citizen-Focused Approach
Dr. Mazlan Abbas
 
PPSX
Ιστορίες με υπερήρωες!!
dbatsi
 
PPTX
bus and memory tranfer (computer organaization)
Siddhi Viradiya
 
Security and Viruses
Amrit Kaur
 
Network security and viruses
Aamlan Saswat Mishra
 
Bus stucture
indra12345678
 
universal health
Bernadette Doyle
 
พรบ.คอมพิวเตอร์ 2550
ธนาพจน์ ศรีคำเวียง
 
Instalciones de edificaciones
EDWARD MEJIA LEON
 
CNN.com - Transcripts
efficaciousport55
 
Grile évaluation séance poster
Antoine Taly
 
Soporte Esri España
Esri
 
Presentación cambio climático rgta
Rgta Región de O'Higgins
 
Introduction to Oberon HomeKit SDKs
Cuno Pfister
 
How Marketing Automation Can Boost Sales & Save Time
Nicholas Jensen
 
NOW/ Zoom on Beverages: Chapter 2 - Alcoholic drinks & Spirits
NOW/UNIT
 
Block diagram of computer 02
ZTE Nepal
 
13.computer buses
Abu Saleh
 
Your IOT Journey Starts Here
Dr. Mazlan Abbas
 
Building Your Next Smart City Solutions - Citizen-Focused Approach
Dr. Mazlan Abbas
 
Ιστορίες με υπερήρωες!!
dbatsi
 
bus and memory tranfer (computer organaization)
Siddhi Viradiya
 
Ad

Similar to ComputerBasics (20)

PPT
The Deal
adhaval
 
PDF
Computer organization
Infinity Tech Solutions
 
PPT
COA-Unit-1-Basics.ppt
Ruhul Amin
 
PDF
Microprocessors, Microcomputers and Assembly Language, Microprocessor Archit...
Bkannan2
 
PPTX
Introduction to computer science
Malvin28
 
PPTX
Unit 1 Presentation and notes with according to syllabus
NiteshNema4
 
PPTX
Computer architecture
International Islamic University
 
PPTX
computer catagory and its organization
Sheikh Salam
 
PPTX
Chap 1 CA.pptx
SahalAhmed4
 
PDF
Compendium for computer application
musadoto
 
PPTX
Introduction to Computers Lecture # 3
Sehrish Rafiq
 
PDF
Material.pdf
Sharpmark256
 
PDF
Lecture1.pdf
JoyPalit
 
PPTX
Computer Science PowerPoint Presentation
Ashna Rajput
 
PDF
Microprocessors evolution introduction to microprocessor
Vijay Kumar
 
PPTX
Chapter 1.pptx
Tekle12
 
PPTX
computer classification for computer hardware.pptx
leonsaifullah
 
PPTX
DSE LECTURE 1 -LRW_ Introduction_to_Computer.pptx
ssuser7b9bda1
 
PPT
Introduction To Computer 1
Amit Chandra
 
PPT
Introduction To Computer 1
Amit Chandra
 
The Deal
adhaval
 
Computer organization
Infinity Tech Solutions
 
COA-Unit-1-Basics.ppt
Ruhul Amin
 
Microprocessors, Microcomputers and Assembly Language, Microprocessor Archit...
Bkannan2
 
Introduction to computer science
Malvin28
 
Unit 1 Presentation and notes with according to syllabus
NiteshNema4
 
Computer architecture
International Islamic University
 
computer catagory and its organization
Sheikh Salam
 
Chap 1 CA.pptx
SahalAhmed4
 
Compendium for computer application
musadoto
 
Introduction to Computers Lecture # 3
Sehrish Rafiq
 
Material.pdf
Sharpmark256
 
Lecture1.pdf
JoyPalit
 
Computer Science PowerPoint Presentation
Ashna Rajput
 
Microprocessors evolution introduction to microprocessor
Vijay Kumar
 
Chapter 1.pptx
Tekle12
 
computer classification for computer hardware.pptx
leonsaifullah
 
DSE LECTURE 1 -LRW_ Introduction_to_Computer.pptx
ssuser7b9bda1
 
Introduction To Computer 1
Amit Chandra
 
Introduction To Computer 1
Amit Chandra
 
Ad

More from Amrit Kaur (20)

PDF
File Organization
Amrit Kaur
 
PDF
Introduction to transaction processing
Amrit Kaur
 
PDF
ER diagram
Amrit Kaur
 
PPTX
Transaction Processing
Amrit Kaur
 
PDF
Normalization
Amrit Kaur
 
PDF
Sample Interview Question
Amrit Kaur
 
PPTX
12. oracle database architecture
Amrit Kaur
 
PPTX
11. using regular expressions with oracle database
Amrit Kaur
 
PPTX
10. timestamp
Amrit Kaur
 
PPTX
9. index and index organized table
Amrit Kaur
 
PPTX
8. transactions
Amrit Kaur
 
PPTX
7. exceptions handling in pl
Amrit Kaur
 
PPTX
6. triggers
Amrit Kaur
 
PPTX
5. stored procedure and functions
Amrit Kaur
 
PPTX
4. plsql
Amrit Kaur
 
PPTX
3. ddl create
Amrit Kaur
 
PPTX
2. DML_INSERT_DELETE_UPDATE
Amrit Kaur
 
PPTX
1. dml select statement reterive data
Amrit Kaur
 
PDF
Chapter 8 Inheritance
Amrit Kaur
 
PDF
Chapter 7 C++ As OOP
Amrit Kaur
 
File Organization
Amrit Kaur
 
Introduction to transaction processing
Amrit Kaur
 
ER diagram
Amrit Kaur
 
Transaction Processing
Amrit Kaur
 
Normalization
Amrit Kaur
 
Sample Interview Question
Amrit Kaur
 
12. oracle database architecture
Amrit Kaur
 
11. using regular expressions with oracle database
Amrit Kaur
 
10. timestamp
Amrit Kaur
 
9. index and index organized table
Amrit Kaur
 
8. transactions
Amrit Kaur
 
7. exceptions handling in pl
Amrit Kaur
 
6. triggers
Amrit Kaur
 
5. stored procedure and functions
Amrit Kaur
 
4. plsql
Amrit Kaur
 
3. ddl create
Amrit Kaur
 
2. DML_INSERT_DELETE_UPDATE
Amrit Kaur
 
1. dml select statement reterive data
Amrit Kaur
 
Chapter 8 Inheritance
Amrit Kaur
 
Chapter 7 C++ As OOP
Amrit Kaur
 

ComputerBasics

  • 1. Introduction to Computer Ms. Amrit Assistant Professor Introduction to Computer Amrit Kaur Assistant Professor
  • 3. Classification on Basis of • Purpose – General Purpose Computers – Specific Purpose Computers • Functionality – Analog – Digital – Hybrid Classification on Basis of General Purpose Computers Specific Purpose Computers
  • 4. Classification on Basis of • Size – Micro – Mini – Main – Super Classification on Basis of
  • 5. Classification based on • General Purpose Computers – Designed to meet the needs – Designed to solve wide variety • Store and execute different • Can be used to prepare inventories, print sales calculation and so on. • Example: A personal computer or at home Classification based on PURPOSE Computers needs of many different applications variety of problems and functions different program in its internal storage prepare pay-bills, manage sales report, making scientific computer used in an office
  • 6. Classification based on • Special Purpose Computers – Designed only to meet particular task or application – Designed to solve one particular – It therefore doesn’t posses less expensive and fast in – Can be used in traffic lights forecasting, digital watches Classification based on PURPOSE Computers meet the requirements of a application. particular problem posses unnecessary options and is in processing lights control system, weather watches
  • 7. Classification based on • Analog Computer – form of computer that uses aspects of physical phenomena mechanical, or hydraulic quantities being solved. – Represented by series of waves – Don’t require any storage measure and compare quantities – Example: Speedometer, Voltmeter, Classification based on Functionality uses the continuously changeable phenomena such as electrical, quantities to model the problem waves storage capabilities because they quantities in a single operation. Voltmeter, Thermometers
  • 8. Classification based on • Digital Computer – form of computer that performs operation with quantities binary digits (0, 1) – Represented by Pulses . Two – Store result, Manipulate expression – Example: General Purpose Classification based on Functionality performs calculation and logical quantities represented as digit specially Two series 1’s and 0’s data and Evaluate Arithmetic and Specific Purpse
  • 9. Classification based on • Hybrid Computer – form of computer in which both the analog and digital – The digital component serve operations whereas analog – Example: STD / PCO phone using analog computer and rate is measured in form of Classification based on Functionality which desirable characteristics of digital computers are integrated. serve as control and perform logical analog component serves as solver phone, communicate with a person and the rate as charges and pulse of digits.
  • 10. Classification based on • Microcomputers (Personal – A computer with a microprocessor supplemented with keyboard microcomputer – A microcomputer is the processing system. – These computers can fit on – Available for only single user – Types • Desktops – cannot be carried • Portables – can be used while Classification based on Size (Personal Computer) microprocessor and its CPU keyboard and mouse is known as the smallest general purpose on desks or tables user at any time carried while travelling
  • 11. Classification based on • Microcomputers (Personal – Types of Portables • Laptop and Notebooks • Tablet • Smpartphones, PDAs and Palmtop • Wearable Classification based on Size (Personal Computer) Palmtop
  • 12. Classification based on • Minicomputers – Medium sized computer. – Serve multiple users simultaneously Classification based on Size simultaneously
  • 13. Classification based on • Mainframe Computers – Computers with • Large size • Large storage capacities • Very high speed of processing • High level of reliability – Ability to run multiple OS – One mainframe can replace smaller servers Classification based on Size processing replace dozen or even hundred of
  • 14. Classification based on • Mainframe Computers – Mainframe computers are government, banks and large – Can respond to up to 100s Classification based on Size used in large institutions such as large corporations. of millions of users at a time.
  • 15. Classification based on • SuperComputer – Consists of ten of thousands perform billions and trillions – Useful in weather forecasting, simulations etc. – Most powerful and very expensive Classification based on Size thousands of processor that are able to trillions of calculation per second. forecasting, climate research, physical expensive.
  • 16. CENTRAL PROCESSING UNIT (CENTRAL PROCESSING UNIT (CPU)
  • 17. CPU • Is the electronic circuitry within instructions of a computer program arithmetic, logical, control and specified by the instructions. • Hardwired into a CPU's circuitry perform, called an instruction set • Each basic operation is represented bits, known as the machine language • While executing instructions in CPU decides which operation to perform CPU within a computer that carries out the program by performing the basic and input/output (I/O) operations circuitry is a set of basic operations it can set. represented by a particular combination of language opcode a machine language program, the perform by "decoding" the opcode.
  • 18. CPU – Block DiagramBlock Diagram
  • 19. CPU – Block Diagram • Control Unit – The control unit does not rather, it directs other parts – The control unit communicates memory. Block Diagram not execute program instructions; parts of the system to do so. communicates with both the ALU and
  • 20. CPU – Block Diagram • Arithmetic Logic Unit (ALU) – ALU is a digital circuit within integer arithmetic and bitwise – The inputs to the ALU are from previous operations, indicating which operation – The operands may come external memory, or they the ALU itself. – The result may be stored status information that is internal CPU register reserved Block Diagram (ALU) within the processor that performs bitwise logic operations are operands, status information operations, and a code from the CU operation to perform from internal CPU registers or may be constants generated by stored in a register or memory, and is typically stored in a special, reserved for this purpose.
  • 21. CPU – Operations • The fundamental operation execute a sequence of called a program. • Nearly all CPUs follow the steps in their operation, which as the instruction cycle. Operations operation of most CPUs, is to stored instructions that is the fetch, decode and execute which are collectively known
  • 23. What are registers? • Register is a quickly accessible CPU. • All computers load data registers where it is used and is manipulated instructions. • Manipulated data is then memory, either by the subsequent one What are registers? accessible location available to a from a larger memory into used for arithmetic operations or tested by machine then often stored back to main same instruction or by a
  • 24. Types of Registers • Data registers can hold numeric values such as integer • Address registers hold addresses and are used by instructions that indirectly access primary memory. • The stack pointer is used to manage the run • General-purpose registers (GPRs) can store both data and addresses, • Floating-point registers (FPRs) store floating point numbers in many architectures. • Constant registers hold read-only values such as zero, one, or pi. • Instruction register (IR), holding the instruction currently being executed. Types of Registers can hold numeric values such as integer hold addresses and are used by instructions that is used to manage the run-time stack. (GPRs) can store both data and addresses, (FPRs) store floating point numbers in many only values such as zero, one, or pi. holding the instruction currently being executed.
  • 25. Types of Registers • Memory Buffer Register (MBR) – register in CPU that stores and from the immediate access • Memory Data Register (MDR) – a two-way register that holds • data fetched from memory and ready for the CPU to process or • data waiting to be stored in memory. • Memory Address Register (MAR) – the memory address from which data will be fetched to the CPU – the address to which data will be sent and store Types of Registers egister (MBR) stores the data being transferred to access store. way register that holds data fetched from memory and ready for the CPU to process or data waiting to be stored in memory. Memory Address Register (MAR) either stores the memory address from which data will be fetched to the address to which data will be sent and store
  • 26. BUSES
  • 27. What are Buses? • A bus is a communication between components inside computers. What are Buses? communication system that transfers data inside a computer, or between
  • 28. Types of Buses • Address Bus – is a computer bus that address. – When a processor needs location, it specifies that memory bus. – The width of the address memory a system can address • For example, a system with (4,294,967,296) memory locations Types of Buses is used to specify a physical to read or write to a memory memory location on the address bus determines the amount of address. with a 32-bit address bus can address 232 locations.
  • 29. Types of Buses • Control Bus – is a computer bus that carries and returns status signals from – Types of Lines • Read : A single line that when device is being read by the CPU • Write: A single line that when device is being written by the • Byte enable : A group of lines 16, 32, 64 bytes). Types of Buses carries commands from the CPU from the devices. when active (logic zero) indicates the CPU. when active (logic zero) indicates the the CPU. lines that indicate the size of the data (8,
  • 30. Types of Buses • Control Bus – Additional lines are microprocessor • Transfer ACK ("acknowledgement") data was acknowledged (read) • Bus request. Indicates a device bus. • Bus grant. Indicates the CPU • Interrupt request. A device with to the CPU. • Clock signals. The signal on between the CPU and a device • Reset. If this line is active, the Types of Buses microprocessor-dependent, such as: ("acknowledgement"). Delivers information that the (read) by the device. device is requesting the use of the (data) CPU has granted access to the bus. with lower priority is requesting access on this line is used to synchronize data device. the CPU will perform a hard reboot.
  • 31. Types of Buses • Data Bus – Is a computer bus that allows component to another on a – This can include • transferring data to and from • from the central processing – Each one is designed to handle time. The amount of data bandwidth. Types of Buses allows transferring of data from one a motherboard from the memory, or unit (CPU) to other components. handle so many bits of data at a a data bus can handle is called
  • 32. Types of Buses • Data Bus – Types • Parallel data buses – Carry data on many wires – Each wire carries one bit – Example: the PC card and Interface. • Serial data bus – Has one wire and carries – Example : USB, also FireWire; Serial ATA; and Types of Buses wires simultaneously. bit of data. and the SCSI, or Small Computer System carries all the bits, one after the other. known as the Universal Serial Bus; and Serial Attached SCSI.
  • 34. What is Instruction Cycle • It is the process by which a – computer retrieves a program instruction from its memory, – determines what actions the instruction requires, and – carries out those actions. • This cycle is repeated continuously bootup to when the computer • The instruction cycle is instruction is completely processed is started. What is Instruction Cycle It is the process by which a computer retrieves a program instruction from its memory, determines what actions the instruction requires, and continuously by the CPU, from computer is shut down. executed sequentially: each processed before the next one
  • 35. Instruction Cycle • Program counter (PC) – Counter that holds the address executed next. • Memory address register (MAR) – holds the address of a memory block to be read from or written to. • Memory data register (MDR) – a two-way register that holds • data fetched from memory and ready for the CPU to process or • data waiting to be stored in memory. Instruction Cycle – Registers Used address of the instruction to be Memory address register (MAR) holds the address of a memory block to be read from or Memory data register (MDR) way register that holds data fetched from memory and ready for the CPU to process or data waiting to be stored in memory.
  • 36. Instruction Cycle • Instruction register (IR) – a temporary holding ground just been fetched from memory • Control unit (CU) – decodes the program instruction in the IR, – Selecting particular arithmetic operation, and coordinates activation of those resources. • Arithmetic logic unit (ALU) – performs mathematical and logical operations. Instruction Cycle – Registers Used ground for the instruction that has memory. decodes the program instruction in the IR, Selecting particular arithmetic operation, and coordinates activation of those resources. Arithmetic logic unit (ALU) performs mathematical and logical operations.
  • 37. Instruction Cycle • Fetching the instruction: – instruction is fetched from the memory address that is currently stored in the program counter (PC), and – stored in the instruction register (IR). – At the end of the fetch operation, the PC points to the next instruction that will be read at the next cycle. • Decode the instruction: – encoded instruction present in the IR (instruction register) is interpreted by the decoder of CU Instruction Cycle - Steps instruction is fetched from the memory address that is currently stored in the program counter (PC), and stored in the instruction register (IR). At the end of the fetch operation, the PC points to the next instruction that will be read at the next cycle. encoded instruction present in the IR (instruction register) is interpreted by the decoder of CU
  • 38. Instruction Cycle • Execute the instruction: – The control unit passes sequence of control signals of the CPU to perform instruction • such as reading values from • passing them to the ALU functions on them, and • writing the result back to a register • The result generated by the memory, or sent to an output Instruction Cycle - Steps the decoded information as a signals to the relevant function units the actions required by the registers, ALU to perform mathematical or logic register. the operation is stored in the main output device.