/4 Binary Code & CPUs Digital Signals

Slides:



Advertisements
Similar presentations
Computer Basics Binary Bits & Bytes
Advertisements

Vocabulary Electronic pulses Transistors Decimal numbers
1 Chapter 2 The Digital World. 2 Digital Data Representation.
 2002 Prentice Hall Hardware Basics: Inside The Box Chapter 2.
Digital Data Representation
Computer Hardware Introduction. Computer System Components Input Keyboard, Mouse, Camera, Touch Pad Processing CPU Output Monitor, Printer Storage Floppy,
©1999 Addison Wesley Longman2.1 A Bit About Bits A bit (binary digit) –is the smallest unit of information –can have two values - 1 and 0. Binary digits,
Representing Data, Pictures, Time, and Size in Computer
Processing Data.
Chapter 2 Processing Data Peter Norton’s Introduction to Computers
1 Chapter Overview Computer Communication The Computer Bus Objectives  Understand how a computer transmits and receives information.  Explain the principles.
Data Representation (in computer system) Computer Fundamental CIM2460 Bavy LI.
Number Systems & Logic Gates Day 1
Bits and Bytes.
Bits, Bytes, KiloBytes, MegaBytes, GigaBytes & TeraBytes.
Bits and Bytes.
Communications Technology 2104 Mercedes Lahey. Bit 1. bit=From a shortening of the words “binary digit” 2. the basic unit of information for computers.
Bits & Bytes: How Computers Represent Data
Data and Program Representation
Chapter Two Hardware Basics: Inside the Box. ©1999 Addison Wesley Longman2.2 Chapter Outline What Computers Do A Bit About Bits The Computer’s Core: CPU.
Data Representation Int 2 Computing Unit 1 – Computer Systems St Kentigern’s Academy.
Chapter 2 Computer Hardware
Copyright © 2003 by Prentice Hall Module 5 Central Processing Unit 1. Binary representation of data 2. The components of the CPU 3. CPU and Instruction.
Binary Code.
Hardware Data Storage.
Data Representation and Storage Lecture 5. Representations A number value can be represented in many ways: 5 Five V IIIII Cinq Hold up my hand.
Advanced Diploma 1 Backing Storage. Advanced Diploma 2 Aims Understand how data is stored Be able to use the binary system to represent ASCII characters.
What do computers know?  All they really know is on or off.  Kind of like a light switch  Computers aren’t nearly as smart as you are!
COMPUTER MAINTENANCE REPAIR & TROUBLESHOOTING Powered by DeSiaMore1.
1 3 Computing System Fundamentals 3.2 Computer Architecture.
Computer Science Binary. Binary Code Remember the power supply that is inside your computer and how it sends electricity to all of the components? That.
Do it now activity Can you work out what the missing symbols are and work out the order they should be in if the table shows smallest to largest KB kilobyte.
Networking for Home and Small Businesses –.  Explain the binary representation of data.
Data Representation (in computer system). Data Representation How do computers represent data? b The computers are digital Recognize.
Technology in Action Chapter 6 Behind the Scenes: A Closer Look at System Hardware.
Business Programming I Fall – 2000 By Jim Payne Lecture 05Jim Payne - University of Tulsa2 Alphanumeric Storage Numbers that are not numbers? Alphabetic.
/17 Binary Code & CPUs Digital Signals
Know what a computer is used for Understand the difference between hardware and software Be able to describe the way that data is stored in a computer.
ASCII AND EBCDIC CODES By : madam aisha.
COMPUTER SYSTEM A computer system is define as combination of components designed to process data and store files. A computer system consists of four.
HNC COMPUTING - COMPUTER PLATFORMS 1 Computer Platforms Week 2 Backing Storage.
Understanding Computers
Binary a. express numbers in binary, binary-coded decimal (BCD), octal and hexadecimal;
Binary Numbers. Base 10 and Base 2  We normally work with numbers in base 10.  In base 10 we use the digits 0, 1, 2, 3, 4, 5, 6, 7, 8 and 9.  Everything.
Bits & Bytes Why computers use binary. Analog Signals Analog signals : constantly changing values – Difficult to make precise.
Computer Hardware. 7/23/2016M. Eyadat2 Objectives –Explain why most computers are digital –Describe the role of the ALU –List factors that affect performance.
Understanding Binary Understanding Computers. Understanding Computers L3 – Understanding Binary Learning Objectives All will Understand why all data is.
Numerical Representation Intro to Computer Science CS1510 Dr. Sarah Diesburg 1.
Understanding binary Understanding Computers.
Computer basics.
INFS 211: Introduction to Information Technology
Storage Hardware This icon indicates the slide contains activities created in Flash. These activities are not editable. For more detailed instructions,
Numerical Representation
Memory Parts of a computer
Bits & Bytes How Computers Represent Data
Information Support and Services
What is Binary? Binary is a two-digit (Base-2) numerical system, which computers use to process and store data. The reason computers use the binary system.
Unit 2.6 Data Representation Lesson 1 ‒ Numbers
Lecture 3 ISE101: Computing Fundamentals
Computer Hardware Introduction.
How do computers work? Storage.
Numerical Representation
Computers & Programming Languages
Numerical Representation
Why computers use binary
Binary System.
Information Technology Department
Technology 3 Bits & Bytes.
Numerical Representation
Presentation transcript:

0110101001101101 10010110 2/4 Binary Code & CPUs Digital Signals digital versus analog, examples Binary Numbers Transistors: introduction Binary Code bits & bytes types: ASCII, UNICODE, EBCDIC 0110101001101101 10010110

Digital Signals: why they are discussed. Virtually everything in a computer runs in a digital system: data storage, communication, output on the screen, … Everything is in its lowest form either ON or OFF, UP or DOWN, YES or NO. Bits & bytes are combinations of digital signals and codes.

Digital Signals: what are they? Digital signals have two settings: ON or OFF. Examples: smoke signals, Morse code, fluorescent lights, pass or fail Anything that can be compared to ON or OFF can be a digital signal: Magnets: north or south Voltage: high or low Light: light or dark Gates: open or shut

Digital Signals versus Analog Signals Digital signals have two settings: ON or OFF. Analog signals have ranges of settings: dimmer switches, human voices, ocean waves Sound: Digital versus analog. Analog is a wave: continuous, gradual Digital is a step: non-continuous, ON/OFF Analog signal Digital signal

Binary Numbers A digital system Can represent any decimal number with only two characters: 0 & 1 Why not use decimal numbers? Computers use digital systems (on or off) Decimal Binary 0 0 1 1 2 10 3 11 4 100 5 101 6 110 7 111 8 1000 9 1001 10 1010 11 1011 12 1100

Transistors: tiny ON/OFF switches Tiny electrical gates with two paths: 1. Control path (gatekeeper) 2. Signal path (goes through gate) Only two possible states: gate is OPEN or gate is CLOSED. Transistors are what make up computer chips. AMD Athlon chip has 22 million transistors. Image courtesy of AMD

Binary Code: Bits & Bytes Bit: a single element of code. 0 or 1. Contraction of “Binary digit” Byte: a collection of 8 bits. 00000000. Possible number of different bytes: 256 00000000 00000001 00000010 00000011 00000100 00000101 00000110 00000111 00001000 00001001 00001010 00001011 00001100 00001101 00001110 00001111 00010000 00010001 00010010 00010011 00010100 00010101 00010110 00010111 00011000 00011001 00011010 00011011 00011100 00011101 00011110 00011111 etc.

Binary Code: Bits & Bytes Each byte represents 1 character or command. A simple text file ( log.txt ) can be only a few hundred bytes. A spreadsheet ( book1.xls ) can be millions. kilobyte: KB 2 to the 10th (1,024) bytes. megabyte: MB 2 to the 20th (1,048,576) gigabyte: GB 2 to the 30th (1,073,741,824) terabyte: TB 2 to the 40th (1,099,511,627,766)

When is a kilobyte NOT a kilobyte? Common usage (not exactly correct, but close) kilobyte: KB 1,000 bytes megabyte: MB 1,000,000 bytes gigabyte: GB 1,000,000,000 bytes terabyte: TB 1,000,000,000,000 bytes

Why we don’t type in binary digits. Codes (lookup tables) in the computer. Each character corresponds to a byte. As we type, the keystrokes are translated into bytes by the computer. The computer reverse-translates to show the characters on the monitor. Common code sets: ASCII, UNICODE, EBCDIC

Code Types. ASCII “As-key” American Standard Code for Information Interchange. 1st half of the slots in the table are for “standard” ASCII characters. The second half contains the “extended” ASCII character set. UNICODE uses 2 bytes/char rather than 1. Supports many more characters (34,168). Esp. used for non-English languages EBCDIC “eb-see-dik” Extended Binary Coded Decimal Interchange Code. Mainly used on mainframe computers