SlideShare a Scribd company logo
1 of 21
Chapter 1
Computer Abstractions
and Technology
Dr. Nivine Güler
[Adapted from Computer Organization and Design,
Patterson & Hennessy, © 2012, UCB]
Course Textbook and Outline
 Instructor: Dr. Nivine Güler
 Textbook(s):
 Computer Organization and Design: The
Hardware/Software Interface, 4th Edition, David
Patterson and John Hennessy, Morgan Kaufmann.
ISBN: 978-0-12-374493-7, 2012
 Topics covered:
 Computer Abstractions and Technology
 Instructions: Language of the Computer
 Arithmetic for Computers
 The processor
 Exploiting Memory Hierarchy
Grades
 Quizes 30%
 Chap 1, 2, 3
 Date to be announced
 Midterm Exam 30%
 Chap 4, Part of Chap 5
 Date to be announced
 Final 40%
 All material
The Computer Revolution
 Progress in computer technology
 Underpinned by Moore’s Law
 Makes ”science-fiction” applications
feasible
 Computers in automobiles
 Cell phones
 Human genome project
 World Wide Web
 Search Engines
 Computers are pervasive
Chapter
1
—
Computer
Abstractions
and
Technology
Classes of Computers
 Desktop computers
 General purpose, variety of software
 Subject to cost/performance tradeoff
 Server computers
 High capacity, performance, reliability
 Execute programs for multiusers
simultaneously and accessed by network.
 Embedded computers
 Hidden as components inside the systems
such as car, phone, video game, so on
 Designed to run one application integrated
with the hardware, and delivered as a single
system.
Chapter
1
—
Computer
Abstractions
and
Technology
The Processor Market
Chapter
1
—
Computer
Abstractions
and
Technology
What You Will Learn
 How high level language programs, such
as C, are translated into the machine
language
 And how the hardware executes them?
 What is the hardware/software interface
 And how does the software instruct the
hardware to perform needed functions?
 What determines program performance
 And how it can be improved?
Chapter
1
—
Computer
Abstractions
and
Technology
What You Will Learn
 How can hardware designers improve
performance?
 What is parallel processing
 Switching from sequential processing to
parallel processing
Chapter
1
—
Computer
Abstractions
and
Technology
Understanding Performance
 Algorithm
 Determines number of operations executed
 Programming language, compiler, architecture
 Determine number of machine instructions executed
per operation
 Processor and memory system
 Determine how fast instructions are executed
 I/O system (including OS)
 Determines how fast I/O operations are executed
Chapter
1
—
Computer
Abstractions
and
Technology
Below Your Program
 Application software
 Written in high-level language
 System software
 Compiler: translates HLL code to
machine code
 Operating System: service code
 Handling input/output
 Managing memory and storage
 Scheduling tasks & sharing resources
 Hardware
 Processor, memory, I/O controllers
Chapter
1
—
Computer
Abstractions
and
Technology
Levels of Program Code
 High-level language
 Level of abstraction closer
to problem domain
 Provides for productivity
and portability
 Assembly language
 Textual representation of
instructions
 Hardware representation
 Binary digits (bits)
 Encoded instructions and
data
 Ex: 1000110010100000
Just tells the computer to add two numbers
Components of a Computer
 The five important components for all kinds of
computer are: Input, output, memory, datapath,
control( called processor)
 Input/output includes:
 User-interface devices
 Display, keyboard, mouse
 Storage devices
 Hard disk, CD/DVD, flash
 Network adapters
 For communicating with other computers
§1.3
Under
the
Covers
The BIG Picture
Anatomy of a Computer
LCD screen is
Output device
Keyboard
Input device
Mouse Input
device
Network
cable
Inside the Processor (CPU)
 Datapath: The component of the processor
that performs arithmetic operations
 Control: The component of the processor
that commands the datapath, memory, and
I/O devices according to the instructions of
the program
 Cache memory: consists of small and fast
SRAM memory for immediate access to
data
Hard drive
processor
Fan with cover
Spot for
memory DIMMs
Spot for battery Motherboard DVD drive
Inside the Processor
 AMD Barcelona: 4 processor cores
