Hardware September 19, 2017.

Slides:



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

The Central Processing Unit: What Goes on Inside the Computer.
Instructor: Sazid Zaman Khan Lecturer, Department of Computer Science and Engineering, IIUC.
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.
What Is A Computer System?
Buying a Laptop. 3 Main Components The 3 main components to consider when buying a laptop or computer are Processor – The Bigger the Ghz the faster the.
 Chasis / System cabinet  A plastic enclosure that contains most of the components of a computer (usually excluding the display, keyboard and mouse)
BLOCK DIAGRAM OF COMPUTER
Chapter 3 Computer Hard ware
3 1 3 C H A P T E R Hardware: Input, Processing, and Output Devices.
Computing hardware CPU.
Different CPUs CLICK THE SPINNING COMPUTER TO MOVE ON.
INTRODUCTION TO COMPUTERS The personal computer was far from reality in Computer users were limited to specially trained operators and engineers.
 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.
1 Introduction to Computers Prof. Sokol Computer and Information Science Brooklyn College.
CENTRAL PROCESSING UNIT – a,b,c & d a - The Purpose of a CPU The CPU is the brain of the computer. The Purpose of the CPU is to process.
OCR GCSE Computing © Hodder Education 2013 Slide 1 OCR GCSE Computing Chapter 2: CPU.
SKILL AREA: 1.2 MAIN ELEMENTS OF A PERSONAL COMPUTER.
CSCI-100 Introduction to Computing Hardware Part I.
Introduction to Microprocessors
Components of a Computer System
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.
By : Reem Hasayen. A storage device is a hardware device capable of storing information. There are two types of storage devices used in computers 1. Primary.
1 Central Processing Unit (CPU) Consists of complex set of electronic circuitry Executes stored program instructions Three components –Registers –Control.
Basic Computer Organization Rashedul Hasan.. Five basic operation No matter what shape, size, cost and speed of computer we are talking about, all computer.
HOW IT WORKS …. REVIEW: BINARY NUMBERS DECODE THIS MESSAGE
Succeeding with Technology Chapter 2 Hardware Designed to Meet the Need The Digital Revolution Integrated Circuits and Processing Storage Input, Output,
HOW COMPUTERS WORK THE CPU & MEMORY. THE PARTS OF A COMPUTER.
1 Introduction to Computers Prof. Sokol Computer and Information Science Brooklyn College.
Activity 1 Review the work from last lesson so that you can explain the following: -What is the purpose of a CPU. -What steps does the CPU take to process.
Computer Hardware & Processing Inside the Box CSC September 16, 2010.
CS 1410 Intro to Computer Tecnology Computer Hardware1.
MAHARANA PRATAP COLLEGE OF TECHNOLOGY SEMINAR ON- COMPUTER PROCESSOR SUBJECT CODE: CS-307 Branch-CSE Sem- 3 rd SUBMITTED TO SUBMITTED BY.
CPU Central Processing Unit
Computer Architecture and Number Systems
Computer Hardware What is a CPU.
Introduction to Computers
computers, transistors, how does computer work?
GCSE OCR Computing A451 The CPU Computing hardware 1.
HOW IT WORKS ….
Chapter 2.1 CPU.
Chapter 1: An Overview of Computers and Programming Languages
Objectives Overview Differentiate among various styles of system units on desktop computers, notebook computers, and mobile devices Identify chips, adapter.
Computer Parts - Internal
Central Processing Unit (CPU)
The Central Processing Unit
Introduction to Computer Architecture
Nat 4/5 Computing Science Types of Computer and Performance
Edited by : Noor Alhareqi
Course Name: Computer Application Topic: Central Processing Unit (CPU)
Introduction to Computers
IB Computer Science Topic 2.1.1
Hardware The Hardware unit covers a wide range of different aspects:
Introduction to Computers
CPU Central Processing Unit
Edited by : Noor Alhareqi
Edited by : Noor Alhareqi
Introduction to Computers
Introduction to Computer Architecture
Topics Introduction Hardware and Software How Computers Store Data
Central Processing Unit
Computers Inside and Out
Motherboard External Hard disk USB 1 DVD Drive RAM CPU (Main Memory)
Computer Evolution and Performance
Edited by : Noor Alhareqi
Learning Objectives To be able to describe the purpose of the CPU
Year 10 Computer Science Hardware - CPU and RAM.
Basic Computer Organization
Phil Harker & Norman Green
Presentation transcript:

Hardware September 19, 2017

Computer hardware There are three major components of a computer: CPU Temporary storage (e.g., RAM) Persistent storage (e.g., hard drive)

RAM RAM (Random Access Memory) is a “scratchpad” where the computer stores data that is currently being used. Think of it as a storage area for data under the control of the CPU. RAM is called “temporary storage” because it only keeps its state while it is supplied with power. If you’re working on a Word document and the computer suddenly loses power, you lose everything since your last save. Examples: Several tabs open in Chrome—each tab’s data is in RAM. Editing an image in Photoshop—the image data is in RAM.

RAM Most computers currently come with 8-16 GB of RAM. Cohen’s MacBook Pro shipped with 16 GB. For the sake of comparison, my first computer (Mac LC II, circa 1992) featured 4 MB. BCPS devices max out at 12 GB. More RAM = better computer performance.

Persistent storage Two primary types: hard disk drive (HDD) and solid-state drive (SSD). HDD: Data stored as a magnetic pattern on a spinning disk. SSD: No moving parts; all data stored electronically. Also known as “flash memory.” Faster and more reliable than HDD, but more expensive (though less so than it used to be). Still much slower than RAM, so it is not a suitable substitute/replacement for RAM. Flash memory does not last forever. We know there is a limit on how long it can store data, but we don’t know what that limit is.

Persistent storage

CPU Recall: the CPU is the “brains” of the computer. CPU is responsible for executing the instructions that achieve the desired results. The CPU’s main job is to handle the execution of processes. A process is a single instance of a program being executed. A CPU is only capable of understanding very simple instructions. “Add these two numbers together.” “Determine if these two numbers are equal.”

CPU pipeline The CPU runs each instruction through a pipeline, which is similar to a factory assembly line. There are typically four different processes in the pipeline: Fetch: Determines the instruction that needs to be executed next. Decode: Determines what the CPU needs to do to execute this instruction. Execute: Runs the requested computation (e.g., performing an arithmetic operation) Writeback: Stores the result of the computation by writing it to memory (often in a special location in the CPU).

CPU pipeline

Parallelism Wouldn’t it be more efficient if we could multi-task and take advantage of the fact that different parts of the CPU are responsible for different processes? This is known as parallelism.

parallelism

Parallelism A multi-core processor combines multiple CPUs into one. Dual-core: two cores Quad-core: four cores Multiple cores allow the CPU to more effectively handle multiple programs running at once (e.g., writing an email while streaming Spotify). N.B. The relationship is not linear—a quad-core processor is not necessarily four times faster than one with a single core.

Clock speed A CPU’s clock speed measures how many cycles it can complete in one second. E.g., a 2 GHz processor can complete 2 billion cycles in one second. Moore’s law states that transistors get twice as small approximately every two years. Upshot: Every two years, chip capacity doubles OR chips get smaller and cheaper (if capacity is unchanged). This is sometimes stated as every 18 months based on the prediction of another Intel executive. This is an observation, not an actual scientific law.

Moore’s law in action One of the first computers capable of executing stored instructions was EDVAC (Electronic Discrete Variable Automatic Computer). Developed in the mid-1940s for the U.S. Army by UPenn. Weighed over 17,000 pounds and covered nearly 500 square feet of floor area. Could add two numbers together in roughly 864 microseconds (1 microsecond = 1 millionth of a second), for about 1,160 operations per second. One multiplication took 2,900 microseconds (so about 340 operations per second). Required 30 people per eight-hour shift to operate.

Moore’s law in action

Moore’s law in action IBM ASCC (Automatic Sequence Controlled Calculator), also called the Harvard Mark I, was developed for the U.S. Navy in the mid-1940s. Weighed roughly 10,000 pounds. Volume of 816 cubic feet: 51 ft. long, 8 ft. high, 2 ft. deep. Mark I could perform three additions or subtractions per second. A multiplication took 6 seconds. A division took 15.3 seconds. A logarithm or trigonometric function took over a minute.

Moore’s law in action

Moore’s law in action