Key Crack the Code Challenge Terms Binary Code Activity Supplies Understanding the Basic Concepts of the Binary Number System

Total Page:16

File Type:pdf, Size:1020Kb

Key Crack the Code Challenge Terms Binary Code Activity Supplies Understanding the Basic Concepts of the Binary Number System KEY CRACK THE CODE CHALLENGE TERMS Binary number system – a Base 2 number system used in many different technologies to communicate information Bit – a binary digit (a 0 or 1) that represents one of two states (hence the name BI-nary) such as yes/no or on/off Byte – a string of bits that represent a character such as a number, lower case letter, upper case letter, punctuation, symbols, etc. Decimal system – the Base 10 number system that we use every day (0-9) BINARY CODE ACTIVITY SUPPLIES Paper Pen or Pencil Binary Code Challenge Worksheet UNDERSTANDING THE BASIC CONCEPTS OF THE BINARY NUMBER SYSTEM 1.Trace your right hand on a sheet of paper. Starting from left to right, write the numbers 16, 8, 4, 2, and 1 on your fingers. Since you traced your right hand, your thumb will be number 16 and your little finger will be marked with the number one. 2.Hold up your left hand with your palm facing you (the order of your fingers should match the order of your handprint you drew in Step 1). I chose to have my palm facing us because it was easier to manipulate our fingers for the exercise. 3.Now, you can use your hand and the numbers you wrote on your paper to add up to the number 31 (in decimal numbers), which is the max for 5-bit binary code strings. Since we are working with the English alphabet, we are going to focus up to the number 26 because there are 26 letters in the alphabet. 4.When you hold your ring finger up and the rest of your fingers down, you have the number two. When you hold your pinky up, but have the rest of your fingers down you have the number 1. When you hold all of your hands up, the sum of your fingers is 31, so your hand represents the number 31. When you close your hand with no fingers up, what number do you think this represents? Zero. To get the number 14, what fingers do you hold up? 5.When a finger is raised, it represents a one bit in your binary code. For example, if your pinky finger is raised and all other fingers are down (equals the number one when you reference your handprint sheet right?), the number 1 is written in binary code as 00001. Your first four fingers are curled down and your pinky finger is up. The number 2 in binary code is 00010 because you would leave your ring finger raised and close all of your other fingers when you reference your handprint sheet. What about the number 4? Or the number 5? What about the number 12? Can you make the number 16? My 10yr old laughed so hard when she and her 6yr old sister had to use their middle fingers because that’s what 10yr olds do. It’s all in the name of learning right!? HOW TO CODE THE ALPHABET BY REPRESENTING LETTERS WITH NUMBERS 1.Write your name down. Leave a space between each letter. Write down the number in the alphabet for each letter. You can also reference your 5-Bit Binary Code Alphabet Reference sheet (from your printable Binary Code Workbook) to write down the alphabet order number for each letter. 2.Then, use your handprint (if you need to) to convert these numbers into binary code using your binary hand method. CRACK THE CODE BINARY CODE CHALLENGE 1.Use a blank piece of paper to write a small message to your kiddo! I used “I love you”, which is the following in 5-bit binary code (decomposed into 5-bit components to make it a littler easier to decode): 01001-01100-01111-10110-00101-11001-01111-10101 2.Now, you are ready to Crack the Code with this Binary Code Challenge Worksheet! The binary code on the worksheet is decomposed into 5-bit components to make it easier for new kid coders to work through! .
Recommended publications
  • The Hexadecimal Number System and Memory Addressing
    C5537_App C_1107_03/16/2005 APPENDIX C The Hexadecimal Number System and Memory Addressing nderstanding the number system and the coding system that computers use to U store data and communicate with each other is fundamental to understanding how computers work. Early attempts to invent an electronic computing device met with disappointing results as long as inventors tried to use the decimal number sys- tem, with the digits 0–9. Then John Atanasoff proposed using a coding system that expressed everything in terms of different sequences of only two numerals: one repre- sented by the presence of a charge and one represented by the absence of a charge. The numbering system that can be supported by the expression of only two numerals is called base 2, or binary; it was invented by Ada Lovelace many years before, using the numerals 0 and 1. Under Atanasoff’s design, all numbers and other characters would be converted to this binary number system, and all storage, comparisons, and arithmetic would be done using it. Even today, this is one of the basic principles of computers. Every character or number entered into a computer is first converted into a series of 0s and 1s. Many coding schemes and techniques have been invented to manipulate these 0s and 1s, called bits for binary digits. The most widespread binary coding scheme for microcomputers, which is recog- nized as the microcomputer standard, is called ASCII (American Standard Code for Information Interchange). (Appendix B lists the binary code for the basic 127- character set.) In ASCII, each character is assigned an 8-bit code called a byte.
    [Show full text]
  • Bits and Bytes
    BITS AND BYTES To understand how a computer works, you need to understand the BINARY SYSTEM. The binary system is a numbering system that uses only two digits—0 and 1. Although this may seem strange to humans, it fits the computer perfectly! A computer chip is made up of circuits. For each circuit, there are two possibilities: An electric current flows through the circuit (ON), or An electric current does not flow through the circuit (OFF) The number 1 represents an “on” circuit. The number 0 represents an “off” circuit. The two digits, 0 and 1, are called bits. The word bit comes from binary digit: Binary digit = bit Every time the computer “reads” an instruction, it translates that instruction into a series of bits (0’s and 1’s). In most computers every letter, number, and symbol is translated into eight bits, a combination of eight 0’s and 1’s. For example the letter A is translated into 01000001. The letter B is 01000010. Every single keystroke on the keyboard translates into a different combination of eight bits. A group of eight bits is called a byte. Therefore, a byte is a combination of eight 0’s and 1’s. Eight bits = 1 byte Capacity of computer memory, storage such as USB devices, DVD’s are measured in bytes. For example a Word file might be 35 KB while a picture taken by a digital camera might be 4.5 MG. Hard drives normally are measured in GB or TB: Kilobyte (KB) approximately 1,000 bytes MegaByte (MB) approximately 1,000,000 (million) bytes Gigabtye (GB) approximately 1,000,000,000 (billion) bytes Terabyte (TB) approximately 1,000,000,000,000 (trillion) bytes The binary code that computers use is called the ASCII (American Standard Code for Information Interchange) code.
    [Show full text]
  • Binary Bracelets
    10010011011000110 10010011011000110110000100010001000001000 1001001101100011011000010001000111000110110 00010 001 1000001000 100 10011 011 000110 110000 10001000 001000 11000010 010000 010001010001000001000 100100110 010 010 110110000100010001000001000 1001001101 1000 110110000100010001000001000 1001001101 10001101100001000100010000 010 01000 10010011011000110110 00010 001 1000001000 100 10011 011 000110 110000 10001000001000 11000010 010000 01000 010 010 11000110110 00010 001 1000001000 100 10011 011 000110 110000 1000 10000 01 000 11000 010 010000 010 010 010 010 010 0100010010011011000110 10010011011000110110000100010001000001000 10010011011000110110000100010001110001101 10 00010 001BINARY 1000001000 101000110110000100010001000001000 BRACELETS 10010011011000110110 00010 001 1000001000 100 10011 011 000110 110000 10001000001000 11000010 010000 01000 11000110110 00010 001 1000001000 100 10011 011 000110 110000 1000 10000 01 000 1110 1100011011000010001000100000 000110 110000 10001000001000 11000010 010000 01000 11000110110 00010 001 1000001000 100 10011 011 000110 110000 1000 10010011011000110110 00010 001 1000001000 100 10011 011 Binary Code We are often used to representing numbers using ten digits: 0, 1, 2, 3, 4, 5, 6, 7, 8, and 9. This is called a base-10, or decimal system. Binary code, however, uses only zeros and ones in a sequence of eight spots. We often to refer to these binary, or base-2, digits as “bits.” Binary code is used to communicate information between computers, communication devices, and many more modern technologies. It’s useful to build into electronic devices because it is a simple system that requires something turn on or off (where 1 is the on state and 0 is the off state). This activity will allow you to embed your own name or nickname in this secret code on a bracelet. The binary code for capital letters is found on the back of this page.
    [Show full text]
  • Code a Keychain Craft Kit (Pk/24) GP3306 1.0
    Reorder Number GP3306 Code a Keychain Craft Kit (Pk/24) GP3306 1.0 Fun Learn some new vocabulary words! Facts! Project Ideas • Cross Curricular For more craft ideas... ASCII - “American Standard Code for Information Links • Activity Sheets Interchange” encoding of characters. See what Crafty Kate is up to! Binary - A way of representing information using A FREE resource: Visit www.ssww.com/crafty-kate. only 2 options. Read About It- Visit our Blog at ssww.com/blog. Bit - Short for “Binary Digit”. It is one digit’s location . in a binary number. 8 bits make 1 byte. Get Social- Join and follow our social communities! Code a Keychain Craft Kit (Pk/24) Code/Coding - Transformation from one PLEASE READ ALL INSTRUCTIONS BEFORE STARTING . interpretation to another. Decode - Convert a coded message into something familiar. YOUR KIT CONTAINS: Encode – To convert a familiar message into code. • White Beads The type of code used for converting characters is . known as American Standard Code for Information • Black Beads Interchange (ASCII). It is the most commonly used • Assorted Colored Beads encoding scheme for files that contain text. • Cord Resources: techopedia.com • Split Rings http://wiki.kidzsearch.com code.org YOU WILL NEED: • Scissors • Ruler MAKING IT EASY to SAVE MORE on your next order! • Paper plates (optional) EACH PERSON SHOULD HAVE: Call Toll-Free • A split ring $ OFF 1-800-243-9232 • A 15” length of cord Your Next Order of The beads will be shared only $ 00 Online: 10 39 or more. ssww.com among the group. Please mention Offer Code:M2467 Minimum order $39 excludes shipping and taxes.
    [Show full text]
  • Machine and Assembly Language Programming
    COURSE TITLE: FOUNDATIONS OF SEQUENTIAL PROGRAM CODE: CSC 206 TOPIC TWO Machine language, assembly language and assemblers, low/high level languages (Machine-level implementation of high-level language) Objectives By the end of this class, students should be able to: 1. describe computer/programming language 2. list and describe the three different types or levels of programming languages 3. list the advantages of programming languages 4. list the disadvantages of programming languages 5. list and describe the different examples of types or levels of programming languages DISCLAIMER The contents of this document are intended for leaning purposes at the undergraduate level. The materials are from different sources including the internet and the contributors do not in any way claim authorship or ownership of them. COMPUTER / PROGRAMMING LANGUAGES Computer or Programming Languages are sets of words, symbols and codes used to write programs. Different programming languages are available for writing different types of programs. Some languages are specially used for writing business programming, others are used for writing scientific program etc. There are three types or levels of computer programming: 1. Machine language 2. Low level Languages 3. High Level Languages Machine language Machine Language is the actual bits used to control the processor in the computer, usually viewed as a sequence of hexadecimal numbers (typically bytes). The processor reads these bits in from program memory, and the bits represent "instructions" as to what to do next. Thus machine language provides a way of entering instructions into a computer (whether through switches, punched tape, or a binary file). Machine Language instruction has two (2) parts.
    [Show full text]
  • Introduction to Binary
    Introduction to Binary Why Bother with Binary? ● This is all about electronics ● We don’t use binary because electronics do ● We designed electronics to use binary because it is very easy to do so ● Trying to use decimal inside electronics would be crazy difficult Why Bother with Binary? ● Operations are easy in electronics (just wait!) ● Binary numbers can be used to represent anything Why Bother with Binary? ● Operations are easy in electronics (just wait!) ● Binary numbers can be used to represent anything – Numbers! Why Bother with Binary? ● Operations are easy in electronics (just wait!) ● Binary numbers can be used to represent anything – Numbers! π = 3.1415926535 [and more!] Why Bother with Binary? ● Operations are easy in electronics (just wait!) ● Binary numbers can be used to represent anything – Numbers! π = 3.1415926535 [and more!] – Words “To be, or not to be!” – Pictures – Videos Why Bother with Binary? ● Operations are easy in electronics (just wait!) ● Binary numbers can be used to represent anything – Numbers! π = 3.1415926535 [and more!] – Words “To be, or not to be!” – Pictures – Videos – Programs (like games!) Number Systems ● Ways to organize and write numbers ● Set of digits ● Set of operations – Addition – Subtraction Number Systems – Decimal ● Digits – 0, 1, 2, 3, 4, 5, 6, 7, 8, 9 ● Operations – Addition ( 3 + 5 ) – Subtraction ( 5 – 3 ) Number Systems – Decimal ● Written Form ● Every “place” is 10 times the place to the right Number 1000 100 10 1 17 0 0 1 7 51 0 0 5 1 5281 5 2 8 1 Number Systems – Decimal ● What’s
    [Show full text]
  • Try This at Home Science: Binary Code Bracelets
    Try This at Home Science: Binary Code Bracelets Activity Overview: Use binary code to encode your name into beads that you can wear as jewelry! Materials: Binary Capital Letters Guide (attached) Blank sheet of paper Writing Utensil Beads (2 different colors) Pipe Cleaners or String Try this! 1. Open the Binary Capital Letters Guide. 2. Designate one bead color to represent 0 and the other bead color to represent 1. 3. Write down the initial for your first and last name on the blank sheet of paper. 4. Using the Worksheet, write the set of 8 digits that match each letter of your first and last initials. (Hint: When you are finished, you should have a total of 16 numbers) 5. Lay out your beads to match the binary translation for your initials. 6. Add the pattern of beads to your pipe cleaner or string. 7. Twist or tie off the end of your bracelet, and enjoy! What’s happening? Computer programmers use a special language to program computers and robots. This language of 0’s and 1’s is called binary code; binary, meaning “two numbers”. Coding is a step by step guide for a computer to accomplish a task. Binary coding uses millions of patterns of 0’s and 1’s to signal off and on switches for electrical signals inside the computer, allowing the computer to perform different functions. In this code, each letter is represented by a set of eight digits. Each digit is called a bit. Each set of eight digits is called a byte.
    [Show full text]
  • Worksheet No.1 Exercises (To Be Learnt) Ques.1) Fill in the Blanks: - 1
    Worksheet no.1 Exercises (To be learnt) Ques.1) Fill in the blanks: - 1. There are four types of computer. 2. A netbook is a micro computer. 3. Programming language is used for writing program. 4. Machine language is directly followed by the computer. 5. Assembler is needed to convert assembly language to machine language. 6. FORTAN, COBOL, etc. are high level languages. 7. COBOL language is used for business transactions. Ques.2) Write true or false: - 1. Ultrabooks are mini computer. – False 2. The computer you use at house is a micro computer. – True 3. Mainframe computers is the fastest computer. – False 4. Internet cannot run on the smartphone. – False 5. Machine language is a binary language. – True 6. Assembly language is based on combination of 0 and 1. – False 7. The instructions of High Level Language are similar to those of English language. – True 8. Java is a 4GL language. – False Ques.3) Multiple choice questions: - 1. The fastest computer is ____________. a. Super computer. b. Mainframe computer. c. Micro computer. d. None of these. 2. A tablet is a __________. a. Micro computer. b. Super computer. c. Mini computer. d. None of these. 3. Which of the following is not a binary digit? a. 1 b. 2 c. 0 d. None of these. 4. A program written in Assembly language is called ______________. a. Source code. b. Compiler. c. Translator. d. None of these. 5. The program converted into machine code by a translator is called ___________. a. Source code. b. Compiler. c. Object code. d. None of these.
    [Show full text]
  • Lecture Slides Set 9: Binary Numbers, Codes
    E40M Binary Numbers, Codes M. Horowitz, J. Plummer, R. Howe 1 Reading • Chapter 5 in the reader • A&L 5.6 M. Horowitz, J. Plummer, R. Howe 2 Useless Box Lab Project #2 Adding a computer to the Useless Box alows us to write a program to control the motor (and hence the box). • To control the motor we need to study and use MOS transistors since our computer cannot drive the motor directly. • The computer (Arduino) uses Boolean logic and CMOS logic gates to implement software we write for it. The MOS transistors amplify the Arduino output to control the motor. M. Horowitz, J. Plummer, R. Howe 3 Last Lecture: MOSFETs – nMOS • It is a switch which connects source to drain • If the gate-to-source voltage is greater than Vth (around 1 V) – Positive gate-to-source voltages turn the device on. – pMOS • It is a switch which connects source to drain • If the gate-to-source voltage is less than Vth (around -1 V) – Negative gate-to-source voltages turn the device on … and there’s zero current into the gate! M. Horowitz, J. Plummer, R. Howe 4 Last Lecture: MOSFET models • Are very interesting devices – Come in two “flavors” – pMOS and nMOS – Symbols and equivalent circuits shown below • Gate terminal takes no current (at least no DC current) – The gate voltage* controls whether the “switch” is ON or OFF Ron gate gate pMOS nMOS * actually, the gate – to – source voltage, VGS M. Horowitz, J. Plummer, R. Howe 5 Last Lecture: Logic Gates VDD V VA Out VDD VOut VA VB M.
    [Show full text]
  • High Level Code and Machine Code Teacher’S Notes
    High level code and machine code Teacher’s Notes Lesson Plan xLength 60 mins Specification Link 2.1.7/cde Programming languages Students should be able to (a) explain the difference between high level code and machine code Learning objective (b) explain the need for translators to convert high level code to machine code (c) describe the characteristics of an assembler, a compiler and an interpreter Time (min) Activity Further Notes 5 Ask the students to quickly write down the names of any Other examples are available on computer programming languages that they know. YouTube. Ask selected students for their ideas and ask if they know the difference between the terms ‘low level language’ and ‘high level language’. Show students the link to the specification. Explain the purpose and objectives of the lesson. Stress that the methods shown used sound, light and the fixed positions of flags to encode letters which are then decoded by the recipient. Computers use binary digits to do the same thing. Show students the link to the specification. Explain the purpose and objectives of the lesson. 15 Watch the set of videos. 5 Ask some questions about the video to assess learning. Machine code. e.g. Difficult to visualize a program that is just a • What is the only language that a computer under- stream of 1s and 0s. stands? Assemblers, compilers, interpreters. • Why don’t programmers usually write programs using machine code? • Name the types of translators that are used to convert other languages to machine code. 20 Worksheet 1 Answers provided. Students to complete Worksheet 1 either on paper or on computer using knowledge gained from video and internet research.
    [Show full text]
  • 1. Number System a Number System Relates Quantities and Symbols.In Digital System How Information Is Represented Is Key and There Are Different Radices, I.E
    COURSE CODE: SCS1203 COURSE NAME: FUNDAMENTALS OF DIGITAL SYSTEMS CHAPTER NAME: NUMBER SYSTEMS,COMPLIMENTS AND CODES UNIT - I Number Systems - Binary Numbers - Number base conversions - Octal and Hexa Decimal Numbers - Complements - Signed Binary Numbers - Binary Arithmetic - Binary Codes - Decimal Code - Error Detection code - Gray Code- Reflection and Self Complementary codes - BCD number representation - Alphanumeric codes ASCII/EBCDIC - Hamming Code- Generation, Error Correction. 1. Number System A number system relates quantities and symbols.In digital system how information is represented is key and there are different radices, i.e. number bases, that a numbering system can use. 1.1 Digital computer Any class of devices capable of solving problems by processing information in discrete form.It operates on data,including letters and symbols,that are expressed in binary form i.e using only two digits 0 and 1. The block diagram of digital computer is given below: Processor (or) Control Unit Arithmetic unit Storage (or) Memory Unit Input Output Devices and Devices and Control Control The memory unit stores programs as well as input, output and intermediate data. The processor unit performs arithmetic and other data processing tasks as specified by the program.The control unit supervises the flow of information between various units. The program and data prepared by the user are transferred into the memory unit by means of an input device such as punch card reader (or) tele typewriter. An output device, such as printer, receives the result of the computations and the printed results are presented to the user. 1.2 Number Representation: It can have different base values like: binary (base-2), octal (base-8), decimal (base 10) and hexadecimal (base 16),here the base number represents the number of digits used in that numbering system.
    [Show full text]
  • Number Systems
    Number Systems Introduction / Number Systems Data Representation Data representation can be Digital or Analog In Analog representation values are represented over a continuous range In Digital representation values are represented over a discrete range Digital representation can be Decimal Binary Octal We need to know how to use and convert from one to another! Hexadecimal Using Binary Representation Digital systems are binary-based All symbols are represented in binary format Each symbol is represented using Bits A bit can be one or zero (on or off state) Comparing Binary and Decimal systems: In Decimal a digit is [0-9] – base-10 In Binary a digit is [0-1] – base-2 In Decimal two digits can represent [0-99] 102-1 In Binary two digits can represent [0-3] 22-1 Binary Counting Binary Point Counting in Different Numbering Systems Decimal Demonstrating different number base or radix 0,1,2,3,4,5,6,7,8,9,10,11,12…,19,20,21,…,29,30,…,39…. Binary 0,1,10,11,100,101,110,111,1000,…. Octal 0,1,2,3,4,5,6,7,10,11,12…,17,20,21,22,23…,27,30,… Hexadecimal 0,1,2,3,4,5,6,7,8,9,A,B,C,D,E,F,10,…,1F,20,…,2F,30,..… Remember: aa.bb aa is whole number portion bb is fractional portion “.” is the radix point Learning Number Conversion Decimal Hexasdecimal Octal Binary BCD/ ASCII Binary-to-Decimal Conversions malDeci 11011 Decimal sdecialmHexa latOc 4 3 2 1 0 aryBin 1 2 1 2 0 2 1 2 1 2 16 810 2 1 27 BCD Convert 0 1 2 3 N 1 n(1 nNN 2 ..
    [Show full text]