BINARY FOR THE YOUNGER SET

Similar documents
(Refer Slide Time: 00:01:30)

Memory Addressing, Binary, and Hexadecimal Review

Mastering Truspace 7

(Refer Slide Time: 1:43)

Bits and Bytes. Here is a sort of glossary of computer buzzwords you will encounter in computer use:

Slide Set 2. for ENCM 335 in Fall Steve Norman, PhD, PEng

Chapter 1.5 Data Transmission and Networking.

CodeHS Hour of Code: Teacher Guide

Telling a Story Visually. Copyright 2012, Oracle. All rights reserved.

Lesson 4. Objective: Compare and classify quadrilaterals. Lesson Suggested Lesson Structure. Multiply by 4 (8 minutes)

Information and Creative Technology

Earthwork 3D for Dummies Doing a digitized dirt takeoff calculation the swift and easy way

Technical concepts. Some basics of computers today. Comp 399

Search Lesson Outline

Synthesis Paper CEP 416 Erica Lewis. variations of innovations within technology. Each technology has both strengths and

Shadows in the graphics pipeline

An introduction to the VDI landscape

Error Detection and Parity Lesson Plan

learning outcomes 10 min.

CSC 258 lab notes, Fall 2003

Section 1. System Technologies and Implications. Modules. Introduction to computers. File management. ICT in perspective. Extended software concepts

Discussion. Why do we use Base 10?

Lesson 4B Conditionals switch case. By John B. Owen All rights reserved 2011, revised 2014

Parts are adapted from Windows 98 by Mark Twain Media, Inc. A Computer System has Hardware and Software

VLOOKUP() takes three mandatory parameters and one default/optional parameter:

Using sticks to count was a great idea for its time. And using symbols instead of real sticks was much better.

FIBONACCI CODING AND A CARD TRICK

Physical Geography Lab Activity #08

: Intro Programming for Scientists and Engineers Assignment 1: Turtle Graphics

Authority SEO Traffic

Data Structures and Algorithms Dr. Naveen Garg Department of Computer Science and Engineering Indian Institute of Technology, Delhi.

BBC Learning English Face up to Phrasals Bob & Jackie's Chemistry Project

Out for Shopping-Understanding Linear Data Structures English

Database Design. 6-2 Normalization and First Normal Form. Copyright 2015, Oracle and/or its affiliates. All rights reserved.

Shaun the Sheep The Movie

[301] Bits and Memory. Tyler Caraza-Harter

Contents. Introduction Page 2 Pre-Production Page 3 Production Page 5 Conclusion Page 7

Click on the blue links to navigate through the study guide. You can also view videos at Khan Academy and Virtual Nerd. Common errors to avoid:

London VFX & Animation Studio Visit Report. 17 th May 2013

Department of Electrical and Computer Engineering The University of Texas at Austin

University of Hull Department of Computer Science C4DI Interfacing with Arduinos

OrbBasic Lesson 1 Goto and Variables: Student Guide

Colliery Task (Word 2007) Module 3 Word Processing (Word 2007)

Department of Electrical Engineering and Computer Sciences Spring 2001 Instructor: Dan Garcia CS 3 Midterm #2. Personal Information

How Computers Work. Processor and Main Memory. Roger Young

OrbBasic 1: Student Guide

Definition: A data structure is a way of organizing data in a computer so that it can be used efficiently.

Student Outcomes. Lesson Notes. Classwork. Discussion (4 minutes)

(Refer Slide Time: 00:23)

Objective: Combine shapes to create a composite shape; create a new shape from composite shapes.

Chapter 1. Unit 1: Transformations, Congruence and Similarity

Making a maze with Scratch

Foundations, Reasoning About Algorithms, and Design By Contract CMPSC 122

CPSC 121: Models of Computation

So computers can't think in the same way that people do. But what they do, they do excellently well and very, very fast.

Establishing Trust in Disconnected Environments, page 1

Making ecards Can Be Fun!

SUNY - BUFFALO. 10 Years Going and SUNYBuffalo Still Expanding. Campus-wide Security with Milestone Software. The Challenge.

Intermediate Excel 2013

Overview: Students explore how they can use to communicate with real people within their schools, families, and communities.

