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.

Similar documents
Intentionally Blank 0

Introduction To Computer Hardware. Hafijur Rahman

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

About the Presentations

Chapter Two. Hardware Basics: Inside the Box

Homeschool Enrichment. The System Unit: Processing & Memory

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

INTRODUCTION TO COMPUTERS

System Unit Components Chapter2

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

Chapter 4 The Components of the System Unit

Information Communications Technology (CE-ICT) 6 th Class

CSC 121 Computers and Scientific Thinking

Elementary Computing CSC M. Cheng, Computer Science 1

Terminology, Types of Computers & Computer Hardware

Computers Are Your Future

Introduction to computers

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

Components of a Computer System

Computers Are Your Future

Copyright 2012 Pearson Education, Inc. Publishing as Prentice Hall

Computer Organization

Chapter 2. Prepared By: Humeyra Saracoglu

CMSC 1513 Lecture 1.2

Computer Technology Flash Card 2

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

Systems Architecture

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

Introduction to the Personal Computer

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

Dec Hex Bin ORG ; ZERO. Introduction To Computing

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.

System Unit Components. Chapter2

Chapter 4 The Components of the System Unit

Introduction To Computers: Hardware

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

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

Components of a personal computer

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

1.1 Bits and Bit Patterns. Boolean Operations. Figure 2.1 CPU and main memory connected via a bus. CS11102 Introduction to Computer Science

Microprocessors I MICROCOMPUTERS AND MICROPROCESSORS

2011 Francisco Delgadillo

CC411: Introduction To Microprocessors

Chapter One. Introduction to Computer System

HARDWARE AND OPERATING SYSTEMS

Introduction To Computer Hardware

Computer Performance

Introduction. A Look Inside a Laptop Computer. What is inside a laptop computer? What is Inside a Laptop Computer?

Introduction To Computers: Hardware and Software

How much data can a BluRay hold?

Technology in Action

Introduction. Arizona State University 1

Computer Hardware. Lect 3: Input / System Unit/Output & Storage

Main Parts of Personal Computer

So computers can't think in the same way that people do. But what they do, they do excellently well and very, very fast.

Knowledge Organiser. Computing. Year 10 Term 1 Hardware

MSc-IT 1st Semester Fall 2016, Course Instructor M. Imran khalil 1

Machine Architecture. or what s in the box? Lectures 2 & 3. Prof Leslie Smith. ITNP23 - Autumn 2014 Lectures 2&3, Slide 1

The Components of the System Unit

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

Computer Basics PC-100

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

CREATED BY M BILAL & Arslan Ahmad Shaad Visit:

Computer Organization

Computer Hardware. ICS2O Mr. Emmell

Discovering Computers 2012

7/28/ Prentice-Hall, Inc Prentice-Hall, Inc Prentice-Hall, Inc Prentice-Hall, Inc Prentice-Hall, Inc.

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

Chapter 5: Computer Systems Organization

Chapter 9: A Closer Look at System Hardware

Chapter 9: A Closer Look at System Hardware 4

FUNCTIONS OF COMPONENTS OF A PERSONAL COMPUTER

Computer Hardware. In this lesson we will learn about Computer Hardware, so that we have a better understanding of what a computer is.

True/False Indicate whether the statement is true or false. Bubble A for True and B for False

True/False Indicate whether the statement is true or false. Bubble A for True and B for False

The personal computer system uses the following hardware device types -

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

Introduction. Look Inside a Desktop Computer. What is inside a desktop computer? What is Inside a Desktop Computer?

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

COMP Computer Basics. Yi Hong May 13, 2015

9/7/2012. Introduction. Peeking into Computer Science. Jalal Kawash Mandatory: Chapter 1 Optional: None. Reading Assignment

Introduction to computers

Information Science 1

Chapter 1: Why Program? Computers and Programming. Why Program?

Chapter 7: Processor and Memory

Computer Systems. Binary Representation. Binary Representation. Logical Computation: Boolean Algebra

Lecture Objectives. Introduction to Computing Chapter 0. Topics. Numbering Systems 04/09/2017

Introduction to Microprocessor

BUYING A COMPUTER TERM 2 AIT

Unit 2: Technology Systems. Computer and technology systems

Introduction to computers

PDF created with pdffactory Pro trial version How Computer Memory Works by Jeff Tyson. Introduction to How Computer Memory Works

2) Computers use a language consisting of 0s and 1s. A) symbol B) binary C) byte D) system

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