Abstractions
 Abstraction helps us deal with complexity
 Hide lower-level detail
 Instruction set architecture (ISA)
 The hardware/software interface :
encompasses all the information necessary to
write a machine language program
 Application binary interface
 The ISA combined with the system software
interface
 Implementation
 Hardware that obeys the architecture abstraction.
Defining Performance
 Which airplane has the best performance?
0 100 200 300 400 500
Douglas
DC-8-50
BAC/Sud
Concorde
Boeing 747
Boeing 777
Passenger Capacity
0 2000 4000 6000 8000 10000
Douglas DC-
8-50
BAC/Sud
Concorde
Boeing 747
Boeing 777
Cruising Range (miles)
0 500 1000 1500
Douglas
DC-8-50
BAC/Sud
Concorde
Boeing 747
Boeing 777
Cruising Speed (mph)
0 100000 200000 300000 400000
Douglas DC-
8-50
BAC/Sud
Concorde
Boeing 747
Boeing 777
Passengers x mph
§1.4
Performance
Response Time and Throughput
 Response time
 How long it takes to do a task
 Throughput
 Total work done per unit time
 e.g., tasks/transactions/… per hour
 How are response time and throughput affected
by
 Replacing the processor with a faster version?
 Adding more processors?
 We’ll focus on response time for now…
Relative Performance
 Define Performance = 1/Execution Time
 “X is n time faster than Y”
n

 X
Y
Y
X
time
Execution
time
Execution
e
Performanc
e
Performanc
 Example: time taken to run a program
 10s on A, 15s on B
 Execution TimeB / Execution TimeA
= 15s / 10s = 1.5
 So A is 1.5 times faster than B
 Please do the HOMEWORK!
Thank you all

Chapter 1 — Computer Abstractions and Technology — 37

More Related Content

Similar to Chapter_1_Computer_Abstractions_and_Tech.ppt

Chapter 5 It Architecture
Chapter 5 It ArchitectureChapter 5 It Architecture
Chapter 5 It Architecture
UMaine
 
ITBIS105 6
ITBIS105 6ITBIS105 6
ITBIS105 6
Suad 00
 
Introduction To Computer and Java
Introduction To Computer and JavaIntroduction To Computer and Java
Introduction To Computer and Java
PRN USM
 
AERO_PROGRAMMING_FOR_PROBLEM_SOLVING_LECTURE_NOTES.pdf
AERO_PROGRAMMING_FOR_PROBLEM_SOLVING_LECTURE_NOTES.pdfAERO_PROGRAMMING_FOR_PROBLEM_SOLVING_LECTURE_NOTES.pdf
AERO_PROGRAMMING_FOR_PROBLEM_SOLVING_LECTURE_NOTES.pdf
ssuserb3a23b
 
Lec no. 4 hardware and software basic
Lec no. 4 hardware and software basicLec no. 4 hardware and software basic
Lec no. 4 hardware and software basic
Jiian Francisco
 

Similar to Chapter_1_Computer_Abstractions_and_Tech.ppt (20)

C with lab
C with labC with lab
C with lab
 
Essential Knowledge of Computers.pptx
Essential Knowledge of Computers.pptxEssential Knowledge of Computers.pptx
Essential Knowledge of Computers.pptx
 
Evaluation of morden computer & system attributes in ACA
Evaluation of morden computer &  system attributes in ACAEvaluation of morden computer &  system attributes in ACA
Evaluation of morden computer & system attributes in ACA
 
Linux-Based Data Acquisition and Processing On Palmtop Computer
Linux-Based Data Acquisition and Processing On Palmtop ComputerLinux-Based Data Acquisition and Processing On Palmtop Computer
Linux-Based Data Acquisition and Processing On Palmtop Computer
 
Linux-Based Data Acquisition and Processing On Palmtop Computer
Linux-Based Data Acquisition and Processing On Palmtop ComputerLinux-Based Data Acquisition and Processing On Palmtop Computer
Linux-Based Data Acquisition and Processing On Palmtop Computer
 