EFG HideTech & EFG HideTech AVM. Furniture for meetings

Sketching Data

Lecture 1: What is a computer?

So the UI needs to change when the button changes. When the button becomes submit it needs to change color and get bigger.

What is an Operating System?

2D Shapes, Scaling, and Tessellations

Chapter 4: Data Representations

3. Confirm Does the law of reflection apply to rough surfaces? Explain. Diffuse Reflection

McGill University Department of Electrical and Computer Engineering. Course ECSE-322A -- Computer Engineering. MidTerm Test Version 1 Solutions

Hash Tables (Cont'd) Carlos Moreno uwaterloo.ca EIT

Binary Representation. Jerry Cain CS 106AJ October 29, 2018 slides courtesy of Eric Roberts

Representing text on the computer: ASCII, Unicode, and UTF 8

Cryptography Worksheet

Analogue vs. Discrete data

ESCAPE. A MINWOO PARK FILM Press Kit

Writing for Use: Intersections Between Genre and Usability

(Refer Slide Time: 1:40)

How can you simplify? How can you get x alone? Is there more than one way to simplify? Is there always a solution? CPM Materials modified by Mr.

What Is a Program? Pre-Quiz

Integrated Math, Part C Chapter 1 SUPPLEMENTARY AND COMPLIMENTARY ANGLES

CSE143 Notes for Monday, 4/25/11

Computing and Programming

Chapter 1. Getting Started

1. The first step that programmers follow when they solve problems is to plan the algorithm.

Read & Download (PDF Kindle) Data Structures And Other Objects Using C++ (4th Edition)

Transcription of The Magic Picture" Lesson

The art of using fonts, colours in text

such a manner that we are able to understand, grasp and grapple with the problem at hand in a more organized fashion.

Teaching Math thru Big Ideas Focusing on Differentiation. Marian Small April 2017 San Diego, CA

BBC Learning English Face up to Phrasals Mark's Mistake

Creating a Brochure in Publisher

PARTS OF A COMPUTER. (Class III, IV and V)

Computing and Programming

10/24/2016. Let s Name Some Groups of Bits. ECE 120: Introduction to Computing. We Just Need a Few More. You Want to Use What as Names?!

Unit: Rational Number Lesson 3.1: What is a Rational Number? Objectives: Students will compare and order rational numbers.

Learning from Math Library Testng for C Marcel Beemster Solid Sands

Clickbank Domination Presents. A case study by Devin Zander. A look into how absolutely easy internet marketing is. Money Mindset Page 1

Have the students look at the editor on their computers. Refer to overhead projector as necessary.

Assignment 1 What is a Computer?

What is XHTML? XHTML is the language used to create and organize a web page:

Transcription:

BINARY FOR THE YOUNGER SET OR WHY COMPUTERS USE A BINARY SYSTEM TO DO WHAT THEY DO BEST T. I. S. P. Teachers in Service Program

FIRST, ONE SIMPLE GROUND RULE Yes, I know we write all our letters starting from the left and work over to the right. But have you ever noticed that when we write numbers, we actually start over on the RIGHT, and as they get bigger, we gradually work over to the LEFT. Notice:- 1 10 100 1000 10000 It is just the same with binary numbers

VISUALIZE A ROW OF 5 GUMBALL MACHINES The one on the far right is very small and can only hold 1 Gumball (max) The next over to the left is twice as big and can hold 2 Gumballs (max) Over to the left again, this machine is twice a big again, and can hold 4 Gumballs After that comes a machine capable of holding twice as many again, or 8 Gumballs Finally the last machine is again twice as big and can hold 16 Gumballs

AND WHAT S MORE Each of these machines has flap at the bottom, so that when you pull the lever, ALL the gumballs in that machine fall out In other words, these machines are either completely full, or entirely empty This is no problem however, because there is a small person behind the scenes refilling the machines but only when told to do so

SO WHAT DO WE HAVE? A row of five machines capable of holding Gumballs as follows:- 16 8 4 2 1 Now assuming all machines are full, how many gumballs do we have? Easy: 16 + 8 + 4 + 2 + 1 = 31 Assume the middle machine is empty, how many do we have? Easy: 16 + 8 + 0 + 2 + 1 = 27 Assume the left-hand machine and the middle one are empty, what do we have? Easy: 0 + 8 + 0 + 2 + 1 = 11 Assume only the first two machines are empty, we would have 0 + 0 + 4 + 2 + 1 = 7

NOW THE CLEVER BIT It would save the small person who s job it is re-fill the machines, a lot of bother if each of the machines had two flags, one which popped up when the machine was empty, and another when the machine was full Then, let us paint a 0 on the flag signifying Empty and a 1 on the flag signifying Full

NOW WHAT DO WE HAVE? A row of 5 Gumball machines, each of which has a 0 flag, and a 1 flag 16 8 4 2 1 If all machines are full, we would see five flags showing a 1 like this:- 1 1 1 1 1 Which we know means we have 31 Gumballs If the middle machine is empty, we would see 1 1 0 1 1 Which we know means 27 Gumballs, And if the two machines on the left are empty we would see 0 0 1 1 1 Which we know means 7 Gumballs and so on.

BUT HERE S THE BAD NEWS The Gumballs are not edible. They are only imaginary!

LET S TAKE A BREAK

LESSON 2 A CHANGE OF PACE Take 5 chairs and line them up against the wall Take 5 sheets of paper and with a felt pen put either a 1 or 2, 4, 8 or 16 on each of them Tape the 1 over the right hand chair, and then working to the left, tape up a 2, 4, 8 and 16 over each chair

TRY THIS Sit one student on each of the chairs Give each student a sheet of paper with a 0 on one side, and a 1 on the other side Have the students display either a 0 or 1 as he/she thinks fit and have the rest of the class figure out what that binary number represents. This can be done as many times as your patience permits NOTE: With older students, you can go on up to ten binary numbers, which will take you to 1,023 max.

And of course, computers never get tired, never take coffee breaks, and (usually) never make mistakes. WHY ARE Binary NUMBERS SO USEFUL? Despite what you might think, computers are really not smart. All they do is count zeros and ones, time after time after time. 60 years ago they were filled with tiny magnets in the shape of a donut. Each donut had two very fine wires thru them. If an electric pulse was sent thru one of the wires, it would magnetize a donut as what is known as a North Seeking magnet. If the pulse went the opposite way, the donut became a South Seeking magnet. The second wire was to detect which donuts represented a North and which represented a South. In other words, since the magnets could only be either be North or South and nothing else, they can just as easily be considered as a Zero or a One, which are the only two digits a binary system uses. Today all this is done on ultra small printed circuits, but that s a whole other story for another day.

HOW DO COMPUTERS KNOW IF THEY ARE SUPPOSED TO BE DEALING WITH NUMBERS OR ALPHABETIC LETTERS? Easy. They use a system of coded letters

CODED LETTERS A = 01000001 N = 01001110 B = 01000010 O = 01001111 C = 01000011 P = 01010000 D = 01000100 Q = 01010001 E = 01000101 R = 01010010 F = 01000110 S = 01010011 G = 01000111 T = 01010100 H = 01001000 U = 01010101 I = 01001001 V = 01010110 J = 01001010 W = 01010111 K = 01001011 X = 01011000 L = 01001100 Y = 01011001 M= 01001101 Z = 01011010 Note 1: The leading 01 indicates an upper case letter Note 2: A leading 011 indicates a lower case letter Note 3: Z, which is No. 26 in the alphabet, is also 26 in binary terms, which figures All these are part of a standard code called ASCII, which stands for American Standard Code for Information Interchange. Commonly pronounced as Askey. A good buzz-word with which to impress your friends.

NOW TRANSLATE THE FOLLOWING MESSAGE, USING THE TABLE GIVEN ABOVE 01000001 01001001 01010011 01000110 01001111 01010010 01000001 01010000 01010000 01001100 01000101

SO NOW YOU CAN SEND CODED MESSAGES TO YOUR FRIENDS 01001000 01000001 01010110 01000101 01000001 01001110 01001001 0100011 01000101 01000100 01000001 01011001! Note: This little document is intended as a preliminary try-out. It has been tested on several fourth-graders, who said they thought it fun and easy to understand. If you have any comments or suggestions, please do not hesitate to contact:- dehepburn@sympatico.ca or anis@ucalgary.ca