COMPUTER ORGANIZATION & SKILLS

card slots CPU socket Monitor Computer case houses CPU (Central Processing Unit), CPU central power supply, DVD drive, etc processing unit Keyboard

AN INTRODUCTION TO THE COMPUTER

CHAPTER 2: HOW DOES THE COMPUTER REALLY WORK

COMPUTER MEMORY AND STORAGE CONCEPTS FOR ALL COMPUTER SYSTEMS

Quiz on Ch.4 is at the end of Ch.4 slides

Transcription:

Hardware CSCE 101

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. The signals voltage will either be between 0-2 (binary 0), or 2-5 (binary 1) So Binary data is travelling around our computer as a voltage signal

Gates There are different types of gates, to accomplish different types of logic. NOT Gate, which negates the signal AND Gate, which takes two signals and combines them

Basic Logic Operators AND OR XOR NOT Unary Binary Y = a b, Y is 1 if and only if a=b=1 Y = a+b, Y is 1 if either a=1 or b=1 Y = a, Y is 1 if a=0 Y = a b, Y is 0 if both a and b are same, 1 if they are different

Basic Logic Operators (cont.) 1-bit logic AND resembles binary multiplication: 0 0 = 0, 0 1 = 0, 1 0 = 0, 1 1 = 1 1-bit logic OR resembles binary addition, except for one operation: 0 + 0 = 0, 0 + 1 = 1, 1 + 0 = 1, 1 + 1 = 1 ( 10 2 ) 2018.09.16 Boolean Algebra PJF - 5

Truth Tables for logic operators Truth table: tabular form that uniguely represents the relationship between the input variables of a function and its output 2-Input AND 2-Input OR A B Y=A B A B Y=A+B NOT 0 0 0 0 1 0 1 0 0 1 1 1 0 0 0 0 1 1 1 0 1 1 1 1 A Y=A 0 1 1 0 2018.09.16 Boolean Algebra PJF - 6

Logic Gates Logic gates are abstractions of electronic circuit components that operate on one or more input signals to produce an output signal. 2-Input AND 2-Input OR NOT (Inverter) A B Y = A B Y A Y A Y B Y = A+B Y = A 2018.09.16 Boolean Algebra PJF - 7

Logic Gates

1 Bit Addition Let A and B are two inputs to be added SUM = A B CARRY = A B 2018.09.16 Boolean Algebra PJF - 9

Integrated Circuits An integrated circuit is a piece of silicon on which multiple gates have been embedded. (CSI) The integrated circuit consists of pins which are the input and output to gates. The CPU (Central Processing Unit) is an advanced integrated circuit with a large number of pins

Computer Functions Input Process Store Output

Computer Functions Input: Gathers data often from user entry Process: Takes data performs instructions on it, to change it into the desired information Storage: Saves data for use later Output: Displays data in a human readable form

Programmable data processor model A program is a set of instructions that tells the computer what to do with data. A program is a set of instructions written in a computer language. The output data depend on the combination of two factors: the input data and the program.

Same program, different data

Same data, different programs

Measurement Units Since we can have large pieces of data we need ways to represent large binary numbers Unit Bit (0 or 1) Byte Kilobyte (KB) Megabyte (MB) Gigabyte (GB) Terabytes (TB) Petabyte (PB) Size 8 bits 2 10 bytes = 1024 bytes 2 10 KB = about 1 million bytes 2 10 MB = about 1 billion bytes 2 10 GB = about 1 trillion bytes 2 10 PB = about quadrillion bytes

Computer Hardware Hardware refers to the physical parts of the computer that can be touched. Examples: mouse keyboard graphics card hard disk drive

Input Devices Devices which let you enter data into the computer keyboard mouse / touchpad microphone scanner game controller stylus

Output Devices Sends data out from the computer to be seen in a human readable way: text, pictures, sound, Examples: Monitor Printer GPS Speakers

Key Components Inside the Computer Motherboard: Holds the CPU, Memory, system Bus, Bus: Shared communication channel for the components CPU: Computers Brain RAM: Holds data and instructions for currently running processes Input/Output Processors: Perform input/output related processing

Motherboard Main circuit board that contains the central electronic components of the computer Holds the CPU, memory, connectors for the hard drive, optical drive, video cards, Connects directly or indirectly to every part of the computer

System Bus Communication link that connects all the different parts of the computer together.

