Elementary Computing CSC M. Cheng, Computer Science 1

Similar documents
Electricity: Voltage. Gate: A signal enters the gate at a certain voltage. The gate performs operations on it, and sends it out was a new signal.

Microprocessors I MICROCOMPUTERS AND MICROPROCESSORS

Chapter Two. Hardware Basics: Inside the Box

SYSTEM BUS AND MOCROPROCESSORS HISTORY

Intentionally Blank 0

Computers: Inside and Out

About the Presentations

Three-box Model: These three boxes need interconnecting (usually done by wiring known as a bus. 1. Processor CPU e.g. Pentium 4 2.

CSC 121 Computers and Scientific Thinking

Introduction To Computer Hardware. Hafijur Rahman

COMPUTER ORGANIZATION & SKILLS

COMPUTER BASICS Processing/Storage

machine cycle, the CPU: (a) Fetches an instruction, (b) Decodes the instruction, (c) Executes the instruction, and (d) Stores the result.

A+ Guide to Hardware: Managing, Maintaining, and Troubleshooting, 5e. Chapter 1 Introducing Hardware

Components of a personal computer

Show how to connect three Full Adders to implement a 3-bit ripple-carry adder

FUNCTIONS OF COMPONENTS OF A PERSONAL COMPUTER

15/09/15. Introduction to Computers & The Internet. Contents. Computer hardware and software. Input and output devices CPU. Memory.

Chapter One. Introduction to Computer System

INTRODUCTION TO COMPUTERS

Copyright 2006 Prentice-Hall. All rights reserved. 1

Topics. Hardware and Software. Introduction. Main Memory. The CPU 9/21/2014. Introduction to Computers and Programming

Agenda Computer Hardware Input Devices Output Devices Secondary Storage Computer Software System Software Application Software Working with Windows

Introduction to Microprocessor

Segment 1A. Introduction to Microcomputer and Microprocessor

KULLEĠĠ SAN BENEDITTU Boys Secondary, Kirkop

Homeschool Enrichment. The System Unit: Processing & Memory

Knowledge Organiser. Computing. Year 10 Term 1 Hardware

CSC1201 Computer Applications. Budditha Hettige Department of Computer Science

TUTORIAL Describe the circumstances that would prompt you to use a microprocessorbased design solution instead of a hard-wired IC logic design.

Introduction to computers

Main Parts of Personal Computer

History. 3rd Generation- Integrated Circuits, Transistors (Integrated Circuit form) for Memory ( memory is now volatile), Terminal/Keyboard for I/O

System Unit. By: Khadeeja Farkash

TECHNOLOGY IN ACTION. Chapter 2. Alan Evans * Kendall Martin * Mary Anne Poatsy. Looking at Computers: Understanding the Parts

HARDWARE. There are a number of factors that effect the speed of the processor. Explain how these factors affect the speed of the computer s CPU.

Computers Are Your Future

What is the typical configuration of a computer sold today? 1-1

INTRODUCTION TO INFORMATION & COMMUNICATION TECHNOLOGY (ICT) LECTURE 2 : WEEK 2 CSC-111-T

Memory Overview. Overview - Memory Types 2/17/16. Curtis Nelson Walla Walla University

Show how to connect three Full Adders to implement a 3-bit ripple-carry adder

THE MICROCOMPUTER SYSTEM CHAPTER - 2

CMSC 104 -Lecture 2 John Y. Park, adapted by C Grasso

Computers Are Your Future

Unit 2: Technology Systems. Computer and technology systems

Parts of the Computer System. Parts of the Computer System. Parts of the Computer System. Essential Computer Hardware. Information Processing Cycle

Computer Organization

Pharmacy college.. Assist.Prof. Dr. Abdullah A. Abdullah

An Overview of the Computer System. Kafui A. Prebbie 24

Technology in Action. Chapter Topics. Participation Question. Participation Question. Participation Question 8/8/11

Chapter 5: Computer Systems Organization

Chapter 5: Computer Systems Organization. Invitation to Computer Science, C++ Version, Third Edition

Q1. Describe C.P.U and its subunits with the help of diagram?

Chapter 4 The Components of the System Unit

Unit - II. Computer Concepts and C Programming 06CCP13. Unit II

Welcome to COMPSCI111/111G!

System Unit Components Chapter2

Parts are adapted from Windows 98 by Mark Twain Media, Inc. A Computer System has Hardware and Software

DIGITAL SYSTEM FUNDAMENTALS (ECE421) DIGITAL ELECTRONICS FUNDAMENTAL (ECE422)

lesson 3 Transforming Data into Information

Management Information Systems OUTLINE OBJECTIVES. Information Systems: Computer Hardware. Dr. Shankar Sundaresan

Memory Study Material

Computer Overview. A computer item you can physically see or touch. A computer program that tells computer hardware how to operate.

Information Communications Technology (CE-ICT) 6 th Class

2011 Francisco Delgadillo

ICDL-IT. ICDL The ICDL L4 IT. ICDL-IT ICDL

Technology in Action

Machine Architecture and Number Systems

Terminology, Types of Computers & Computer Hardware

Identify Components of the. Motherboard

How much data can a BluRay hold?

SECTION 2 (Part B) Types And Components Of Computer Systems. Sophia Pratzioti

Welcome to COS151! 1.1

Chapter 1. Computer System Organization

A Review of Chapter 5 and. CSc 2010 Spring 2012 Instructor: Qian Hu

Computer Architecture. Fall Dongkun Shin, SKKU

CS/COE0447: Computer Organization

Introduction To Computers: Hardware

Cycle Time for Non-pipelined & Pipelined processors

Mother Board And Its Components By :- IMRAN QURESHI

CREATED BY M BILAL & Arslan Ahmad Shaad Visit:

Chapter 1: Why Program? Main Hardware Component Categories 8/23/2014. Main Hardware Component Categories: Why Program?

Week 0: Intro to Computers and Programming. 1.1 Why Program? 1.2 Computer Systems: Hardware and Software. Hardware Components

MEMORY. Computer memory refers to the hardware device that are used to store and access data or programs on a temporary or permanent basis.

COMP2121: Microprocessors and Interfacing. Introduction to Microprocessors

Computer Performance

UNIT 1.1 SYSTEMS ARCHITECTURE MCQS

Introduction To Computers: Hardware and Software

Sahalsoftware college. Welcome To understanding Basic Computer Concept

Chapter 2. Prepared By: Humeyra Saracoglu

Machine Architecture and Number Systems CMSC104. Von Neumann Machine. Major Computer Components. Schematic Diagram of a Computer. First Computer?

CSC 101 Questions: Chapter 1: Multiple Choice: 1. When did the World Wide Web become available to users? a. 1960s b. 1970s c. 1980s d.

Computer Basics. Lesson 1 Introduction to Computers. Edited by C. Rhodes 08/11

Fundamentals of Programming (Python) Basic Concepts. Ali Taheri Sharif University of Technology Spring 2018

COMPUTER SYSTEM. COMPUTER SYSTEM IB DP Computer science Standard Level ICS3U. COMPUTER SYSTEM IB DP Computer science Standard Level ICS3U

Chapter 1 Introduction to Computers and Programming

Chapter 1: Introduction to Computers and Programming

BUYING A COMPUTER TERM 2 AIT

Computer-System Organization (cont.)

CS24: INTRODUCTION TO COMPUTING SYSTEMS. Spring 2017 Lecture 13

Transcription:

Elementary Computing CSC 100 2014-07-14 M. Cheng, Computer Science 1

CPU and Memory Inside of a computer CPU and RAM Clock Speed & Multi-core Microprocessor How a CPU works Secondary Storage 2014-07-14 M. Cheng, Computer Science 2

Outcomes The brain of a computer is the CPU. The motherboard is populated with CPU, memory and I/O devices. A program must be loaded inside the RAM before it is executed. The CPU fetches, decodes and executes instructions one after another. Secondary memory is non-volatile for storing larger amount of program or data. 2014-07-14 M. Cheng, Computer Science 3

Study Guide What is inside a computer? What is a CPU? What is RAM, ROM, Flash memory? What is a system bus? What is a motherboard? 2014-07-14 M. Cheng, Computer Science 4

Study Guide What is a CPU clock? What is the fetch-decode-execute cycle? What is volatile vs non-volatile memory? What is a multi-core processor? 2014-07-14 M. Cheng, Computer Science 5

Inside a Computer 2014-07-14 M. Cheng, Computer Science 6

Central Processing Unit (CPU) Primary Memory (RAM) 2014-07-14 M. Cheng, Computer Science 7

Typically, a computer uses a motherboard to populate the CPU, Memory, and I/O Devices. 2014-07-14 M. Cheng, Computer Science 8

The system bus is the set of wires connecting CPU, Memory and I/O devices. 2014-07-14 M. Cheng, Computer Science 9

A Desktop PC Motherboard Memory goes here CPU I/O Devices go here 2014-07-14 M. Cheng, Computer Science 10

A Macbook Laptop Motherboard CPU I/O Devices go here Memory goes here 2014-07-14 M. Cheng, Computer Science 11

RAM Memory Modules (for Desktop Computer) (for Laptop) 2014-07-14 M. Cheng, Computer Science 12

Input / Output Devices Mouse Keyboard Printer Monitor Scanner Hard drives CD ROM 2014-07-14 M. Cheng, Computer Science 13

A Brief History of Microprocessors (CPU) 2014-07-14 M. Cheng, Computer Science 14

A microprocessor is a CPU built into an Integrated Circuit (IC). 2014-07-14 M. Cheng, Computer Science 15

In 1972, Intel created the first microprocessor 4004. 2014-07-14 M. Cheng, Computer Science 16

Inside an Early Microprocessor 2014-07-14 M. Cheng, Computer Science 17

Modern Microprocessors 2014-07-14 M. Cheng, Computer Science 18

Inside a Modern Microprocessor 2014-07-14 M. Cheng, Computer Science 19

Central Processing Unit (CPU) 2014-07-14 M. Cheng, Computer Science 20

The Brain of a Computer A CPU defines a set of instructions that a computer can understand. A program is a sequence of CPU instructions. When a program is executing, the CPU follows the instructions prescribed in the program. 2014-07-14 M. Cheng, Computer Science 21

The Heart of a CPU A CPU executes one instruction after another. The CPU clock (i.e., its heart ) regulates all activities going on inside; it is measured in Hz, times per second. The faster the clock, the faster the CPU; 3 GHz is about 3 times faster than a 1 GHz CPU. 2014-07-14 M. Cheng, Computer Science 22

CPU Cores Modern microprocessors often have more than one CPU per chip. A dual-core microprocessor means 2 CPUs inside; a quad-core means 4 CPUs inside. Generally, the more the cores, the faster the microprocessor. 2014-07-14 M. Cheng, Computer Science 23

2014-07-14 M. Cheng, Computer Science 24

Nvidia ARM Microprocessor 2014-07-14 M. Cheng, Computer Science 25

Primary Memory (RAM) 2014-07-14 M. Cheng, Computer Science 26

Random Access Memory (RAM) A computer has both primary memory (RAM) and secondary memory (e.g., hard drives). A program must be stored inside the RAM before a CPU can execute it. RAM is volatile; it loses its content if not powered. 2014-07-14 M. Cheng, Computer Science 27

RAM ranges from 1 GB to 4GB, and costs around $10 per GB. 2014-07-14 M. Cheng, Computer Science 28

What is a Program? 2014-07-14 M. Cheng, Computer Science 29

Joseph Marie Jacquard 2014-07-14 M. Cheng, Computer Science 30

Joseph M. Jacquard designed a machine, called the loom, in 1801 for knitting. 2014-07-14 M. Cheng, Computer Science 31

Jacquard Loom 2014-07-14 M. Cheng, Computer Science 32

Features of a Jacquard Loom Weaving patterns are described by a sequence of punch cards. Each punch card specifies which needle is up (no hole) or down (a hole) There is a mechanism to read the punch cards one-by-one. 2014-07-14 M. Cheng, Computer Science 33

The Punch Cards 2014-07-14 M. Cheng, Computer Science 34

Jacquard Loom Punch Cards 2014-07-14 M. Cheng, Computer Science 35

Jacquard Loom Close Up 2014-07-14 M. Cheng, Computer Science 36

The Loom & The CPU A program (or a weaving pattern ) is a sequence of instructions (or punch cards ). The CPU (card reader) reads an instruction (a punch card) and then executes it. Each punch card is a binary instruction (e.g., a hole means down, no hole means up.) 2014-07-14 M. Cheng, Computer Science 37

How a CPU works (Fetch) A CPU reads one instruction at a time from the memory, typically RAM. (Decode) For each instruction read, it determines what the instruction is about. (Execute) It does what the instruction says. It repeats Fetch-Decode-Execute forever. 2014-07-14 M. Cheng, Computer Science 38

Punch Cards & RAM The Loom uses a fixed sequence of punch cards to store a predefined weaving pattern. In a computer, a program must be loaded into RAM before the CPU can execute it. By loading different programs into RAM, a computer can perform different tasks at different times. 2014-07-14 M. Cheng, Computer Science 39

Secondary Memory 2014-07-14 M. Cheng, Computer Science 40

A Hard Drive 2014-07-14 M. Cheng, Computer Science 41

Inside a Hard Drive 2014-07-14 M. Cheng, Computer Science 42

A hard drive is between 512 GB to 4 TB. It costs about $0.1 per GB. 2014-07-14 M. Cheng, Computer Science 43

RAM is about 1,000,000 times faster than a hard drive. 2014-07-14 M. Cheng, Computer Science 44

A hard drive is about 100 times cheaper than RAM per GB. 2014-07-14 M. Cheng, Computer Science 45

The more RAM a computer has, the faster it can run. 2014-07-14 M. Cheng, Computer Science 46

Magnetic Floppy Disks 2014-07-14 M. Cheng, Computer Science 47

Floppy Drives 2014-07-14 M. Cheng, Computer Science 48

Before hard drives became affordable, most personal computers only use floppy drives. 2014-07-14 M. Cheng, Computer Science 49

Flash memory is a special kind of non-volatile secondary memory, which has no moving part. 2014-07-14 M. Cheng, Computer Science 50

Solid-State Drive (or SSD) 2014-07-14 M. Cheng, Computer Science 51

Flash memory is about 10 times faster than a hard drive; but it costs about 10 times more. 2014-07-14 M. Cheng, Computer Science 52

All secondary memory are nonvolatile; they are used primarily for archiving and backup. 2014-07-14 M. Cheng, Computer Science 53

The End. 2014-07-14 M. Cheng, Computer Science 54