SlideShare a Scribd company logo
1 of 38
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

1 fundamentals of computer system
1 fundamentals of computer system1 fundamentals of computer system
1 fundamentals of computer systemBaliThorat1
 
Co module1a introdctnaddressingmodes
Co module1a introdctnaddressingmodesCo module1a introdctnaddressingmodes
Co module1a introdctnaddressingmodesManu Jose
 
6 input output devices
6 input output devices6 input output devices
6 input output devicesBaliThorat1
 
EE5440 – Computer Architecture - Lecture 1
EE5440 – Computer Architecture - Lecture 1EE5440 – Computer Architecture - Lecture 1
EE5440 – Computer Architecture - Lecture 1Dilawar Khan
 
Computer architecture
Computer architectureComputer architecture
Computer architectureZuhaib Zaroon
 
Co module 1 2019 20-converted
Co module 1 2019 20-convertedCo module 1 2019 20-converted
Co module 1 2019 20-convertedramamani keshava
 
BASIC COMPUTER ARCHITECTURE
BASIC COMPUTER ARCHITECTURE BASIC COMPUTER ARCHITECTURE
BASIC COMPUTER ARCHITECTURE Himanshu Sharma
 
8 operating system concept
8 operating system concept8 operating system concept
8 operating system conceptBaliThorat1
 
Computer Organization and Design
Computer Organization and DesignComputer Organization and Design
Computer Organization and DesignRa'Fat Al-Msie'deen
 
Computer hardwrae
Computer hardwrae Computer hardwrae
Computer hardwrae ahsan9977
 
Computer organuzaton & architecture
Computer organuzaton & architectureComputer organuzaton & architecture
Computer organuzaton & architectureSubhankar Bisoyi
 
Basic structure of computers
Basic structure of computersBasic structure of computers
Basic structure of computersKumar
 
Computer Structure Slides
Computer Structure SlidesComputer Structure Slides
Computer Structure Slidesiarthur
 
Chapter 1 basic structure of computers
Chapter 1  basic structure of computersChapter 1  basic structure of computers
Chapter 1 basic structure of computersGurpreet Singh
 
3. basic organization of a computer
3. basic organization of a computer3. basic organization of a computer
3. basic organization of a computerSHIKHA GAUTAM
 
Block diagram of a computer
Block diagram of a computerBlock diagram of a computer
Block diagram of a computerQsrealm
 
Computer Oraganisation and Architecture
Computer Oraganisation and ArchitectureComputer Oraganisation and Architecture
Computer Oraganisation and Architectureyogesh1617
 

What's hot (20)

1 fundamentals of computer system
1 fundamentals of computer system1 fundamentals of computer system
1 fundamentals of computer system
 
Co module1a introdctnaddressingmodes
Co module1a introdctnaddressingmodesCo module1a introdctnaddressingmodes
Co module1a introdctnaddressingmodes
 
Intro to the unit
Intro to the unitIntro to the unit
Intro to the unit
 
6 input output devices
6 input output devices6 input output devices
6 input output devices
 
EE5440 – Computer Architecture - Lecture 1
EE5440 – Computer Architecture - Lecture 1EE5440 – Computer Architecture - Lecture 1
EE5440 – Computer Architecture - Lecture 1
 
Computer architecture
Computer architectureComputer architecture
Computer architecture
 
Co module 1 2019 20-converted
Co module 1 2019 20-convertedCo module 1 2019 20-converted
Co module 1 2019 20-converted
 
BASIC COMPUTER ARCHITECTURE
BASIC COMPUTER ARCHITECTURE BASIC COMPUTER ARCHITECTURE
BASIC COMPUTER ARCHITECTURE
 
8 operating system concept
8 operating system concept8 operating system concept
8 operating system concept
 
Computer Organization and Design
Computer Organization and DesignComputer Organization and Design
Computer Organization and Design
 
Computer hardwrae
Computer hardwrae Computer hardwrae
Computer hardwrae
 
The computer
The computerThe computer
The computer
 
