Introduction to Computer Architecture. What is binary? We use the decimal (base 10) number system Binary is the base 2 number system Ten different numbers.

Slides:



Advertisements
Similar presentations
The Central Processing Unit: What Goes on Inside the Computer.
Advertisements

Computer Architecture. Central Processing Unit (CPU)- micro processor The Personal Computer.
Intermediate GNVQ ICT Computer Systems Hardware is the name that is given to any part of a computer that you can actually touch. An individual piece of.
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.
2 pt 3 pt 4 pt 5pt 1 pt 2 pt 3 pt 4 pt 5 pt 1 pt 2pt 3 pt 4pt 5 pt 1pt 2pt 3 pt 4 pt 5 pt 1 pt 2 pt 3 pt 4pt 5 pt 1pt Category1 Computers Category2 CPU.
©Brooks/Cole, 2003 Chapter 5 Computer Organization.
Chapter 0 Introduction to Computing
The processor and main memory chapter 4, Exploring the Digital Domain The Development and Basic Organization of Computers.
The central processing unit and main memory chapter 4, Exploring the Digital Domain The Development and Basic Organization of Computers.
Computer Hardware In this lecture, we will study:
1 Introduction to Computers Prof. Sokol Computer and Information Science Brooklyn College.
COMPUTER MEMORY Modern computers use semiconductor memory It is made up of thousands of circuits (paths) for electrical currents on a single silicon chip.
UNIT 9 Computer architecture
CS1104-8Memory1 CS1104: Computer Organisation Lecture 8: Memory
 Prof. Dr. M. H. Assal Introduction to Computer AS 26/10/2014.
Chapter 3 – Computer Hardware Computer Components – Hardware (cont.) Lecture 3.
BLOCK DIAGRAM OF COMPUTER
Aug CMSC 104, LECT-021 Machine Architecture and Number Systems Some material in this presentation is borrowed form Adrian Ilie From The UNIVERSITY.
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 Hardware and Software Jinchang Wang. Hardware vs. Software Hardware is something tangible. Computer hardware includes electronic circuitry and.
Computers Central Processor Unit. Basic Computer System MAIN MEMORY ALUCNTL..... BUS CONTROLLER Processor I/O moduleInterconnections BUS Memory.
1 Machine Architecture and Number Systems Topics Major Computer Components Bits, Bytes, and Words The Decimal Number System The Binary Number System Converting.
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.
Introduction to Computers
Introduction to Computers
1 Introduction to Computers Prof. Sokol Computer and Information Science Brooklyn College.
Computers organization & Assembly Language Chapter 0 INTRODUCTION TO COMPUTING Basic Concepts.
Machine Architecture CMSC 104, Section 4 Richard Chang 1.
The Central Processing Unit: What Goes on Inside the Computer
Computer Systems TexPREP Summer Camp Computer Science.
1Copyright © Prentice Hall 2000 The Central Processing Unit Chapter 3 What Goes on Inside the Computer.
TheTeacher Computing Data Storage Computing. TheTeacher Computing Primary Storage One of the fundamental properties of a computer is that it can store.
Inside your computer. Hardware Review Motherboard Processor / CPU Bus Bios chip Memory Hard drive Video Card Sound Card Monitor/printer Ports.
GCSE Information Technology Computer Systems 2 Hardware is the name that is given to any part of a computer that you can actually touch. An individual.
IT Groundwork ICS3UC - Unit 1 Hardware. Overview of Computer System.
Introduction to Computer Architecture. What is binary? We use the decimal (base 10) number system Binary is the base 2 number system Ten different numbers.
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.
SKILL AREA: 1.2 MAIN ELEMENTS OF A PERSONAL COMPUTER.
Computer Architecture Memory, Math and Logic. Basic Building Blocks Seen: – Memory – Logic & Math.
CSCI-100 Introduction to Computing Hardware Part I.
1 Course Title: IT IN BUSINESS Course Instructor: ADEEL ANJUM Chapter No: 04 1 BY ADEEL ANJUM (MCS, CCNA,WEB DEVELOPER)
Computer Hardware A computer is made of internal components Central Processor Unit Internal External and external components.
Computer Structure & Architecture 7b - CPU & Buses.
Introduction to Hardware. What is binary? We use the decimal (base 10) number system Binary is the base 2 number system Ten different numbers are used.
Computer Organization. The digital computer is a digital system that performs various computational tasks Digital computer use binary number system which.
CS 1308 Computer Literacy and the Internet. Objectives In this chapter, you will learn about:  The components of a computer system  Putting all the.
Machine Architecture CMSC 104, Section 4 Richard Chang 1.
Computer Organization. The Five Hardware Units General purpose computers use the "Von Neumann" architecture Also referred to as "stored program" architecture.
Introduction to ComputersS1.1.1 Bina © 1998 Liran & Ofir Programming in C.
Computer Systems. Bits Computers represent information as patterns of bits A bit (binary digit) is either 0 or 1 –binary  “two states” true and false,
Computer Babble Talk Dung X. Nguyen Rice University.
Memory The term memory is referred to computer’s main memory, or RAM (Random Access Memory). RAM is the location where data and programs are stored (temporarily),
Information Technology INT1001 Lecture 2 1. Computers Are Your Future Tenth Edition Chapter 6: Inside the System Unit Copyright © 2009 Pearson Education,
Computers Inside & Out. How have computers affected your life? How has technology affected your life?
Introduction To Computer Programming – 1A Computer Parts, Words, and Definition Herriman High School.
Introduction to Programming. Key terms  CPU  I/O Devices  Main memory  Secondary memory  Operating system  User interface  Application  GUI 
The Central Processing Unit
Introduction to Computer Architecture
Computer Architecture
Introduction to Computers
IB Computer Science Topic 2.1.1
Introduction to Computers
COMS 161 Introduction to Computing
Introduction to Computers
Introduction to Computer Architecture
Chapter 2: Computer Hardware
Storage.
Objectives Describe common CPU components and their function: ALU Arithmetic Logic Unit), CU (Control Unit), Cache Explain the function of the CPU as.
Presentation transcript:

Introduction to Computer Architecture

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?

Bits & Bytes kilo, mega, and giga are different in binary! bit (b) – binary digit Byte (B) – 8 binary digits KiloByte (KB) – 2 10 bytes MegaByte (MB) – 2 20 bytes GigaByte (GB) – 2 30 bytes

Storage Scam! Example: iPod Nano 8GB

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...

Major Components of a Computer Central Processing Unit (CPU) Random Access Memory (RAM) Hard Drive / Disk

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?!? Control Unit ALU Memory Address Bus Data Bus

Fetch-Execute Cycle (Machine Instruction Cycle) 1. Fetch instruction from memory 2. Decode instruction in control unit 3. Execute instruction (data may be fetched from memory) 4. Store results if necessary 5. Repeat! Control Unit ALU Memory Address Bus Data Bus

ON-OFF-ON-ON Several ways to remember the state of a switch:  Electrical – RAM, flash memory, ROM  Magnetic – Hard drives, magnetic tapes  Optical – CDs, DVDs

Primary Memory Memory level CPU accesses closest RAM ~ Random Access Memory  Volatile storage (data is NOT saved when computer is off)  Used to store everything (OS, programs, etc.) while computer is on ROM ~ Read-Only Memory  Non-volatile storage  Often holds the computer’s BIOS (Basic Input/Output System) when computer first loads

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 AddressData

Registers Temporary storage containers used inside the CPU Extremely fast MAR ~ Memory Address Register  Holds the address of where you are fetching from MDR ~ Memory Data Register  Holds the data that was fetched from memory Many other registers too (for all CPU calculations)

Fetch-Execute Cycle (Machine Instruction Cycle) 1. Fetch instruction from memory 2. Decode instruction in control unit 3. Execute instruction (data may be fetched from memory) 4. Store results if necessary 5. Repeat! Control Unit ALU Memory Address Bus Data Bus

Fetch-Execute Animation skills/FetchExecute.swf skills/FetchExecute.swf

Memory Hierarchy

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

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 Prevents the computer from stalling/crashing (BUT IT IS SLOW)

Hard Drives Persistent storage Non-volatile storage Why do we need it? Other types of persistent storage?

CD/DVD/BluRays Lands and pits used to represent binary Optical medium - lasers and refraction used to read lands and pits m m