CSC 110 - Intro. to Computing Lecture 9: Computing Components.

Slides:



Advertisements
Similar presentations
The CPU The Central Presentation Unit What is the CPU?
Advertisements

Chapter 5 Computing Components. 2 Chapter Goals Read an ad for a computer and understand the jargon List the components and their function in a von Neumann.
Chapter 5 Computing Components.
Chapter 5 Computing Components. 2 Chapter Goals Read an ad for a computer and understand the jargon List the components and their function in a von Neumann.
Chapter 5 Computing Components. 5-2 Chapter Goals Read an ad for a computer and understand the jargon List the components and their function in a von.
The Central Processing Unit: What Goes on Inside the Computer.
Chapter 5 Computing Components. The (META) BIG IDEA Cool, idea but maybe too big DATA – Must be stored somewhere in a storage device PROCESSING – Data.
Chapter 5 Computing Components Nell Dale John Lewis.
1 A Balanced Introduction to Computer Science, 2/E David Reed, Creighton University ©2008 Pearson Prentice Hall ISBN Chapter 14 Inside.
Chapter 5: Computer Systems Organization Invitation to Computer Science, Java Version, Third Edition.
Chapter 5 Computing Components Nell Dale John Lewis.
Chapter 5: Computer Systems Organization Invitation to Computer Science, C++ Version, Third Edition Added to by S. Steinfadt - Spring 2005 Additional source.
Introduction to Computer Systems
GCSE Computing - The CPU
Chapter 5 Computing Components. 2 Chapter Goals Read an ad for a computer and understand the jargon List the components and their function in a von Neumann.
CPU Describe the purpose of the CPU
Inside The CPU. Buses There are 3 Types of Buses There are 3 Types of Buses Address bus Address bus –between CPU and Main Memory –Carries address of where.
Chapter 4  Converts data into information  Control center  Set of electronic circuitry that executes stored program instructions  Two parts ◦ Control.
Chapter 5 Computing Components. 5-2 Chapter Goals Read an ad for a computer and understand the jargon List the components and their function in a von.
BLOCK DIAGRAM OF COMPUTER
Stuart Cunningham - Computer Platforms COMPUTER PLATFORMS Input, Output, and Storage & Introduction to Basic Computer Architecture Week 2.
Chapter 3 Computer Hard ware
Computer Organization Hardware and Software. Computing Systems Computers have two kinds of components: Hardware, consisting of its physical devices (CPU,
Computer Systems 1 Fundamentals of Computing The CPU & Von Neumann.
Basic Microcomputer Design. Inside the CPU Registers – storage locations Control Unit (CU) – coordinates the sequencing of steps involved in executing.
Writer:-Rashedul Hasan Editor:- Jasim Uddin
3 1 3 C H A P T E R Hardware: Input, Processing, and Output Devices.
The Computer Systems By : Prabir Nandi Computer Instructor KV Lumding.
Computing hardware CPU.
What is a Computer ? Computers are Electronic Machines that process (performs calculation and manipulation) Data under the control of Set of Instructions.
CS 1308 Computer Literacy and the Internet Computer Systems Organization.
 Design model for a computer  Named after John von Neuman  Instructions that tell the computer what to do are stored in memory  Stored program Memory.
2.0 Computer System.
Chapter 5: Computer Systems Organization Invitation to Computer Science, Java Version, Third Edition.
Computer Systems Organization CS 1428 Foundations of Computer Science.
Computing and the Web Computer Hardware Components.
Chapter 5 Computing Components Nell Dale John Lewis.
CSC 110 – Intro to Computing Lecture 8: Computing Components.
5-1 Computer Components Consider the following ad.
Chapter 5 Computing Components. 5-2 Chapter Goals List the components and their function in a von Neumann machine Describe the fetch-decode-execute cycle.
General Concepts of Computer Organization Overview of Microcomputer.
CHAPTER 4 The Central Processing Unit. Chapter Overview Microprocessors Replacing and Upgrading a CPU.
CSC 110 – Intro to Computing Lecture 9: Computing Components.
The fetch-execute cycle. 2 VCN – ICT Department 2013 A2 Computing RegisterMeaningPurpose PCProgram Counter keeps track of where to find the next instruction.
Computer Hardware A computer is made of internal components Central Processor Unit Internal External and external components.
Stored Programs In today’s lesson, we will look at: what we mean by a stored program computer how computers store and run programs what we mean by the.
CS 1308 Computer Literacy and the Internet. Objectives In this chapter, you will learn about:  The components of a computer system  Putting all the.
Silberschatz, Galvin and Gagne  2002 Modified for CSCI 399, Royden, Operating System Concepts Operating Systems Lecture 4 Computer Systems Review.
Chapter 5 Computing Components. 2 Computer Components Consider the following ad:
1 Copyright © 2010, Elsevier Inc. All rights Reserved Chapter 2 Parallel Hardware and Parallel Software An Introduction to Parallel Programming Peter Pacheco.
1 Central Processing Unit (CPU) Consists of complex set of electronic circuitry Executes stored program instructions Three components –Registers –Control.
20 October 2015Birkbeck College, U. London1 Introduction to Computer Systems Lecturer: Steve Maybank Department of Computer Science and Information Systems.
Lecture on Central Process Unit (CPU)
Chapter 5: Computer Systems Organization Invitation to Computer Science,
M211 – Central Processing Unit
Computer Operation. Binary Codes CPU operates in binary codes Representation of values in binary codes Instructions to CPU in binary codes Addresses in.
Von Neumann Machines. 3 The Von Neumann Architecture Model for designing and building computers, based on the following three characteristics: 1)The.
Lecture # 10 Processors Microcomputer Processors.
Computer Architecture Adapted from CS10051 originally by Professor: Johnnie Baker Computer Science Department Kent State University von Neuman model.
Chapter 2 content Basic organization of computer What is motherboard
Computer Hardware What is a CPU.
GCSE Computing - The CPU
The CPU, RISC and CISC Component 1.
3.3.3 Computer architectures
Teaching Computing to GCSE
Chapter 5: Computer Systems Organization
GCSE Computing - The CPU
Presentation transcript:

