SlideShare une entreprise Scribd logo
1  sur  19
Introduction to Computer Architecture Lecture :-  1 Date :- 15/02/11 Designed by :- Er Sanjay Agal
What is binary? We use the decimal (base 10) number system Binary is the base 2 number system Ten different numbers are used in base 10.  How many are used in base 2? Designed by Sanjay Agal
Bits & Bytes kilo, mega, and giga are different in binary! bit (b) – binary digit Byte (B) – 8 binary digits KiloByte (KB) – 210 bytes MegaByte (MB) – 220 bytes GigaByte (GB) – 230 bytes Designed by Sanjay Agal
Storage Scam! Example: iPod Nano 8GB Designed by Sanjay Agal
What is computer architecture? What does “architecture” mean? Layout and interactions of a computer system What is a computer system? Input  Process  Output Can a computer system be more than one computer?  Think of an example... Designed by Sanjay Agal
Major Components of a Computer Central Processing Unit (CPU) Random Access Memory (RAM) Hard Drive / Disk Designed by Sanjay Agal
ON-OFF-ON-ON             1		   0                1                 1 Several ways to remember the state of a switch: Electrical – RAM, flash memory Magnetic – Hard drives, magnetic tapes Optical – CDs, DVDs Designed by Sanjay Agal
What does memory look like? Memory ~ RAM Looks like a table Address and Data Address is the location Data is the actual value Memory stores both data and assembly instructions Designed by Sanjay Agal
Central Processing Unit (CPU) Also called the “chip” or “processor” The brain of the computer Major components: Arithmetic Logic Unit (ALU) calculator Control unit controls the calculator Communication bus systems What’s a bus?!? Address Bus Control Unit Memory ALU Data Bus Designed by Sanjay Agal
Fetch-Execute Cycle Fetch instruction from memory Decode instruction in control unit Execute instruction (data may be fetched from memory) Store results if necessary Repeat! Address Bus Control Unit Memory ALU Data Bus Designed by Sanjay Agal
Registers Temporary storage containers used inside the CPU Extremely fast Fixed size, usually multiples of 8-bits Also called a “word” Example: 32-bit machines (4-byte words) How large is a word in a 64-bit machine? Designed by Sanjay Agal
Cache Slower than registers Faster than RAM Located in front of main RAM Different levels of cache Level1 (L1) and Level2 (L2) Size is usually around 1 MB Designed by Sanjay Agal
Memory Hierarchy Designed by Sanjay Agal
Virtual Memory What if a program is too big for RAM? If a program is too big for memory (RAM), then we start using the hard drive (disk) to store data Designed by Sanjay Agal
Hard Drives Designed by Sanjay Agal
CD/DVDs Lands and pits used to represent binary Optical medium - lasers and refraction used to read lands and pits Designed by Sanjay Agal
Direct Access also known as “random access” No need to go through other data to get the data you want We already know where the data is, so we just get it “Magic data retrieval” – no movement/motion Example: registers, cache, RAM Designed by Sanjay Agal
Sequential Access also known as “serial-access” Data is ordered in some sequential fashion To get to your data, you need to go through other data in front of it Example:  Fast-forwarding through a tape to get to the song you want Designed by Sanjay Agal
Direct-Access vs. Sequential Access Direct-Access: Advantage: fast access Disadvantage: data cannot be accessed in sequential or sorted order Data is placed randomly on the disk Accessing things in order then requires an index file Slower when trying to access sequential data that is not already in order (back-and-forth-and-back-and-forth) Example: hard drives (disks) Sequential Access Advantage: Simple to organize (already in some sequential order) Disadvantage: Slow when accessing specific things in no order Example: magnetic tape backups Could we implement sequential access using a hard disk? Designed by Sanjay Agal

Contenu connexe

Tendances

Advanceded computer components 2 1
Advanceded computer components 2 1Advanceded computer components 2 1
Advanceded computer components 2 1roryellis123
 
