The use of binary codes to represent characters

Similar documents
Candidates should be able to: (i) describe the purpose of RAM in a computer system

Chapter 4: Computer Codes

High level code and machine code

Encoding Text with a Small Alphabet

Input and output devices for specific needs

Digital codes. Resources and methods for learning about these subjects (list a few here, in preparation for your research):

ASCII Code. Numerous codes were invented, including Émile Baudot's code (known as Baudot

2011, The McGraw-Hill Companies, Inc. Chapter 3

HOMEWORK # 2 SOLUTIO

How to represent characters?

GCSE. Mark Scheme for January Computing (Pilot) General Certificate of Secondary Education Unit A451: Computer systems and programming

Chapter 7 Lab - Decimal, Binary, Octal, Hexadecimal Numbering Systems

Management Challenge. Managing Hardware Assets. Central Processing Unit. What is a Computer System?

Counting in base 10, 2 and 16

Prerequisite knowledge Students should have a good understanding of how our decimal number system works as well as understand place value.

Number Representation

Parts of a Computer. Preparation. Objectives. Standards. Materials Micron Technology Foundation, Inc. All Rights Reserved

Number of bits needed to address hosts 8

The Hexadecimal Number System and Memory Addressing

Count the Dots Binary Numbers

Intel Hexadecimal Object File Format Specification Revision A, 1/6/88

Comparing Simple and Compound Interest

Binary Representation. Number Systems. Base 10, Base 2, Base 16. Positional Notation. Conversion of Any Base to Decimal.

Memory is implemented as an array of electronic switches

Systems I: Computer Organization and Architecture

Binary Numbers Kristin Labby

Lesson Plan. Course Title: Computer Maintenance Session Title: Numbering Systems

STUDY GUIDE CHAPTER 1

Hexadecimal Object File Format Specification

Binary Representation

Computers. Hardware. The Central Processing Unit (CPU) CMPT 125: Lecture 1: Understanding the Computer

Zeros, Ones, and the Morse Code

Most laptops allow you to plug in a second monitor, which can be a TV screen or Projector I will refer to a monitor in this document.

Lesson 4 What Is a Plant s Life Cycle? The Seasons of a Tree

Key Stage 3. Scheme of Work. Written by Heaton Moor Digital

13-1. This chapter explains how to use different objects.

plc numbers Encoded values; BCD and ASCII Error detection; parity, gray code and checksums

The Unicode Standard Version 8.0 Core Specification

EE 261 Introduction to Logic Circuits. Module #2 Number Systems

Chapter 1: Digital Systems and Binary Numbers

Section 1.4 Place Value Systems of Numeration in Other Bases

The ASCII Character Set

Base Conversion written by Cathy Saxton

Solution for Homework 2

Hector s World Lesson Plan Episode: Cyberbullying You re Not Alone Upper primary

Lab 4.4 Secret Messages: Indexing, Arrays, and Iteration

Computer Basics: Chapters 1 & 2

The goal is to program the PLC and HMI to count with the following behaviors:

Machine Architecture and Number Systems. Major Computer Components. Schematic Diagram of a Computer. The CPU. The Bus. Main Memory.

Data Storage. Chapter 3. Objectives. 3-1 Data Types. Data Inside the Computer. After studying this chapter, students should be able to:

Today s topics. Digital Computers. More on binary. Binary Digits (Bits)

Animals that move slowly, animals that move quickly

Oral and mental starter

Levent EREN A-306 Office Phone: INTRODUCTION TO DIGITAL LOGIC

Code Kingdoms Learning a Language

Finding ASCII Codes for Special Fonts and Characters

Numbers, operations and relationships

Preservation Handbook

Unit 4 Measures time, mass and area

SYMETRIX SOLUTIONS: TECH TIP August 2015

Binary Numbers. Binary Octal Hexadecimal

Preservation Handbook

CDA 3200 Digital Systems. Instructor: Dr. Janusz Zalewski Developed by: Dr. Dahai Guo Spring 2012

Maryland Technology Literacy Standards for Students

Once in a Blue Moon (Number Systems and Number Theory)

Intro to the Art of Computer Science

Symbols in subject lines. An in-depth look at symbols

Skateboard Assembly - Line Balance Lesson Plan (45-60 minutes)

Numeration systems. Resources and methods for learning about these subjects (list a few here, in preparation for your research):

VRX Company Inc. Application Note: DacEasy Point of Sale setup for Pole Display

Course/Program Credential(s): Credential Certificate Postsecondary Degree University Degree Other:

Using SPSS, Chapter 2: Descriptive Statistics

Data Storage 3.1. Foundations of Computer Science Cengage Learning

Level 2 Development Training. Level 2 Development Training. Level 2 Development Training. Technical Overview

This is great when speed is important and relatively few words are necessary, but Max would be a terrible language for writing a text editor.

Modbus Communications for PanelView Terminals

LSN 2 Number Systems. ECT 224 Digital Computer Fundamentals. Department of Engineering Technology

IBM Emulation Mode Printer Commands

Teaching Pre-Algebra in PowerPoint

AQA GCSE in Computer Science Computer Science Microsoft IT Academy Mapping

what operations can it perform? how does it perform them? on what kind of data? where are instructions and data stored?

ZIMBABWE SCHOOL EXAMINATIONS COUNCIL. COMPUTER STUDIES 7014/01 PAPER 1 Multiple Choice SPECIMEN PAPER