CSC Intro. to Computing Lecture 9: Computing Components

Announcements Homework #1 returned at end of class  Mean score: 80; σ=15  Answer key available on web page Quiz at end of class on Thursday  Practice quiz on Blackboard/web (answers on separate page)  Do NOT memorize algebraic properties I will provide them

Working Together Goal is for students to learn  Means mistakes are made, questions raised  Peers useful when learning material But the goal is for YOU to learn material Talk about homework all you want  Leave conversation with only memories, nothing written, typed, dictated, displayed on a screen…  Wait at least 15 minutes before continuing with homework

How Does a Computer work? When discussing computers, most people think of processor  A.k.a., Central Processing Unit (CPU)  Examples include: Pentium IV, PowerPC, Itanium, Pentium M…

What To Execute Next Most modern computers use von Neumann architecture  Does not require separate components to store data and instructions Harvard architecture would require 2 hard drives  Uses control unit to drive entire machine  Assumes existence of input & output devices

How a Computer Is Organized

CPU Design Processor is made up of several parts These parts serve many functions  Calculating mathematical & logical functions  Commanding actions of rest of computer

Arithmetic/Logical Unit Calculates mathematical & logical actions  So does addition, subtraction, multiplication, division, AND, OR, NOT, NOR… Accepts only one or two inputs a + b/c is two instructions: an addition and division  Uses small VERY fast memory: “Registers” Registers work at speed of processor, much faster than any other memory Only registers available on a machine

Control Unit Organizes and oversees program execution  Also uses several registers: Instruction Register (IR) holds instruction to execute Program Counter (PC) states what instruction to execute next  Control unit insures computer executes step- by-step in logical, orderly manner Often to the chagrin of person using computer