P1 - Typical Computer Components
P1 - Typical Computer ComponentsP1 - Typical Computer Components
P1 - Typical Computer ComponentsJamesBennett15
 
Multimedia hardware
Multimedia hardwareMultimedia hardware
Multimedia hardwareUtsav Roy
 
ICT BTEC UNIT 2 P4 and M2
ICT BTEC UNIT 2 P4 and M2ICT BTEC UNIT 2 P4 and M2
ICT BTEC UNIT 2 P4 and M2OriginalGSM
 
Ayw computer working
Ayw computer workingAyw computer working
Ayw computer workingpbeerak
 

Tendances (10)

Advanceded computer components 2 1
Advanceded computer components 2 1Advanceded computer components 2 1
Advanceded computer components 2 1
 
P1 - Typical Computer Components
P1 - Typical Computer ComponentsP1 - Typical Computer Components
P1 - Typical Computer Components
 
Multimedia hardware
Multimedia hardwareMultimedia hardware
Multimedia hardware
 
Hardware
HardwareHardware
Hardware
 
P1 Computer systems
P1 Computer systemsP1 Computer systems
P1 Computer systems
 
ICT BTEC UNIT 2 P4 and M2
ICT BTEC UNIT 2 P4 and M2ICT BTEC UNIT 2 P4 and M2
ICT BTEC UNIT 2 P4 and M2
 
Computer hardware
Computer hardwareComputer hardware
Computer hardware
 
Ayw computer working
Ayw computer workingAyw computer working
Ayw computer working
 
Assignment 2.1
Assignment 2.1Assignment 2.1
Assignment 2.1
 
ComputerHardware
ComputerHardwareComputerHardware
ComputerHardware
 

En vedette

Human resource management unit iii
Human resource management unit iiiHuman resource management unit iii
Human resource management unit iiiSanjay Agal
 
Human resource management1st unit
Human resource management1st unitHuman resource management1st unit
Human resource management1st unitSanjay Agal
 
The Near Future of CSS
The Near Future of CSSThe Near Future of CSS
The Near Future of CSSRachel Andrew
 
Classroom Management Tips for Kids and Adolescents
Classroom Management Tips for Kids and AdolescentsClassroom Management Tips for Kids and Adolescents
Classroom Management Tips for Kids and AdolescentsShelly Sanchez Terrell
 
The Presentation Come-Back Kid
The Presentation Come-Back KidThe Presentation Come-Back Kid
The Presentation Come-Back KidEthos3
 
The Buyer's Journey - by Chris Lema
The Buyer's Journey - by Chris LemaThe Buyer's Journey - by Chris Lema
The Buyer's Journey - by Chris LemaChris Lema
 

En vedette (7)

Human resource management unit iii
Human resource management unit iiiHuman resource management unit iii
Human resource management unit iii
 
Human resource management1st unit
Human resource management1st unitHuman resource management1st unit
Human resource management1st unit
 
Unit iv hrm
Unit iv hrmUnit iv hrm
Unit iv hrm
 
The Near Future of CSS
The Near Future of CSSThe Near Future of CSS
The Near Future of CSS
 
Classroom Management Tips for Kids and Adolescents
Classroom Management Tips for Kids and AdolescentsClassroom Management Tips for Kids and Adolescents
Classroom Management Tips for Kids and Adolescents
 
The Presentation Come-Back Kid
The Presentation Come-Back KidThe Presentation Come-Back Kid
The Presentation Come-Back Kid
 
The Buyer's Journey - by Chris Lema
The Buyer's Journey - by Chris LemaThe Buyer's Journey - by Chris Lema
The Buyer's Journey - by Chris Lema
 

Similaire à Intro comparch

Introduction to Computer Architecture
Introduction to Computer ArchitectureIntroduction to Computer Architecture
Introduction to Computer ArchitectureAnkush Srivastava
 