Chapter 2(answer)2
Chapter 2(answer)2Chapter 2(answer)2
Chapter 2(answer)2
 
Computer Fundamental
Computer FundamentalComputer Fundamental
Computer Fundamental
 
L2 ch1
L2  ch1L2  ch1
L2 ch1
 
Chapter 5 It Architecture
Chapter 5 It ArchitectureChapter 5 It Architecture
Chapter 5 It Architecture
 
ITBIS105 6
ITBIS105 6ITBIS105 6
ITBIS105 6
 
Computer Organization and Design
Computer Organization and DesignComputer Organization and Design
Computer Organization and Design
 
01 intro to vb-net
01 intro to vb-net01 intro to vb-net
01 intro to vb-net
 
Introduction To Computer and Java
Introduction To Computer and JavaIntroduction To Computer and Java
Introduction To Computer and Java
 
Csphtp1 01
Csphtp1 01Csphtp1 01
Csphtp1 01
 
AERO_PROGRAMMING_FOR_PROBLEM_SOLVING_LECTURE_NOTES.pdf
AERO_PROGRAMMING_FOR_PROBLEM_SOLVING_LECTURE_NOTES.pdfAERO_PROGRAMMING_FOR_PROBLEM_SOLVING_LECTURE_NOTES.pdf
AERO_PROGRAMMING_FOR_PROBLEM_SOLVING_LECTURE_NOTES.pdf
 
Lec no. 4 hardware and software basic
Lec no. 4 hardware and software basicLec no. 4 hardware and software basic
Lec no. 4 hardware and software basic
 
Operating system-1
Operating system-1Operating system-1
Operating system-1
 
Documentation
DocumentationDocumentation
Documentation
 
Information technology
Information technologyInformation technology
Information technology
 
C LECTURE NOTES FULL_1.pdf
C LECTURE NOTES FULL_1.pdfC LECTURE NOTES FULL_1.pdf
C LECTURE NOTES FULL_1.pdf
 

Recently uploaded

Structural Analysis and Design of Foundations: A Comprehensive Handbook for S...
Structural Analysis and Design of Foundations: A Comprehensive Handbook for S...Structural Analysis and Design of Foundations: A Comprehensive Handbook for S...
Structural Analysis and Design of Foundations: A Comprehensive Handbook for S...
Dr.Costas Sachpazis
 
UNIT-V FMM.HYDRAULIC TURBINE - Construction and working
UNIT-V FMM.HYDRAULIC TURBINE - Construction and workingUNIT-V FMM.HYDRAULIC TURBINE - Construction and working
UNIT-V FMM.HYDRAULIC TURBINE - Construction and working
rknatarajan
 
Call for Papers - African Journal of Biological Sciences, E-ISSN: 2663-2187, ...
Call for Papers - African Journal of Biological Sciences, E-ISSN: 2663-2187, ...Call for Papers - African Journal of Biological Sciences, E-ISSN: 2663-2187, ...
Call for Papers - African Journal of Biological Sciences, E-ISSN: 2663-2187, ...
Christo Ananth
 
FULL ENJOY Call Girls In Mahipalpur Delhi Contact Us 8377877756
FULL ENJOY Call Girls In Mahipalpur Delhi Contact Us 8377877756FULL ENJOY Call Girls In Mahipalpur Delhi Contact Us 8377877756
FULL ENJOY Call Girls In Mahipalpur Delhi Contact Us 8377877756
dollysharma2066
 

Recently uploaded (20)

Structural Analysis and Design of Foundations: A Comprehensive Handbook for S...
Structural Analysis and Design of Foundations: A Comprehensive Handbook for S...Structural Analysis and Design of Foundations: A Comprehensive Handbook for S...
Structural Analysis and Design of Foundations: A Comprehensive Handbook for S...
 
Thermal Engineering -unit - III & IV.ppt
Thermal Engineering -unit - III & IV.pptThermal Engineering -unit - III & IV.ppt
Thermal Engineering -unit - III & IV.ppt
 
