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
Machine cycle.
Advertisements

The Central Processing Unit: What Goes on Inside the Computer.
 The central processing unit (CPU) interprets and executes instructions.  The “brains” of the computer.  The speed of the processor is how fast it.
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.
Introduction to Computers
Computer Hardware In this lecture, we will study:
1 Introduction to Computers Prof. Sokol Computer and Information Science Brooklyn College.
Computer Systems CS208. Major Components of a Computer System Processor (CPU) Runs program instructions Main Memory Storage for running programs and current.
UNIT 9 Computer architecture
 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.
Computer Systems I’m ONLY a machine! Standard Grade Revision.
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.
The Computer Systems By : Prabir Nandi Computer Instructor KV Lumding.
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.
HARDWARE: CPU & STORAGE How to Buy a Multimedia Computer System.
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.
Computer Parts. Two Basic Parts Hardware & Software.
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
I/O (Input and Output) An I/O device acts as an interface between a computer and a user Without I/O devices, a computer is nothing but a box full of.
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.
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.
Computer Architecture And Organization UNIT-II Structured Organization.
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.
© Jalal Kawash 2010 Introduction Peeking into Computer Science 1.
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.
COMPUTER BASICS Computer Technology. WHAT IS A COMPUTER?  Electronic  Accepts data and instructions  Manipulates, processes, and displays the information.
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.
Computer Babble Talk Dung X. Nguyen Rice University.
1 Introduction to Computers Prof. Sokol Computer and Information Science Brooklyn College.
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),
CS 1410 Intro to Computer Tecnology Computer Hardware1.
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
COMPUTER MEMORY & DATA STORAGE
Introduction to Computers
COMPUTER MEMORY & DATA STORAGE
Introduction to Computers
Introduction to Computer Architecture
Storage.
Chapter 5 Computer Organization
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

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

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

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

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?

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

Memory Hierarchy

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

Hard Drives

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

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

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

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?