Understanding Binary Understanding Computers. Understanding Computers L3 – Understanding Binary Learning Objectives All will Understand why all data is.

Slides:



Advertisements
Similar presentations
Vocabulary Electronic pulses Transistors Decimal numbers
Advertisements

Base 10 Denary Decimal
How Computers Represent Numbers Friday, Week 5. Binary Code A series of 1’s and 0’s Place value is in powers of 2.
Processing Data.
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.
Number Systems & Logic Gates Day 1
Data Storage. SIGN AND MAGNITUDE Storing and representing numbers.
Representing Information in Binary (Continued)
Hexadecimal and ASCII Lesson Objective: Understand the purpose of ASCII and how to use it. Lesson Outcome: Convert between Hexadecimal and ASCII Convert.
Bits, Bytes, KiloBytes, MegaBytes, GigaBytes & TeraBytes.
Communications Technology 2104 Mercedes Lahey. Bit 1. bit=From a shortening of the words “binary digit” 2. the basic unit of information for computers.
Memory Terminology & Data Representation CSCI 1060 Fall 2006.
Data Representation S2. This unit covers how the computer represents- Numbers Text Graphics Control.
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.
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.
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.
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.
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!
Numerical Representation Intro to Computer Science CS1510, Section 2 Dr. Sarah Diesburg 1.
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.
GCSE ICT Storing data - Internal memory, backing storage, and measuring memory.
Data Representation (in computer system). Data Representation How do computers represent data? b The computers are digital Recognize.
2.1.4 Data Representation Units.
Binary 101 Gads Hill School. Aim To strengthen understanding of how computers use the binary number system to store information.
ASCII AND EBCDIC CODES By : madam aisha.
Binary Decimal Hexadecimal
A+ Computer Repair Lesson 3: Number System. Objectives Define binary, decimal, octal, and hexadecimal numbering systems. Define binary, decimal, octal,
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.
Numerical Representation Intro to Computer Science CS1510 Dr. Sarah Diesburg 1.
Lecture Coding Schemes. Representing Data English language uses 26 symbols to represent an idea Different sets of bit patterns have been designed to represent.
© OCR 2016 Unit 2.6 Data Representation Lesson 1 ‒ Numbers.
Understanding binary Understanding Computers.
3 – Boolean Logic and Logic Gates 4 – Binary Numbers
Binary 1 Basic conversions.
INFS 211: Introduction to Information Technology
3.1 Denary, Binary and Hexadecimal Number Systems
Storage Hardware This icon indicates the slide contains activities created in Flash. These activities are not editable. For more detailed instructions,
Numerical Representation
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
Denary to Binary Numbers & Binary to Denary
Data Encoding Characters.
Lecture 3 ISE101: Computing Fundamentals
Numerical Representation
Computers & Programming Languages
Bits, Bytes, and Storage.
Information Representation
Binary Data representation
Presenting information as bit patterns
COMS 161 Introduction to Computing
Numerical Representation
Chapter Four Data Representation in Computers By Bezawit E.
Information Technology Department
Electronic Memory.
Technology 3 Bits & Bytes.
WJEC GCSE Computer Science
Chapter 3 - Binary Numbering System
ASCII and Unicode.
Numerical Representation
Presentation transcript:

Understanding Binary Understanding Computers

Understanding Computers L3 – Understanding Binary Learning Objectives All will Understand why all data is represented in binary in a computer and convert binary to integers numbers Most will be able to convert integer numbers to binary Some will show and understand how characters can be represented using ASCII

Understanding Computers L3 – Understanding Binary Why 10 digits? Decimal Number System (Sometimes called the Denary system)

Understanding Computers L3 – Understanding Binary Computer use millions of electronic circuits and switches which can either be On or Off On is represented by 1 and Off is represented by 0 What about Computers?

Understanding Computers L3 – Understanding Binary Binary – On & Off The standard On / Off symbol on a switch is a 1 and a 0:

Understanding Computers L3 – Understanding Binary Bits and Bytes 0 or a 1=1 Bit (Binary Digit) 8 Bits=1 Byte 1024 Bytes=1 Kilobyte (Kb) 1024 Kb=1 Megabyte (Mb) 1024 Mb =1 Gigabyte (Gb) 1 Byte=1 Character of text How many Gb in a Terabyte? How many bytes in a Megabyte?

Understanding Computers L3 – Understanding Binary Binary representation One switch can only represent 2 possible states – On or Off. Two switches can represent 4 states – On & On – On & Off – Off & On – Off & Off

Understanding Computers L3 – Understanding Binary Binary representation Number of SwitchesPossible combinations or states

Understanding Computers L3 – Understanding Binary Binary to Denary Conversion = 81=

Understanding Computers L3 – Understanding Binary How our Decimal Number System Works The number 583 represents five 100s + eight 10s + three 1s As we move from right to left, each digit is worth ten times the previous one

Understanding Computers L3 – Understanding Binary The Binary System In Binary, there are only two digits, 0 and 1. As we move from right to left, each digit is worth twice as much as the previous one. Now try challenge 1 on the worksheet ‘BinaryToDecimalConversion’. Put the binary numbers into the table first (first 3 done for you)

Understanding Computers L3 – Understanding Binary Decimal to Binary Convert 28 to Binary Method – Working right to left write out the numbers 1, 2, 4, 8 and so on doubling each time to 128. – 28 has a 16 in it, leaving is

Understanding Computers L3 – Understanding Binary Activity Use the worksheet ‘BinaryToDecimalConversion’ to convert decimal numbers to binary numbers. Challenge 2. The table is there for you to use again. Use scrap paper to help work out the maths if you need.

Understanding Computers L3 – Understanding Binary Representing Characters How are characters represented in Binary? How many characters are there on your keyboard? How many bits would be needed to represent up to 128 characters?

Understanding Computers L3 – Understanding Binary Numerous different codes for representing data have been invented, but ASCII is used nowadays on nearly all computers. Originally only 7 bits were used but now the eighth bit is used to give extra characters such as ©, ® etc How many different characters can be encoded using seven bits? Eight bits? ASCII American Standard Code for Information Interchange

Understanding Computers L3 – Understanding Binary ASCII Table

Understanding Computers L3 – Understanding Binary ASCII It is a character-encoding scheme originally based on the English alphabet. ASCII codes represent text in computers, communications equipment, and other devices that use text. For example: small letter ‘f’ is represented by the following combination of bits in the ASCII table. f = or in 8 Bits, bits is called a Byte.

Understanding Computers L3 – Understanding Binary Numbers in ASCII Numbers as well as letters and other symbols are represented in ASCII What is the bit pattern for the character 5 in ASCII? What is the bit pattern in binary for the number 5? When 5 is pressed on the keyboard, the ASCII bit pattern is sent to the computer. It can’t be used for arithmetic!

Understanding Computers L3 – Understanding Binary Challenges Challenge 1: Use the ASCII table on the ASCIICodes Worksheet to write down the binary equivalent of your first name. Challenge 2: Write a brief coded message for someone in binary using the ASCII Code sheet.