CPU (Central Processing Unit) Also called a processor The brains of the computer Controls functions performed by other components Can perform up to 10s of billions of tasks per second Processor speed is measured in megahertz (MHz) or gigahertz (GHz) Well known manufactures are Intel and AMD

CPU on Motherboard CPU

Von Neumann Architecture Computers built on the von Neumann model divide the computer hardware into four subsystems: memory, arithmetic logic unit, control unit, and input/output Fig: The von Neumann model

von Neumann Architecture: Four subsystems Memory Memory is the storage area Generally, RAM Arithmetic logic unit (ALU) The ALU is where calculation and logical operations take place. Like Addition, Subtraction Control unit The control unit controls the operations of the memory, ALU, and the input/output subsystem. Input/output The input subsystem accepts input data and the program from outside the computer. The output subsystem sends the result of processing to the outside.

The stored program concept The von Neumann model states that the program must be stored in memory. This is totally different from the architecture of early computers in which only the data was stored in memory: the programs for their task was implemented by manipulating a set of switches or by changing the wiring system. The memory of modern computers hosts both a program and its corresponding data. This implies that both the data and programs should have the same format, because they are stored in memory. In fact, they are stored as binary patterns in memory a sequence of 0s and 1s.

Figure Program and data in memory

How Does the CPU Process? The Fetch-Execute Cycle The CPU performs the following commands in succession for every instruction Fetch: Get next instruction Decode: Determine what type of instruction Get Data: If external data is needed, it retrieves it Execute: Perform the operation Store: Save result

System Clock Acts as a metronome. Each tick (Clock Cycle) it executes the next instruction The clock speed is measured in Hertz (Hz)

CPU Instruction Cycle Clock Ticks 0 1 2 3 4 5 6 7 Instruction 1 Fetch Decode Execute Store Instruction 2 Fetch Decode Execute Store

Single vs. Dual-Core Processor Processors become more efficient when they have multiple core s. Multiple core s allow the processor to execute multiple instructions at the same time.

32bit word vs. 64 bit The word size is describing the size of the instructions which can be executed 32 Bit 64 Bit Fetch Cookies Fetch Milk Eat Cookies Eat Milk Fetch Cookies & Milk Eat Cookies & Milk

Memory The computer associates locations (addresses) with contents. Just like your own brain, it has a certain spot where it stores certain information. Address Contents 00000000 11011001 00000001 10010101 00000010 11111101 00000011 10000001 00000100 01011001 00000101 00111001

RAM (Random Access Memory) This memory holds the data the computer is currently using It is called Random Access because you can retrieve any piece of data at any time, you do not need to sequentially retrieve it Much faster to read and write from than the hard drive Temporary or volatile storage, this data is erased when the computer is shut down. Must save to hard drive Measured in megabytes (MB), or gigabytes (GB)

RAM on Motherboard

ROM (Read Only Memory) Memory which holds the startup instructions for the computer The instructions are permanently stored in this memory Non-volatile

Data Storage RAM is useful for temporary storage (volatile) while the computer is running. Once the computer stops all data in RAM is gone We need permanent storage locations such as hard drive, cloud, DVD, or a flash drive

Hard Drive Nonvolatile storage (permanent) Holds programs and data Today s hard drives have capacities up to 8TB External hard drives can be connected to the computer via a port for additional/backup storage

How Hard Drives Work Data is saved on the disk in a pattern of magnetized spots Read write head can fail and lead to disk failures on your computer

Hard Disk Organization When you save information to the hard drive it places the info around the tracks in sectors.

Solid State Drive (SSD) A replacement for hard disk drives They do not have moving parts, so they are less prone to failure Run more efficiently, are less noisy, and emit less heat Exist in your computer, in a drive bay.

RAM The RAM holds the data and instructions your computer is currently using. Like the Cache this is volatile, and you need to store it away or it will be deleted when you close your computer Think of this as a temporary shelf, that isn t as accessible as the table, but is still easy to get to

Hard Disk Here is your permanent storage. All data that you want to save needs to go here. Think of this as your pantry, where you put all your items away at the end of cooking.

Flash Drives External solid state drives Can fit into your pocket

Review Here s a video of by How Stuff Works to review and visualize this pieces inside your computer http://computer.howstuffworks.com/23-comput er-tour-video.htm

Inside your Computer

Desktop or Laptop Desktop Less Portable Less Expensive Harder to steal Easier to expand and upgrade Laptop More portable More expensive Easier to steal Harder to upgrade