Why computers use binary

Slides:



Advertisements
Similar presentations
Computer Basics Binary Bits & Bytes
Advertisements

Chapter 4: Representation of data in computer systems
Base 10 Denary Decimal
Micro optics: Fibers and Butterflies. Total internal reflection.
Processing Data.
1 Introduction to computers Overview l ·  rading Policy »Cheating Rules (serious concern) »Examinations and Fixation of Timings Major EXAM 1 (6:00 PM,
Teaching Computing at KS3 Session 2 Sue Sentance and Sophie Baker
Bits and Data Storage. Basic Hardware Units of a Computer.
Communications Technology 2104 Mercedes Lahey. Bit 1. bit=From a shortening of the words “binary digit” 2. the basic unit of information for computers.
Computer Logic Distinction between analogue and discrete processes and quantities. Conversion of analogue quantities to digital form. Using sampling techniques.
/4 Binary Code & CPUs Digital Signals
Computer Systems Chapter 1 Pages Hardware-physical pieces Key hardware components in a computer system: The physical parts. – Central processing.
Computer Terms. Computer A machine designed to run programs and store information that you create.
Analog to Digital Data Conversion
Hardware Data Storage.
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!
Representing Information Digitally (Number systems) Nell Dale & John Lewis (adapted by Erin Chambers, Michael Goldwasser, Andrew Harrington)
Computer Systems Nat 4/5 Computing Science Data Representation Lesson 2: Floating Point Representation.
1 3 Computing System Fundamentals 3.2 Computer Architecture.
How We Measure Memory. Learning Goal Today we are going to learn how the computer stores information.
General Computer Stuff Hardware: physical parts of a computer: CPU, drives, etc. Software: Programs and Data A computer needs both to be useful.
Networking for Home and Small Businesses –.  Explain the binary representation of data.
Thursday 8 th October, 2015 Information Technology Fundamentals of Hardware & Software.
How We Measure Memory. At the Bottom of things A piece of digital information is always stored as a sequence of binary states. What’s that mean you ask???
Computer Math CPS120: Binary Representations. Binary computers have storage units called binary digits or bits: Low Voltage = 0 High Voltage = 1 all bits.
/17 Binary Code & CPUs Digital Signals
2.1.4 Data Representation Units.
Journal Entry: Unit #5 Entry #3 Define the following words from ch2 in your journals: Binary, bit, discrete, unambiguous signals, digital, analog signal,
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.
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.
© OCR 2016 Unit 2.6 Data Representation Lesson 1 ‒ Numbers.
Unit 2.6 Data Representation Lesson 1 ‒ Numbers
Digital Storage Digital Storage Ann Ware ~
Understanding binary Understanding Computers.
Computer basics.
Lesson Objectives Aims You should be able to:
An Overview of the Computer System
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
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.
Representation of data in computer systems
Unit 2.6 Data Representation Lesson 1 ‒ Numbers
PRIMARY STORAGE.
PRIMARY STORAGE.
Data Representation Numbers
Representation of Data in Computer Systems
How do computers work? Storage.
Numerical Representation
Analog to Digital Data Conversion
Bits, Bytes, and Storage.
Digital Storage Digital Storage
Digital Storage Digital Storage Ann Ware ~
Data Representation – Numbers
(return of the…) Data blast
Numerical Representation
Bits and Bytes Key Revision Points.
Storage.
Binary System.
Information Technology Department
AS Level ICT Selection and use of storage requirements, media, and devices: storage and storage capacity Unit 1 Topic a - Selection and use of storage.
Technology 3 Bits & Bytes.
Computer Systems Nat 4/5 Computing Science Data Representation
Numerical Representation
Presentation transcript:

Why computers use binary Bits & Bytes Why computers use binary

Analog Signals Analog signals : constantly changing values Difficult to make precise

Digital Digital signals : only allowed to have specific values

Binary Computers are digital systems with 2 possible states: on or off Called a binary system

Analog Signals Analog values converted to binary with a threshold value

Analog Implementation of Binary Even if actual values are somewhat noisy Correct binary value is preserved

Why Binary Unambiguous signals (easy to tell 1 from 0) Storing, copying data can be done without errors Simple, easy to build 1/0 easier to build than 1/2/3/4/5/6/7/8/9/0 Anything that can be represented with some sort of pattern can be represented with patterns of bits

Bits Bit : single on/off value Represented as: A mechanical electrical switch. Voltage on a wire. Magnetic field of a small slice of metal. A hole punched in a card. A tiny part of the light-reflecting surface of a CD. …

Bit Patterns One bit : 2 possible values: 0 1

Bit Patterns One bit : 2 possible values: 0 1 Two bits : 4 possible values 00 01 10 11

Bit Patterns Two bits : 4 possible values 00 01 10 11 Three bits : 8 possible values 000 100 001 101 010 110 011 111

Bit Patterns Four bits: 16 values Five bits: 32 values … n bits: 2n values

Bytes 1 bit (1/0) usually not useful on its own Usually work in larger chunks Byte : 8 bits Special names for large collections of bytes: Name Number of Bytes power of 2 byte 1 20 kilobyte (KB) 1024 210 megabyte (MB) 1,048,576 220 gigabyte (GB) 1,073,741,824 230 terabyte (TB) 1,099,511,627,776 240

Bytes How many bits is 6GB? Name Number of Bytes power of 2 byte 1 20 kilobyte (KB) 1024 210 megabyte (MB) 1,048,576 220 gigabyte (GB) 1,073,741,824 230 terabyte (TB) 1,099,511,627,776 240

Bytes How many bits is 6GB? = 6 x 230 bytes = 6 x 1,073,741,824 bytes = 6,442,450,944 bytes x 8 bits per byte = 51,539,607,552 bits Name Number of Bytes power of 2 byte 1 20 kilobyte (KB) 1024 210 megabyte (MB) 1,048,576 220 gigabyte (GB) 1,073,741,824 230 terabyte (TB) 1,099,511,627,776 240