More Binary How does a computer represent everything using just zeros and ones?

Slides:



Advertisements
Similar presentations
A-Level Computing#BristolMet Session Objectives#8 express numbers in binary, octal and hexadecimal explain the use of code to represent a character set.
Advertisements

Processing Data.
Binary and Hexadecimal Numbers
Binary Expression Numbers & Text CS 105 Binary Representation At the fundamental hardware level, a modern computer can only distinguish between two values,
Data Representation (in computer system) Computer Fundamental CIM2460 Bavy LI.
Binary and Decimal Numbers
Bits and Bytes.
Computer Systems Nat 4/5 Computing Science Data Representation Lesson 3: Storing Text.
Decisions in Python Comparing Strings – ASCII History.
CHARACTERS Data Representation. Using binary to represent characters Computers can only process binary numbers (1’s and 0’s) so a system was developed.
Bits, Bytes, KiloBytes, MegaBytes, GigaBytes & TeraBytes.
Bits and Bytes.
Bits & Bytes: How Computers Represent Data
Aloha Aloha What you see: What the computer sees: binary number columns binary number columns
Data Representation S2. This unit covers how the computer represents- Numbers Text Graphics Control.
Computer Some basic concepts. Binary number Why binary? Look at a decimal number: 3511 Look at a binary number: 1011 counting decimal binary
Data Representation CS280 – 09/13/05. Binary (from a Hacker’s dictionary) A base-2 numbering system with only two digits, 0 and 1, which is perfectly.
Data Representation A series of eight bits is called a byte. A byte can be used to represent a number or a character. As you’ll see in the following table,
Binary Code.
Hardware Data Storage.
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.
Fill in the blanks: (1) _________ has only two possible values 0 and 1. (2) There are __________bits in a byte. (3) 1 kilobyte of memory space can store.
Binary Code A Base 2 Number System. Who created binary? George Boole An English mathematician.
Text and Graphics September 26, Unit 3.
What is a computer? A computer is a device that:
Color on Computers. Bits and Bytes Bit: a single piece of yes/no or 0/1 data Two bits can code 4 items (00, 01, 10, 11) Three bits = 8 (000, 001, 010,
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.
GCSE ICT Storing data - Internal memory, backing storage, and measuring memory.
OFF = 0 ON = 1 = 63 BINARY system
Binary 101 Gads Hill School. Aim To strengthen understanding of how computers use the binary number system to store information.
HNC COMPUTING - COMPUTER PLATFORMS 1 Micro Teach Binary.
09/06/ Data Representation ASCII, Binary Denary Conversion, Integer & Boolean data types.
 Computers are 2-state devices › Pulse – No pulse › On – Off  Represented by › 1 – 0  BINARY.
Lesson 6 Binary Understand what Binary Code means and apply this knowledge Understand how data is represented using bit systems and be able to change decimal.
Millions of electronic pulses move through your computer every second. Computers are capable of processing thousands of functions in the time it takes.
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;
CC111 Lec#2 The System Unit The System Unit: Processing and Memory Lecture 2 Binary System.
Data Representation. In our everyday lives, we communicate with each other using analogue data. This data takes the form of: Sound Images Letters Numbers.
1.4 Representation of data in computer systems Character.
Lecture Coding Schemes. Representing Data English language uses 26 symbols to represent an idea Different sets of bit patterns have been designed to represent.
Binary and Hard Disk PEOPLE Program
Storing Graphics Nat 5 Data Representation Lesson 4a: Storing Graphics
Understanding binary Understanding Computers.
Unit 2.6 Data Representation Lesson 2 ‒ Characters
Lesson Objectives Aims You should be able to:
Computer Systems Nat 4/5 Data Representation Lesson 4:
Storage Hardware This icon indicates the slide contains activities created in Flash. These activities are not editable. For more detailed instructions,
Data Transfer ASCII FILES.
How does a computer represent everything using just zeros and ones?
Information Support and Services
BITS & BYTES.
Data Encoding Characters.
Data Representation Question: Characters
How does a computer represent everything using just zeros and ones?
How do computers work? Storage.
Bits, Bytes, and Storage.
BITS & BYTES.
Binary Data representation
Presenting information as bit patterns
Encoding and Sending Formatted Text
Learning Intention I will learn how computers store text.
Computer Systems Nat 4/5 Data Representation Lesson 4:
Electronic Memory.
WJEC GCSE Computer Science
Chapter 3 - Binary Numbering System
Lecture 36 – Unit 6 – Under the Hood Binary Encoding – Part 2
ASCII and Unicode.
Presentation transcript:

More Binary How does a computer represent everything using just zeros and ones?

Once you know binary…

Play great games (and practice for quiz) ary_game_page.htmhttp://forums.cisco.com/CertCom/game/bin ary_game_page.htm

You can write great jokes There are __ kinds of people in the world, those who know binary and those who do not!

Use cool clocks s/59e0/ s/59e0/

More importantly you can start to figure out how a computer remembers all the things it need’s remember using only zeros and ones.

Computer must reduce everything to 0’s and 1’s A zero or a one by itself is called a bit. Any combination of zeros and ones can be expressed as a number of bits. For example… 0 = 1 bit 0011 = 4 bits 1010 = 4 bits = 12 bits = 6 bits

How many bits a computer is allowed to use determines how many unique things it can remember. –1 bit = Computer can remember 2 unique things 0 or 1 –2 bits = Computer can remember 4 unique things 00, 01, 10, 11 –3 bits= Computer can remember 8 unique things 000, 001, 010, 011, 100, 101, 110, 111 –Etc.

Two Shortcuts The unique amount of numbers you can make given a number of columns is the same as the next column to the left. Largest number you can make using a given number of columns is one less than the next column to the left.

8 bits = 1 byte Computers love to do things in byte size chunks

Memorize This –8 bits = 1 byte = 2 to the 8th Computer can create 256 unique binary numbers Computer can remember 256 unique things –The 9 th column of base two is 256 –16 bits = 2 bytes = 2 to the 16th Computer can create 65,536 unique binary numbers Computer can remember 65,536 unique things –The 17 th column of base two is 65,536 –24 bits = 3 bytes = 2 to the 24th Computer can create 16,777,216 unique binary numbers Computer can remember 16,777,216 unique things –The 25 th column of base two is 16,777,216 –32 bits = 4 bytes = 2 to the 32th Computer can create 4,294,967,296 unique binary numbers Computer can remember 4,294,967,296 unique things –The 33 th column of base two is 4,294,967,296

iClicker How many unique base two numbers can be made using the first 8 columns of base two? –A) 9 –B) 8 –C) 32 –D) 128 –E) 256

iClicker Of the base 2 values below which one represents the largest value you can make using the first 3 base two columns? –A) 3 –B) 4 –C) 5 –D) 6 –E) 7

So the computer can remember a bunch of zeros and ones… …but how does it remember text, sounds, and colors? It must remember everything as only zeros and ones. For instance for text early computers used…

ASCII American Standard Code Information Interchange Allowed computer makers to represent the characters on a keyboard as the same zeros and ones

ASCII Chart

Now that you know ASCII

Modern computers use Unicode for text Unicode is short for Universal Code Unicode is a 16 bit (or two byte) code If you let the computer use 16 bits to remember information it can remember 65,536 different things instead of just 256. With 65,536 items I can represent most of the worlds common languages. –

So why didn’t they use a 16 bit code from the beginning? 16 bit code requires twice the storage space as 8 bit code. –First hard drive in 1956 Held 5 Megabytes = Two MP3 Songs Rent for one year for $50,000