CSC103 Evaluating Hardware, Memory, Processing & Storage
CSC103 Evaluating Hardware, Memory, Processing & StorageCSC103 Evaluating Hardware, Memory, Processing & Storage
CSC103 Evaluating Hardware, Memory, Processing & StorageRichard Homa
 
computer hardware component.pdf
computer hardware component.pdfcomputer hardware component.pdf
computer hardware component.pdfMuhammad407018
 
Malvin harding computer components presentation
Malvin harding computer components presentationMalvin harding computer components presentation
Malvin harding computer components presentationmalvin95
 
Computer basics
Computer basicsComputer basics
Computer basicsBeamer
 
Explain some hardware of computer
Explain some hardware of computerExplain some hardware of computer
Explain some hardware of computerGehad Enayat
 
CSC103 Processing, Memory & Storage
CSC103 Processing, Memory & StorageCSC103 Processing, Memory & Storage
CSC103 Processing, Memory & StorageRichard Homa
 
Malvin harding computer components presentation complete
Malvin harding computer components presentation completeMalvin harding computer components presentation complete
Malvin harding computer components presentation completemalvin95
 
Computer Fundamentals
Computer FundamentalsComputer Fundamentals
Computer Fundamentalsarchikabhatia
 
Internal components non tchnical
Internal components non tchnicalInternal components non tchnical
Internal components non tchnicalharrison96
 
Introduction to computer hardware
Introduction to computer hardwareIntroduction to computer hardware
Introduction to computer hardwaremite6025.hku
 
Technical presentation
Technical presentationTechnical presentation
Technical presentationconnorhowe131
 

Similaire à Intro comparch (20)

Introduction to Computer Architecture
Introduction to Computer ArchitectureIntroduction to Computer Architecture
Introduction to Computer Architecture
 
IO Dubi Lebel
IO Dubi LebelIO Dubi Lebel
IO Dubi Lebel
 
CSC103 Evaluating Hardware, Memory, Processing & Storage
CSC103 Evaluating Hardware, Memory, Processing & StorageCSC103 Evaluating Hardware, Memory, Processing & Storage
CSC103 Evaluating Hardware, Memory, Processing & Storage
 
computer hardware component.pdf
computer hardware component.pdfcomputer hardware component.pdf
computer hardware component.pdf
 
Malvin harding computer components presentation
Malvin harding computer components presentationMalvin harding computer components presentation
Malvin harding computer components presentation
 
Computer basics
Computer basicsComputer basics
Computer basics
 
Explain some hardware of computer
Explain some hardware of computerExplain some hardware of computer
Explain some hardware of computer
 
CSC103 Processing, Memory & Storage
CSC103 Processing, Memory & StorageCSC103 Processing, Memory & Storage
CSC103 Processing, Memory & Storage
 
Malvin harding computer components presentation complete
Malvin harding computer components presentation completeMalvin harding computer components presentation complete
Malvin harding computer components presentation complete
 
1.1 storage device
1.1  storage device1.1  storage device
1.1 storage device
 
Computer Introduction-Lecture02
Computer Introduction-Lecture02Computer Introduction-Lecture02
Computer Introduction-Lecture02
 
Lec 2
Lec 2Lec 2
Lec 2
 
Lecture 02 hardware
Lecture 02 hardwareLecture 02 hardware
Lecture 02 hardware
 
Computer Fundamentals
Computer FundamentalsComputer Fundamentals
Computer Fundamentals
 
Internal components non tchnical
Internal components non tchnicalInternal components non tchnical
Internal components non tchnical
 
Technical Implementation: Hardware
Technical Implementation: HardwareTechnical Implementation: Hardware
Technical Implementation: Hardware
 
Introduction to computer hardware
Introduction to computer hardwareIntroduction to computer hardware
Introduction to computer hardware
 
Lecture 2
Lecture 2Lecture 2
Lecture 2
 
Icdl Medual 1
Icdl Medual 1Icdl Medual 1
Icdl Medual 1
 
Technical presentation
Technical presentationTechnical presentation
Technical presentation
 