Computer organuzaton & architecture
Computer organuzaton & architectureComputer organuzaton & architecture
Computer organuzaton & architecture
 
Basic structure of computers
Basic structure of computersBasic structure of computers
Basic structure of computers
 
Computer Structure Slides
Computer Structure SlidesComputer Structure Slides
Computer Structure Slides
 
Chapter 1 basic structure of computers
Chapter 1  basic structure of computersChapter 1  basic structure of computers
Chapter 1 basic structure of computers
 
Lecture 02 hardwares
Lecture 02 hardwaresLecture 02 hardwares
Lecture 02 hardwares
 
3. basic organization of a computer
3. basic organization of a computer3. basic organization of a computer
3. basic organization of a computer
 
Block diagram of a computer
Block diagram of a computerBlock diagram of a computer
Block diagram of a computer
 
Computer Oraganisation and Architecture
Computer Oraganisation and ArchitectureComputer Oraganisation and Architecture
Computer Oraganisation and Architecture
 

Viewers also liked

Security and Viruses
Security and VirusesSecurity and Viruses
Security and VirusesAmrit Kaur
 
Instalciones de edificaciones
Instalciones de edificacionesInstalciones de edificaciones
Instalciones de edificacionesEDWARD MEJIA LEON
 
Grile évaluation séance poster
Grile évaluation séance posterGrile évaluation séance poster
Grile évaluation séance posterAntoine Taly
 
Soporte Esri España
Soporte Esri EspañaSoporte Esri España
Soporte Esri EspañaEsri
 
Introduction to Oberon HomeKit SDKs
Introduction to Oberon HomeKit SDKsIntroduction to Oberon HomeKit SDKs
Introduction to Oberon HomeKit SDKsCuno Pfister
 
How Marketing Automation Can Boost Sales & Save Time
How Marketing Automation Can Boost Sales & Save TimeHow Marketing Automation Can Boost Sales & Save Time
How Marketing Automation Can Boost Sales & Save TimeNicholas Jensen
 
NOW/ Zoom on Beverages: Chapter 2 - Alcoholic drinks & Spirits
NOW/ Zoom on Beverages: Chapter 2 - Alcoholic drinks & SpiritsNOW/ Zoom on Beverages: Chapter 2 - Alcoholic drinks & Spirits
NOW/ Zoom on Beverages: Chapter 2 - Alcoholic drinks & SpiritsNOW/UNIT
 
Block diagram of computer 02
Block diagram of computer 02Block diagram of computer 02
Block diagram of computer 02ZTE Nepal
 
13.computer buses
13.computer buses13.computer buses
13.computer busesAbu Saleh
 
Your IOT Journey Starts Here
Your IOT Journey Starts HereYour IOT Journey Starts Here
Your IOT Journey Starts HereDr. Mazlan Abbas
 
Building Your Next Smart City Solutions - Citizen-Focused Approach
Building Your Next Smart City Solutions - Citizen-Focused ApproachBuilding Your Next Smart City Solutions - Citizen-Focused Approach
Building Your Next Smart City Solutions - Citizen-Focused ApproachDr. Mazlan Abbas
 
Ιστορίες με υπερήρωες!!
Ιστορίες με υπερήρωες!!Ιστορίες με υπερήρωες!!
Ιστορίες με υπερήρωες!!dbatsi
 
bus and memory tranfer (computer organaization)
bus and memory tranfer (computer organaization)bus and memory tranfer (computer organaization)
bus and memory tranfer (computer organaization)Siddhi Viradiya
 

Viewers also liked (20)

Security and Viruses
Security and VirusesSecurity and Viruses
Security and Viruses
 
Network security and viruses
Network security and virusesNetwork security and viruses
Network security and viruses
 
Bus stucture
Bus stuctureBus stucture
Bus stucture
 
universal health
universal healthuniversal health
universal health
 
พรบ.คอมพิวเตอร์ 2550
พรบ.คอมพิวเตอร์ 2550พรบ.คอมพิวเตอร์ 2550
พรบ.คอมพิวเตอร์ 2550
 
