Teaching Computing at KS3 Session 2 Sue Sentance and Sophie Baker

Slides:



Advertisements
Similar presentations
Computer Basics Binary Bits & Bytes
Advertisements

Base 10 Denary Decimal
Binary Representation Introduction to Computer Science and Programming I Chris Schmidt.
Processing Data.
Binary numbers. 1 Humans count using decimal numbers (base 10) We use 10 units: 0, 1, 2, 3, 4, 5, 6, 7, 8 and (5.
Binary and Decimal Numbers
 A binary number is a number that includes only ones and zeroes.  The number could be of any length  The following are all examples of binary numbers.
1 12/08/03SW Abingdon and Witney College Binary Converting to and from decimal.
Binary Aim: Explain binary and binary units Objective 1: Convert positive denary whole numbers (0-255) into 8-bit binary numbers and vice versa Objective.
Computer Systems 1 Fundamentals of Computing
Hexadecimal and ASCII Lesson Objective: Understand the purpose of ASCII and how to use it. Lesson Outcome: Convert between Hexadecimal and ASCII Convert.
Computer Systems Chapter 1 Pages Hardware-physical pieces Key hardware components in a computer system: The physical parts. – Central processing.
Binary Code.
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!
Representation of data types. Introduction We are going to look at representing cardinal numbers, integers and real numbers in decimal, binary, octal.
Math Review Do you remember, from math class, how exponentiation operations are typically represented? anan is known as the "base" a is known as the "base"
The Hexadecimal Number System and Memory Addressing ISAT 121.
Representing Information Digitally (Number systems) Nell Dale & John Lewis (adapted by Erin Chambers, Michael Goldwasser, Andrew Harrington)
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.
Data Representation Conversion 24/04/2017.
Working with 8-bit bytes and hexadecimal
How We Measure Memory. Learning Goal Today we are going to learn how the computer stores information.
Computer Programming 12 Mr. Jean February 5 th, 2014.
1 1 7-Dec-15 Binary Converting to and from decimal.
GCSE Computing: A451 Computer Systems & Programming Numbers Representation of Data in Computer Systems.
Data Representation (in computer system). Data Representation How do computers represent data? b The computers are digital Recognize.
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???
2.1.4 Data Representation Units.
Units Representation of Data in Computer Systems.
BINARY Toby Wilson. LEARNING OBJECTIVES  Be able to convert binary to denary  Be able to convert denary into binary  Be able to explain how computers.
Lesson Aim (Data representation) To be able to: Convert B/D & D/B Convert D/H & H/D Convert H/B & B/H Perform simple binary arithmetic Represent a number.
Numbering Systems and Conversion Understand How Computing Devices Work 1.
09/06/ Data Representation ASCII, Binary Denary Conversion, Integer & Boolean data types.
Understanding Computers
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.
Number systems. Binary system. Bits and bytes. Modern computers “speak” in a digital language composed of 2 digits. The machine language of modern computers.
Understanding Binary Understanding Computers. Understanding Computers L3 – Understanding Binary Learning Objectives All will Understand why all data is.
© OCR 2016 Unit 2.6 Data Representation Lesson 1 ‒ Numbers.
Math Review Do you remember, from math class, how exponentiation operations are typically represented? an a is known as the "base" n is known as the "exponent".
Unit 2.6 Data Representation Lesson 1 ‒ Numbers
Understanding binary Understanding Computers.
Computer basics.
Binary and Logic Computers use electrical signals that are on or off, so they have to see everything as a series of binary numbers. This data is represented.
Binary, Denary, Hexadecimal Conversion Binary Addition
Consider this number: , Ones (7 ones) Tens (no tens)
3.1 Denary, Binary and Hexadecimal Number Systems
Numerical Representation
COMP 1321 Digital Infrastructure
Representation of data in computer systems
Unit 2.6 Data Representation Lesson 1 ‒ Numbers
…to GCSE Level with Python Sue Sentance
Number Systems.
Data Representation Numbers
Representation of Data in Computer Systems
Teaching KS3 Computing Session 2 Introduction Theory: Binary numbers
Everything that goes on under the hood of a computer is done in binary -- the language of 0s and 1s. If we have only two numbers, it's very easy to represent.
(return of the…) Data blast
Data Binary Conversion.
Numerical Representation
Bits and Bytes Key Revision Points.
Why computers use binary
Chapter Four Data Representation in Computers By Bezawit E.
The basics of any electronic device means either electricity is flowing or it is not i.e. a switch is either on or off Computers are electronic devices.
Binary System.
Information Technology Department
Technology 3 Bits & Bytes.
Binary.
Presentation transcript:

Teaching Computing at KS3 Session 2 Sue Sentance and Sophie Baker

From the CAS curriculum  KEY STAGE 2 Introduction to binary representation [representing names, objects or ideas as sequences of 0s and 1s].  KEY STAGE 3 Introduction to binary manipulation. Representations of unsigned integers

Today’s session 5:00 – 6:00 Binary numbers – converting between denary and binary 6.00 – 7.00 Programming in Scratch

Storing Binary Numbers Inside the computer each binary digit is stored in a unit called a bit. A series of 8 bits is called a byte. A bit can take the values 0 and 1

What is meant by? 1 byte ? 1 nibble ? 1 kilobyte ? 1 megabyte ? 1 gigabyte ? 1 terabyte ?

Storing data 1 byte = 8 bits 1 nibble = 4 bits 1 kilobyte = 1024 bytes = 2 10 bytes 1 megabyte = 2 20 bytes = 2 10 kilobytes 1 gigabyte = 2 30 bytes = 2 10 megabytes 1 terabyte = 2 40 bytes = 2 10 gigabytes 1 byte 1 nibble 1 kilobyte 1 megabyte 1 gigabyte 1 terabyte

Learning binary numbers  Converting binary to denary  Converting denary to binary

Number Bases  Base 10 (Denary)  10 different symbols to represent values:  Values greater than 9 are represented using the place value convention: 100s 10s 1s = 3x x10 + 7x1 ie. Three hundred and fifty seven  Base 2 (Binary)  2 different symbols to represent values: 0 1  Values greater than 1 are represented using the place value convention: 8s 4s 2s 1s = 1x8 + 1x4 + 0x2 + 1x1 =Thirteen

Binary numbers 0

1

Activity Binary counting exercise

How to convert Binary Numbers to denary = 10 in Denary Place values

How to convert Binary Numbers to denary = 155 in Denary Place values

Converting binary to denary Convert the binary number into denary: Answer = = 183

Conversion Exercise Convert the following binary numbers into denary:

Conversion Exercise Convert the following binary numbers into denary: Answers in red:

Teaching binary  Holding cards up activity  Finger binary  Cisco binary game Cisco binary game  CS Unplugged actitivies CS Unplugged actitivies

Converting Denary to Binary  Write down the column headings for the binary number:  Process each column from left to right.  If the denary number to be translated is greater than or equal to the column heading, place a 1 in the column and subtract the value of the column from the denary value.  If the denary value is smaller than the column heading, place a 0 in the column.

Example Convert 27: 27 < 64, so 0 into 64-column < 32, so 0 into 32-column 0 27 > 16, so 1 into 16-column, new value = 27 – 16 = > 8, so 1 into 8-column, new value = 11 – 8 = < 4, so 0 into 4-column 0 3 > 2, so 1 into 2-column, new value = 3 – 2 = = 1, so 1 into 1-column 1

Storing Numbers - Binary EXAMPLE Convert the denary number 227 into binary:

Convert to Binary

Convert to Binary

Summary – why teach binary? Binary is a set of instructions used to control the computer, and works with 1s and 0s The computer understands them as on or off signals. If the decimal system were used, there would need to be 10 different voltages, in which case there'd be more room for error with resistors etc., and therefore more room for corruption of data. Today, the elementary building block for all modern computer systems is the transistor. A transistor is simply a switch, much like the light switch mentioned earlier. A transistor can be in an off state, which does not allow electricity to flow, or in an on state, in which electricity can pass unimpeded. A transistor is a solid-state device that has no mechanical or moving parts. The switching of a transistor from the off state to the on state, or vice versa, is done electronically rather than mechanically. This allows it to be fast as well as extremely small. So learning binary helps students to understand how a computer works