Vivazz, Mieres Social Housing Design Spain
Vivazz, Mieres Social Housing Design SpainVivazz, Mieres Social Housing Design Spain
Vivazz, Mieres Social Housing Design Spain
 
UNIT-V FMM.HYDRAULIC TURBINE - Construction and working
UNIT-V FMM.HYDRAULIC TURBINE - Construction and workingUNIT-V FMM.HYDRAULIC TURBINE - Construction and working
UNIT-V FMM.HYDRAULIC TURBINE - Construction and working
 
Extrusion Processes and Their Limitations
Extrusion Processes and Their LimitationsExtrusion Processes and Their Limitations
Extrusion Processes and Their Limitations
 
The Most Attractive Pune Call Girls Manchar 8250192130 Will You Miss This Cha...
The Most Attractive Pune Call Girls Manchar 8250192130 Will You Miss This Cha...The Most Attractive Pune Call Girls Manchar 8250192130 Will You Miss This Cha...
The Most Attractive Pune Call Girls Manchar 8250192130 Will You Miss This Cha...
 
Online banking management system project.pdf
Online banking management system project.pdfOnline banking management system project.pdf
Online banking management system project.pdf
 
Booking open Available Pune Call Girls Koregaon Park 6297143586 Call Hot Ind...
Booking open Available Pune Call Girls Koregaon Park  6297143586 Call Hot Ind...Booking open Available Pune Call Girls Koregaon Park  6297143586 Call Hot Ind...
Booking open Available Pune Call Girls Koregaon Park 6297143586 Call Hot Ind...
 
CCS335 _ Neural Networks and Deep Learning Laboratory_Lab Complete Record
CCS335 _ Neural Networks and Deep Learning Laboratory_Lab Complete RecordCCS335 _ Neural Networks and Deep Learning Laboratory_Lab Complete Record
CCS335 _ Neural Networks and Deep Learning Laboratory_Lab Complete Record
 
Call for Papers - African Journal of Biological Sciences, E-ISSN: 2663-2187, ...
Call for Papers - African Journal of Biological Sciences, E-ISSN: 2663-2187, ...Call for Papers - African Journal of Biological Sciences, E-ISSN: 2663-2187, ...
Call for Papers - African Journal of Biological Sciences, E-ISSN: 2663-2187, ...
 
UNIT-III FMM. DIMENSIONAL ANALYSIS
UNIT-III FMM.        DIMENSIONAL ANALYSISUNIT-III FMM.        DIMENSIONAL ANALYSIS
UNIT-III FMM. DIMENSIONAL ANALYSIS
 
Coefficient of Thermal Expansion and their Importance.pptx
Coefficient of Thermal Expansion and their Importance.pptxCoefficient of Thermal Expansion and their Importance.pptx
Coefficient of Thermal Expansion and their Importance.pptx
 
data_management_and _data_science_cheat_sheet.pdf
data_management_and _data_science_cheat_sheet.pdfdata_management_and _data_science_cheat_sheet.pdf
data_management_and _data_science_cheat_sheet.pdf
 
(INDIRA) Call Girl Bhosari Call Now 8617697112 Bhosari Escorts 24x7
(INDIRA) Call Girl Bhosari Call Now 8617697112 Bhosari Escorts 24x7(INDIRA) Call Girl Bhosari Call Now 8617697112 Bhosari Escorts 24x7
(INDIRA) Call Girl Bhosari Call Now 8617697112 Bhosari Escorts 24x7
 
Water Industry Process Automation & Control Monthly - April 2024
Water Industry Process Automation & Control Monthly - April 2024Water Industry Process Automation & Control Monthly - April 2024
Water Industry Process Automation & Control Monthly - April 2024
 
Generative AI or GenAI technology based PPT
Generative AI or GenAI technology based PPTGenerative AI or GenAI technology based PPT
Generative AI or GenAI technology based PPT
 
FULL ENJOY Call Girls In Mahipalpur Delhi Contact Us 8377877756
FULL ENJOY Call Girls In Mahipalpur Delhi Contact Us 8377877756FULL ENJOY Call Girls In Mahipalpur Delhi Contact Us 8377877756
FULL ENJOY Call Girls In Mahipalpur Delhi Contact Us 8377877756
 