Instalciones de edificaciones
Instalciones de edificacionesInstalciones de edificaciones
Instalciones de edificaciones
 
CNN.com - Transcripts
CNN.com - TranscriptsCNN.com - Transcripts
CNN.com - Transcripts
 
Grile évaluation séance poster
Grile évaluation séance posterGrile évaluation séance poster
Grile évaluation séance poster
 
Soporte Esri España
Soporte Esri EspañaSoporte Esri España
Soporte Esri España
 
Hybrid computer
Hybrid computerHybrid computer
Hybrid computer
 
Presentación cambio climático rgta
Presentación cambio climático rgtaPresentación cambio climático rgta
Presentación cambio climático rgta
 
Introduction to Oberon HomeKit SDKs
Introduction to Oberon HomeKit SDKsIntroduction to Oberon HomeKit SDKs
Introduction to Oberon HomeKit SDKs
 
How Marketing Automation Can Boost Sales & Save Time
How Marketing Automation Can Boost Sales & Save TimeHow Marketing Automation Can Boost Sales & Save Time
How Marketing Automation Can Boost Sales & Save Time
 
NOW/ Zoom on Beverages: Chapter 2 - Alcoholic drinks & Spirits
NOW/ Zoom on Beverages: Chapter 2 - Alcoholic drinks & SpiritsNOW/ Zoom on Beverages: Chapter 2 - Alcoholic drinks & Spirits
NOW/ Zoom on Beverages: Chapter 2 - Alcoholic drinks & Spirits
 
Block diagram of computer 02
Block diagram of computer 02Block diagram of computer 02
Block diagram of computer 02
 
13.computer buses
13.computer buses13.computer buses
13.computer buses
 
Your IOT Journey Starts Here
Your IOT Journey Starts HereYour IOT Journey Starts Here
Your IOT Journey Starts Here
 
Building Your Next Smart City Solutions - Citizen-Focused Approach
Building Your Next Smart City Solutions - Citizen-Focused ApproachBuilding Your Next Smart City Solutions - Citizen-Focused Approach
Building Your Next Smart City Solutions - Citizen-Focused Approach
 
Ιστορίες με υπερήρωες!!
Ιστορίες με υπερήρωες!!Ιστορίες με υπερήρωες!!
Ιστορίες με υπερήρωες!!
 
bus and memory tranfer (computer organaization)
bus and memory tranfer (computer organaization)bus and memory tranfer (computer organaization)
bus and memory tranfer (computer organaization)
 

Similar to ComputerBasics

Basic Structure of Computers: Functional Units, Basic Operational Concepts, B...
Basic Structure of Computers: Functional Units, Basic Operational Concepts, B...Basic Structure of Computers: Functional Units, Basic Operational Concepts, B...
Basic Structure of Computers: Functional Units, Basic Operational Concepts, B...Abhishekn84
 
Computer Organization and Architechuture basics
Computer Organization and Architechuture basicsComputer Organization and Architechuture basics
Computer Organization and Architechuture basicsLucky Sithole
 
Computer Organization and Architecture.pptx
Computer Organization and Architecture.pptxComputer Organization and Architecture.pptx
Computer Organization and Architecture.pptxAshokRachapalli1
 
unit-i-computer-organization and architecture.ppt
unit-i-computer-organization and architecture.pptunit-i-computer-organization and architecture.ppt
unit-i-computer-organization and architecture.pptvardagotmare1
 
Computer_Fundamentals1 (1).pdf
Computer_Fundamentals1 (1).pdfComputer_Fundamentals1 (1).pdf
Computer_Fundamentals1 (1).pdfitzatokiya
 
Computer_Fundamentals1 (1).pdf
Computer_Fundamentals1 (1).pdfComputer_Fundamentals1 (1).pdf
Computer_Fundamentals1 (1).pdfitzatokiya
 
computer organisation architecture.pptx
computer organisation architecture.pptxcomputer organisation architecture.pptx
computer organisation architecture.pptxYaqubMd
 