Intro comparch

  • 1. Introduction to Computer Architecture Lecture :- 1 Date :- 15/02/11 Designed by :- Er Sanjay Agal
  • 2. What is binary? We use the decimal (base 10) number system Binary is the base 2 number system Ten different numbers are used in base 10. How many are used in base 2? Designed by Sanjay Agal
  • 3. Bits & Bytes kilo, mega, and giga are different in binary! bit (b) – binary digit Byte (B) – 8 binary digits KiloByte (KB) – 210 bytes MegaByte (MB) – 220 bytes GigaByte (GB) – 230 bytes Designed by Sanjay Agal
  • 4. Storage Scam! Example: iPod Nano 8GB Designed by Sanjay Agal
  • 5. What is computer architecture? What does “architecture” mean? Layout and interactions of a computer system What is a computer system? Input  Process  Output Can a computer system be more than one computer? Think of an example... Designed by Sanjay Agal
  • 6. Major Components of a Computer Central Processing Unit (CPU) Random Access Memory (RAM) Hard Drive / Disk Designed by Sanjay Agal
  • 7. ON-OFF-ON-ON 1 0 1 1 Several ways to remember the state of a switch: Electrical – RAM, flash memory Magnetic – Hard drives, magnetic tapes Optical – CDs, DVDs Designed by Sanjay Agal
  • 8. What does memory look like? Memory ~ RAM Looks like a table Address and Data Address is the location Data is the actual value Memory stores both data and assembly instructions Designed by Sanjay Agal
  • 9. Central Processing Unit (CPU) Also called the “chip” or “processor” The brain of the computer Major components: Arithmetic Logic Unit (ALU) calculator Control unit controls the calculator Communication bus systems What’s a bus?!? Address Bus Control Unit Memory ALU Data Bus Designed by Sanjay Agal
  • 10. Fetch-Execute Cycle Fetch instruction from memory Decode instruction in control unit Execute instruction (data may be fetched from memory) Store results if necessary Repeat! Address Bus Control Unit Memory ALU Data Bus Designed by Sanjay Agal
  • 11. Registers Temporary storage containers used inside the CPU Extremely fast Fixed size, usually multiples of 8-bits Also called a “word” Example: 32-bit machines (4-byte words) How large is a word in a 64-bit machine? Designed by Sanjay Agal
  • 12. Cache Slower than registers Faster than RAM Located in front of main RAM Different levels of cache Level1 (L1) and Level2 (L2) Size is usually around 1 MB Designed by Sanjay Agal
  • 13. Memory Hierarchy Designed by Sanjay Agal
  • 14. Virtual Memory What if a program is too big for RAM? If a program is too big for memory (RAM), then we start using the hard drive (disk) to store data Designed by Sanjay Agal
  • 15. Hard Drives Designed by Sanjay Agal
  • 16. CD/DVDs Lands and pits used to represent binary Optical medium - lasers and refraction used to read lands and pits Designed by Sanjay Agal
  • 17. Direct Access also known as “random access” No need to go through other data to get the data you want We already know where the data is, so we just get it “Magic data retrieval” – no movement/motion Example: registers, cache, RAM Designed by Sanjay Agal
  • 18. Sequential Access also known as “serial-access” Data is ordered in some sequential fashion To get to your data, you need to go through other data in front of it Example: Fast-forwarding through a tape to get to the song you want Designed by Sanjay Agal
  • 19. Direct-Access vs. Sequential Access Direct-Access: Advantage: fast access Disadvantage: data cannot be accessed in sequential or sorted order Data is placed randomly on the disk Accessing things in order then requires an index file Slower when trying to access sequential data that is not already in order (back-and-forth-and-back-and-forth) Example: hard drives (disks) Sequential Access Advantage: Simple to organize (already in some sequential order) Disadvantage: Slow when accessing specific things in no order Example: magnetic tape backups Could we implement sequential access using a hard disk? Designed by Sanjay Agal