DATA COMMUNICATION (Basics of data communication, OSI layers.)

DNA Data and Program Representation. Alexandre David

Release Notes. Asset Control and Contract Management Solution 6.1. March 30, 2005

Data Storage: Each time you create a variable in memory, a certain amount of memory is allocated for that variable based on its data type (or class).

=

Cyber Security Workshop Encryption Reference Manual

Chapter 1. Binary, octal and hexadecimal numbers

CHAPTER 2: HARDWARE BASICS: INSIDE THE BOX

Circuits and Boolean Expressions

Using Patterns of Integer Exponents

Oct: 50 8 = 6 (r = 2) 6 8 = 0 (r = 6) Writing the remainders in reverse order we get: (50) 10 = (62) 8

Chapter 2: Basics on computers and digital information coding. A.A Information Technology and Arts Organizations

General Certificate of Education Advanced Subsidiary Examination June 2015

[Not for Circulation]

encoding compression encryption

MATHEMATICS: REPEATING AND GROWING PATTERNS First Grade. Kelsey McMahan. Winter 2012 Creative Learning Experiences

Transcription:

The use of binary codes to represent characters Teacher s Notes Lesson Plan x Length 60 mins Specification Link 2.1.4/hi Character Learning objective (a) Explain the use of binary codes to represent characters (b) Explain the term character set (c) Describe with examples (for example ASCII and Unicode) the relationship between the number of bits per character in a character set and the number of characters which can be represented Time (min) Activity Further Notes 10 Explain that, however boring they find it, computers have to communicate with humans and that one of the ways they do this is by text, output to a monitor or printer. Ask the students if they can think of other ways that computers communicate with us. As computers communicate internally by binary digits (0 and 1) when they communicate with us they have to encode these into a form that we can easily read and understand letters and numbers. Explain that humans have been using digital codes to communicate information at a distance for hundreds of years. Using a projector, play the Starter Activity, pausing it to discuss what is happening with the students. Examples could include through sound or graphics. 15 Watch the set of videos. 5 Ask some questions about the video to assess learning. e.g. How many bits are used for the ASCII code? How many characters will this number of bits allow for? From what was the ASCII code developed? What is extended ASCII? Why was Unicode developed? 7 128 The code used for teletypes and teleprinters. The use of the eighth bit to allow for more characters. So that more characters could be coded to allow all languages to be included. 5 Activity 1 Students use Activity 1 to consolidate learning from the video and discussions. 10 Worksheet 1 Students to complete Worksheet 1 either on paper or on computer. Ask individual students for their answers and discuss with the class so that all students will have the correct answers entered on their worksheets. Answers provided.

Time (min) Activity Further Notes 10 Worksheet 2 Students to complete Worksheet 2 either on paper or on computer. Ask individual students for their answers and discuss with the class so that all students will have the correct answers entered on their worksheets. Answers provided. 5 Plenary Extension Challenge/Homework The students should complete and submit Worksheet 2 if not already completed. Ask the students to investigate the programming language they are most familiar with to develop routines to: Convert a binary to a decimal number. Use a decimal number to display an ASCII character. Using a projector, display Activity 2. Enter different bytes and convert to decimal and the ASCII character. Stress that a binary number has been converted to a decimal one and that has been used to display the character.

WORKSHEET 1 ANSWERS 1 Explain what is meant by a character set. A defined list of characters recognised by the computer hardware and software. Each character is represented by a number. 2 (a) ASCII is an acronym. In the space below state what words the initial letters represent. American Standard Code Information Interchange (b) The first edition of the ASCII code was published in 1963 and it was based on an earlier code. What was this earlier code used for? Teletype and teleprinter machines. (c) (i) How many bits are used for this code? 7 bits (ii) How many characters can be encoded using this number of bits? 128 (d) Not all of the characters are printable. What are the others called and what are they used for? Control codes or control characters. Used for controlling external devices e.g. printers or for formatting how the text appears.

WORKSHEET 1 ANSWERS 3 Many manufactures extended the ASCII code by using the eighth bit. (a) How many characters can be represented using 8 bits? 256 (b) Why did the use of extended ASCII codes cause problems for users? There was no standard. Different manufacturers used them to represent different characters e.g. accented letters in French. 4 Write down the characters represented by the following bytes. (i) 10110101 (ii 00101011 (iii) 11001001 C a t 5 Write down the 8 bit code for the following characters. (a) M b) d c) s 01001101 01100100 01110011 6 (a) Why was the UNICODE character set developed? A universal standard character set that covers all writing systems. There needed to be more characters to cover all the languages on earth. (b) How many bits are used to code a character in this character set? 16

WORKSHEET 2 ANSWERS 1 (a) Explain how ASCII is used to represent text in a computer system. (3) Each character is given a numeric code, including symbols, digits, upper and lower case. This code is then stored in binary. Each character takes 1 byte. Text is stored as a series of bytes (1 per character). Some codes are reserved for control characters (e.g. TAB, Carriage Return). (b) State what is meant by the character set of a computer. (1) All the characters which are recognised/can be represented by the computer system. (c) Unicode is also used to represent text in a computer system. Explain the difference between the character sets of Unicode and ASCII. (2) Unicode has a much larger character set and can represent many more characters/ characters from all alphabets. Because unicode uses 16 bits and ASCII uses fewer/7/8 bits.