computer catagory and its organization
computer catagory and its organizationcomputer catagory and its organization
computer catagory and its organizationSheikh Salam
 
Components of Microprocessor.pptx
Components of Microprocessor.pptxComponents of Microprocessor.pptx
Components of Microprocessor.pptxPuskar Bhandari
 
What is an OS • Interface between application programs and hardwa.pdf
What is an OS • Interface between application programs and hardwa.pdfWhat is an OS • Interface between application programs and hardwa.pdf
What is an OS • Interface between application programs and hardwa.pdfaparnacollection
 
introduction COA(M1).pptx
introduction COA(M1).pptxintroduction COA(M1).pptx
introduction COA(M1).pptxBhavanaMinchu
 
I. Introduction to Microprocessor System.ppt
I. Introduction to Microprocessor System.pptI. Introduction to Microprocessor System.ppt
I. Introduction to Microprocessor System.pptHAriesOa1
 

Similar to ComputerBasics (20)

Cao u1
Cao u1Cao u1
Cao u1
 
CAO.pptx
CAO.pptxCAO.pptx
CAO.pptx
 
BASIC STRUCTURE OF COMPUTERS.pptx
BASIC STRUCTURE OF COMPUTERS.pptxBASIC STRUCTURE OF COMPUTERS.pptx
BASIC STRUCTURE OF COMPUTERS.pptx
 
Basic Structure of Computers: Functional Units, Basic Operational Concepts, B...
Basic Structure of Computers: Functional Units, Basic Operational Concepts, B...Basic Structure of Computers: Functional Units, Basic Operational Concepts, B...
Basic Structure of Computers: Functional Units, Basic Operational Concepts, B...
 
Processors
ProcessorsProcessors
Processors
 
Computer Organization and Architechuture basics
Computer Organization and Architechuture basicsComputer Organization and Architechuture basics
Computer Organization and Architechuture basics
 
Computer Organization and Architecture.pptx
Computer Organization and Architecture.pptxComputer Organization and Architecture.pptx
Computer Organization and Architecture.pptx
 
Unit I.ppt
Unit I.pptUnit I.ppt
Unit I.ppt
 
unit-i-computer-organization and architecture.ppt
unit-i-computer-organization and architecture.pptunit-i-computer-organization and architecture.ppt
unit-i-computer-organization and architecture.ppt
 
Computer_Fundamentals1 (1).pdf
Computer_Fundamentals1 (1).pdfComputer_Fundamentals1 (1).pdf
Computer_Fundamentals1 (1).pdf
 
Computer_Fundamentals1 (1).pdf
Computer_Fundamentals1 (1).pdfComputer_Fundamentals1 (1).pdf
Computer_Fundamentals1 (1).pdf
 
computer organisation architecture.pptx
computer organisation architecture.pptxcomputer organisation architecture.pptx
computer organisation architecture.pptx
 
computer catagory and its organization
computer catagory and its organizationcomputer catagory and its organization
computer catagory and its organization
 
Components of Microprocessor.pptx
Components of Microprocessor.pptxComponents of Microprocessor.pptx
Components of Microprocessor.pptx
 
Cpu & its execution of instruction
Cpu & its execution of instructionCpu & its execution of instruction
Cpu & its execution of instruction
 
What is an OS • Interface between application programs and hardwa.pdf
What is an OS • Interface between application programs and hardwa.pdfWhat is an OS • Interface between application programs and hardwa.pdf
What is an OS • Interface between application programs and hardwa.pdf
 
1.instrumentation ii
1.instrumentation ii1.instrumentation ii
1.instrumentation ii
 
ch1.pptx
ch1.pptxch1.pptx
ch1.pptx
 
introduction COA(M1).pptx
introduction COA(M1).pptxintroduction COA(M1).pptx
introduction COA(M1).pptx
 
I. Introduction to Microprocessor System.ppt
I. Introduction to Microprocessor System.pptI. Introduction to Microprocessor System.ppt
I. Introduction to Microprocessor System.ppt
 