Top Rated Pune Call Girls Budhwar Peth ⟟ 6297143586 ⟟ Call Me For Genuine Se...
Top Rated  Pune Call Girls Budhwar Peth ⟟ 6297143586 ⟟ Call Me For Genuine Se...Top Rated  Pune Call Girls Budhwar Peth ⟟ 6297143586 ⟟ Call Me For Genuine Se...
Top Rated Pune Call Girls Budhwar Peth ⟟ 6297143586 ⟟ Call Me For Genuine Se...
 
Call Girls Walvekar Nagar Call Me 7737669865 Budget Friendly No Advance Booking
Call Girls Walvekar Nagar Call Me 7737669865 Budget Friendly No Advance BookingCall Girls Walvekar Nagar Call Me 7737669865 Budget Friendly No Advance Booking
Call Girls Walvekar Nagar Call Me 7737669865 Budget Friendly No Advance Booking
 
UNIT-IFLUID PROPERTIES & FLOW CHARACTERISTICS
UNIT-IFLUID PROPERTIES & FLOW CHARACTERISTICSUNIT-IFLUID PROPERTIES & FLOW CHARACTERISTICS
UNIT-IFLUID PROPERTIES & FLOW CHARACTERISTICS
 

Chapter_1_Computer_Abstractions_and_Tech.ppt

  • 1. Chapter 1 Computer Abstractions and Technology Dr. Nivine Güler [Adapted from Computer Organization and Design, Patterson & Hennessy, © 2012, UCB]
  • 2. Course Textbook and Outline  Instructor: Dr. Nivine Güler  Textbook(s):  Computer Organization and Design: The Hardware/Software Interface, 4th Edition, David Patterson and John Hennessy, Morgan Kaufmann. ISBN: 978-0-12-374493-7, 2012  Topics covered:  Computer Abstractions and Technology  Instructions: Language of the Computer  Arithmetic for Computers  The processor  Exploiting Memory Hierarchy
  • 3. Grades  Quizes 30%  Chap 1, 2, 3  Date to be announced  Midterm Exam 30%  Chap 4, Part of Chap 5  Date to be announced  Final 40%  All material
  • 4. The Computer Revolution  Progress in computer technology  Underpinned by Moore’s Law  Makes ”science-fiction” applications feasible  Computers in automobiles  Cell phones  Human genome project  World Wide Web  Search Engines  Computers are pervasive Chapter 1 — Computer Abstractions and Technology
  • 5. Classes of Computers  Desktop computers  General purpose, variety of software  Subject to cost/performance tradeoff  Server computers  High capacity, performance, reliability  Execute programs for multiusers simultaneously and accessed by network.  Embedded computers  Hidden as components inside the systems such as car, phone, video game, so on  Designed to run one application integrated with the hardware, and delivered as a single system. Chapter 1 — Computer Abstractions and Technology
  • 7. What You Will Learn  How high level language programs, such as C, are translated into the machine language  And how the hardware executes them?  What is the hardware/software interface  And how does the software instruct the hardware to perform needed functions?  What determines program performance  And how it can be improved? Chapter 1 — Computer Abstractions and Technology
  • 8. What You Will Learn  How can hardware designers improve performance?  What is parallel processing  Switching from sequential processing to parallel processing Chapter 1 — Computer Abstractions and Technology
  • 9. Understanding Performance  Algorithm  Determines number of operations executed  Programming language, compiler, architecture  Determine number of machine instructions executed per operation  Processor and memory system  Determine how fast instructions are executed  I/O system (including OS)  Determines how fast I/O operations are executed Chapter 1 — Computer Abstractions and Technology
  • 10. Below Your Program  Application software  Written in high-level language  System software  Compiler: translates HLL code to machine code  Operating System: service code  Handling input/output  Managing memory and storage  Scheduling tasks & sharing resources  Hardware  Processor, memory, I/O controllers Chapter 1 — Computer Abstractions and Technology
  • 11. Levels of Program Code  High-level language  Level of abstraction closer to problem domain  Provides for productivity and portability  Assembly language  Textual representation of instructions  Hardware representation  Binary digits (bits)  Encoded instructions and data  Ex: 1000110010100000 Just tells the computer to add two numbers
  • 12. Components of a Computer  The five important components for all kinds of computer are: Input, output, memory, datapath, control( called processor)  Input/output includes:  User-interface devices  Display, keyboard, mouse  Storage devices  Hard disk, CD/DVD, flash  Network adapters  For communicating with other computers §1.3 Under the Covers The BIG Picture
  • 13. Anatomy of a Computer LCD screen is Output device Keyboard Input device Mouse Input device Network cable
  • 14. Inside the Processor (CPU)  Datapath: The component of the processor that performs arithmetic operations  Control: The component of the processor that commands the datapath, memory, and I/O devices according to the instructions of the program  Cache memory: consists of small and fast SRAM memory for immediate access to data
  • 15. Hard drive processor Fan with cover Spot for memory DIMMs Spot for battery Motherboard DVD drive
  • 16. Inside the Processor  AMD Barcelona: 4 processor cores
  • 17. Abstractions  Abstraction helps us deal with complexity  Hide lower-level detail  Instruction set architecture (ISA)  The hardware/software interface : encompasses all the information necessary to write a machine language program  Application binary interface  The ISA combined with the system software interface  Implementation  Hardware that obeys the architecture abstraction.
  • 18. Defining Performance  Which airplane has the best performance? 0 100 200 300 400 500 Douglas DC-8-50 BAC/Sud Concorde Boeing 747 Boeing 777 Passenger Capacity 0 2000 4000 6000 8000 10000 Douglas DC- 8-50 BAC/Sud Concorde Boeing 747 Boeing 777 Cruising Range (miles) 0 500 1000 1500 Douglas DC-8-50 BAC/Sud Concorde Boeing 747 Boeing 777 Cruising Speed (mph) 0 100000 200000 300000 400000 Douglas DC- 8-50 BAC/Sud Concorde Boeing 747 Boeing 777 Passengers x mph §1.4 Performance
  • 19. Response Time and Throughput  Response time  How long it takes to do a task  Throughput  Total work done per unit time  e.g., tasks/transactions/… per hour  How are response time and throughput affected by  Replacing the processor with a faster version?  Adding more processors?  We’ll focus on response time for now…
  • 20. Relative Performance  Define Performance = 1/Execution Time  “X is n time faster than Y” n   X Y Y X time Execution time Execution e Performanc e Performanc  Example: time taken to run a program  10s on A, 15s on B  Execution TimeB / Execution TimeA = 15s / 10s = 1.5  So A is 1.5 times faster than B
  • 21.  Please do the HOMEWORK! Thank you all  Chapter 1 — Computer Abstractions and Technology — 37

Editor's Notes

  1. March 2, 2023
  2. March 2, 2023
  3. March 2, 2023
  4. March 2, 2023
  5. March 2, 2023
  6. March 2, 2023
  7. March 2, 2023
  8. March 2, 2023
  9. March 2, 2023
  10. March 2, 2023
  11. March 2, 2023
  12. March 2, 2023
  13. dual inline memory module (DIMM) A small board that contains DRAM chips on both sides. The microprocessor in the laptop in Figure 1.7 has two cores per chip, called an Intel Core 2 Duo
  14. March 2, 2023
  15. March 2, 2023
  16. March 2, 2023
  17. March 2, 2023
  18. March 2, 2023
  19. March 2, 2023
  20. March 2, 2023
  21. March 2, 2023
  22. March 2, 2023
  23. March 2, 2023
  24. March 2, 2023
  25. March 2, 2023
  26. March 2, 2023
  27. March 2, 2023
  28. March 2, 2023
  29. March 2, 2023
  30. March 2, 2023
  31. March 2, 2023
  32. March 2, 2023
  33. March 2, 2023
  34. March 2, 2023