Memory Modern computers typically use 8-bit addressability  8 bits == 2 nibbles == 1 byte  Each memory location stores 1 byte Most Intel-based machines use 32-bit address space  Can access at most 2 32 different bytes Or no more than 4,294,967,296 bytes of memory

Memory continued Apple, AMD, and newer Intel-based machines use 64-bit address space  How many times more memory is this?  Why could this be needed?

Memory Modern desktop machines are 32-bit  Means they access memory 32-bits at a time  How computers view memory contents:

Memory What does the data represent?  Could be a program, picture, mp3, CSC110 grades, …  Processor translates this data into something more meaningful  Output units then present this information

“Output Units” Output unit A device through which results stored in the computer memory are made available to the outside world

“Input Units” Input Unit A device through which data and programs from the outside world are entered into the computer

Limitations of Book Division What would a hard disk be considered?

Limitations of Book Analogy What would a hard disk be considered?  Saving this class lecture  Output Unit  Loading this lecture  Input Unit  Some devices perform both input and output

Connecting the Computer

Time versus Space Rear Admiral Grace Murray Hopper  A coil of wire nearly 1,000 feet long Distance traveled by an electron along the wire in the space of a microsecond  A 1 foot piece of wire In the space of a nanosecond  The length of a grain of pepper In the space of a picosecond

Bus Operations Bus “driven” at a specific frequency  Different buses connect different components Do not want slow hard drive to work at speed of fast memory Could have two buses join at one point  Only one device can write to bus at a time Two devices writing at once called a “collision” Sophisticated algorithms used to limit impact

Executing a Program Processors run at 3GHz+ Memory runs much slower  But memory contains the instructions Processor does no good spinning wheels waiting for instruction from memory How can increasing processor speed be helpful?

Fetch-Execute Cycle Processor run like assembly line One stage fetches instruction for memory  Stores small number of instructions in fast memory stored on processor – “cache” Next stage decodes the instruction  Retrieves any data needed from memory  Data stored in registers

Fetch-Execute Cycle Instruction is executed  Multiple units execute instructions ALU executes math/logic functions Control unit handles “branch” instructions Have multiple ALUs to execute multiple instructions at once Final unit “retires” instruction  Writes results back to main memory

Fetch-Execute Cycle

Processor Limitations Can only push processor so far Ultimately limited by speed of electrons Running into physical limits of how quickly silicon-based gates can switch  Replacement technology is VERY expensive

Processor Bottleneck Solution Often have data all of which needs same transformation  mp3s, movies, graphic files  Weather forecasting Use fetch-execute cycle  But execute each instruction on multiple data sets

Processor Bottleneck Solution Used in supercomputers, high-end workstations  Have multiple processors perform actions simultaneously Also found in desktop/laptop machines  Use multiple functional units in single processor  Called “MMX” in Windows-based machines, “Altivec” on Macs

SIMD Processing

MIMD Processing Usually have multiple processes at once  Using computer to “multitask”  Could speed performance by splitting tasks onto different CPUs Could be done by splitting processor time  Intel’s “hyperthreading” Could join multiple CPUs onto one chip  Becoming more common as we speak

MIMD Processing

Secondary Storage Main memory is volatile and limited  Secondary storage vital for long-term data  Also stores unneeded data Need has existed since beginning of computer

Magnetic Tape One of first systems of saving data Works in manner identical to audio cassette Slow access times What are they still used for?

Magnetic Disks Small read/write head flies over platter  Disk “crashes” when head contacts platter  Platter covered in thin film of protective material Using multiple platters improves performance  Can access data quicker  Can improve disk reliability

Magnetic Disk

Magnetic Disks Head moves directly to location on disk with data  Disk split into many tracks Like CD or record  Each track split into sectors  Each sector stores one block of data All blocks contain same amount of data

For Next Lecture Read PALGO chapters 1-5  First real work directing computers  What I find most fun about computers Study up on circuits  Quiz at end of next lecture Get ready for homework on computing components next week