More from Amrit Kaur

File Organization
File OrganizationFile Organization
File OrganizationAmrit Kaur
 
Introduction to transaction processing
Introduction to transaction processingIntroduction to transaction processing
Introduction to transaction processingAmrit Kaur
 
Transaction Processing
Transaction ProcessingTransaction Processing
Transaction ProcessingAmrit Kaur
 
Sample Interview Question
Sample Interview QuestionSample Interview Question
Sample Interview QuestionAmrit Kaur
 
12. oracle database architecture
12. oracle database architecture12. oracle database architecture
12. oracle database architectureAmrit Kaur
 
11. using regular expressions with oracle database
11. using regular expressions with oracle database11. using regular expressions with oracle database
11. using regular expressions with oracle databaseAmrit Kaur
 
9. index and index organized table
9. index and index organized table9. index and index organized table
9. index and index organized tableAmrit Kaur
 
8. transactions
8. transactions8. transactions
8. transactionsAmrit Kaur
 
7. exceptions handling in pl
7. exceptions handling in pl7. exceptions handling in pl
7. exceptions handling in plAmrit Kaur
 
5. stored procedure and functions
5. stored procedure and functions5. stored procedure and functions
5. stored procedure and functionsAmrit Kaur
 
2. DML_INSERT_DELETE_UPDATE
2. DML_INSERT_DELETE_UPDATE2. DML_INSERT_DELETE_UPDATE
2. DML_INSERT_DELETE_UPDATEAmrit Kaur
 
1. dml select statement reterive data
1. dml select statement reterive data1. dml select statement reterive data
1. dml select statement reterive dataAmrit Kaur
 
Chapter 8 Inheritance
Chapter 8 InheritanceChapter 8 Inheritance
Chapter 8 InheritanceAmrit Kaur
 
Chapter 7 C++ As OOP
Chapter 7 C++ As OOPChapter 7 C++ As OOP
Chapter 7 C++ As OOPAmrit Kaur
 

More from Amrit Kaur (20)

File Organization
File OrganizationFile Organization
File Organization
 
Introduction to transaction processing
Introduction to transaction processingIntroduction to transaction processing
Introduction to transaction processing
 
ER diagram
ER diagramER diagram
ER diagram
 
Transaction Processing
Transaction ProcessingTransaction Processing
Transaction Processing
 
Normalization
NormalizationNormalization
Normalization
 
Sample Interview Question
Sample Interview QuestionSample Interview Question
Sample Interview Question
 
12. oracle database architecture
12. oracle database architecture12. oracle database architecture
12. oracle database architecture
 
11. using regular expressions with oracle database
11. using regular expressions with oracle database11. using regular expressions with oracle database
11. using regular expressions with oracle database
 
10. timestamp
10. timestamp10. timestamp
10. timestamp
 
9. index and index organized table
9. index and index organized table9. index and index organized table
9. index and index organized table
 
8. transactions
8. transactions8. transactions
8. transactions
 
7. exceptions handling in pl
7. exceptions handling in pl7. exceptions handling in pl
7. exceptions handling in pl
 
6. triggers
6. triggers6. triggers
6. triggers
 
5. stored procedure and functions
5. stored procedure and functions5. stored procedure and functions
5. stored procedure and functions
 
4. plsql
4. plsql4. plsql
4. plsql
 
3. ddl create
3. ddl create3. ddl create
3. ddl create
 
2. DML_INSERT_DELETE_UPDATE
2. DML_INSERT_DELETE_UPDATE2. DML_INSERT_DELETE_UPDATE
2. DML_INSERT_DELETE_UPDATE
 
1. dml select statement reterive data
1. dml select statement reterive data1. dml select statement reterive data
1. dml select statement reterive data
 
Chapter 8 Inheritance
Chapter 8 InheritanceChapter 8 Inheritance
Chapter 8 Inheritance
 
Chapter 7 C++ As OOP
Chapter 7 C++ As OOPChapter 7 C++ As OOP
Chapter 7 C++ As OOP
 

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.