Lesson Objectives Explain the use of binary codes to represent characters Explain the term “Character set” Describe with examples (for examples ASCII and.

Slides:



Advertisements
Similar presentations
Using Binary Coding Information Remember  Bit = 0 or 1, Binary Digit  Byte = the number of bits used to represent letters, numbers and special characters.
Advertisements

Using Binary Coding Information Remember  Bit = 0 or 1, Binary Digit  Byte = the number of bits used to represent letters, numbers and special characters.
Processing Data.
Data Representation (in computer system) Computer Fundamental CIM2460 Bavy LI.
Bits and Bytes.
COMPUTER FUNDAMENTALS David Samuel Bhatti
Computer Systems Nat 4/5 Computing Science Data Representation Lesson 3: Storing Text.
CODING SYSTEMS CODING SYSTEMS CODING SYSTEMS. CHARACTERS CHARACTERS digits: 0 – 9 (numeric characters) letters: alphabetic characters punctuation marks:
2.1.4 BINARY ASCII CHARACTER SETS A451: COMPUTER SYSTEMS AND PROGRAMMING.
Computer Systems Nat 4/5 Computing Science Data Representation Lesson 3: Storing Text.
CHARACTERS Data Representation. Using binary to represent characters Computers can only process binary numbers (1’s and 0’s) so a system was developed.
Hexadecimal and ASCII Lesson Objective: Understand the purpose of ASCII and how to use it. Lesson Outcome: Convert between Hexadecimal and ASCII Convert.
Dale & Lewis Chapter 3 Data Representation
©Brooks/Cole, 2003 Chapter 2 Data Representation.
Agenda Data Representation – Characters Encoding Schemes ASCII
Introduction to Number Representation F451 Year 10 Computing Binary Numbers Binary Numbers Sign/Magnitude Sign/Magnitude 2s Complement 2s Complement Binary.
Bits & Bytes: How Computers Represent Data
Computer System Basics 1 Number Systems & Text Representation Computer Forensics BACS 371.
Chapter 4: Representation of data in computer systems: Characters OCR Computing for GCSE © Hodder Education 2011.
It is pronounced ‘askee’
Data Representation S2. This unit covers how the computer represents- Numbers Text Graphics Control.
Chapter 2 Computer Hardware
Computer Structure & Architecture 7c - Data Representation.
1 INFORMATION IN DIGITAL DEVICES. 2 Digital Devices Most computers today are composed of digital devices. –Process electrical signals. –Can only have.
CS151 Introduction to Digital Design
Computer System Basics 1 Number Systems & Text Representation Computer Forensics BACS 371.
Data Representation Conversion 24/04/2017.
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.
Representing Characters in a computer Pressing a key on the computer a code is generated that the computer can convert into a symbol for displaying or.
Agenda Character representation Numerical Conversions ASCII EBCDIC
Data Representation. What is data? Data is information that has been translated into a form that is more convenient to process As information take different.
M204 - Data Representation
ASCII AND EBCDIC CODES By : madam aisha.
Representing Characters in a Computer System Representation of Data in Computer Systems.
Information Coding Schemes Group Member : Yvonne Tiffany Jurifah bt Junaidi Clara Jane George.
Nguyen Le CS147.  2.4 Signed Integer Representation  – Signed Magnitude  – Complement Systems  – Unsigned Versus Signed Numbers.
09/06/ Data Representation ASCII, Binary Denary Conversion, Integer & Boolean data types.
What do you think this lesson is all about? Write your answer on a sticky note.
The ASCII Alphanumeric Code What is it? Why use it? How do we use it?
Binary a. express numbers in binary, binary-coded decimal (BCD), octal and hexadecimal;
THE CODING SYSTEM FOR REPRESENTING DATA IN COMPUTER.
1.4 Representation of data in computer systems Character.
There are 10 different types of people in the world. Those who understand binary and those that don’t.
Lecture Coding Schemes. Representing Data English language uses 26 symbols to represent an idea Different sets of bit patterns have been designed to represent.
Nat 4/5 Computing Science Data Representation Lesson 3: Storing Text
Nat 4/5 Computing Science Data Representation Lesson 3: Storing Text
DATA REPRESENTATION - TEXT
Binary Representation in Text
Binary Representation in Text
Understanding binary Understanding Computers.
Unit 2.6 Data Representation Lesson 2 ‒ Characters
GCSE COMPUTER SCIENCE Topic 3 - Data 3.2 Data Representation.
Arithmetic Shifts and Character Representation
Lesson Objectives Aims You should be able to:
Binary 1 Basic conversions.
Breaking the Code Can anyone guess the phrase from this “code”?
Representing Information as bit patterns
Data Encoding Characters.
TOPICS Information Representation Characters and Images
Data Representation ASCII.
Lecture 3 ISE101: Computing Fundamentals
Representing Characters
Saturday, 10 November 2018 Binary
Data Representation Question: Characters
Ch2: Data Representation
Presenting information as bit patterns
Learning Intention I will learn how computers store text.
ASCII LP1.
Chapter 3 - Binary Numbering System
ASCII and Unicode.
Presentation transcript:

Lesson Objectives Explain the use of binary codes to represent characters Explain the term “Character set” Describe with examples (for examples 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.

Lesson Outcomes All students will identify different character sets MOST students will score at least 4/6 on the exam questions SOME students will attempt the extension activity

When you type a letter on your keyboard, for example the letter "K," have you ever wondered what has to happen in order to display the letter on your screen? When you type a "K," the "K" button sends a special electrical signal consisting of 0's and 1's to the CPU of the computer. The letter is encoded in binary. In order to display the letter you just typed on the screen, the computer must decode the binary to determine that the letter is a "K" and then must display the image of a letter "K."

Look at the keyboard in front of you… How many different characters/letters/symbols are you able to type on your keyboard? Don’t forget upper case! You should be able to find around 100. How many BITS would we need to represent this number of characters? We need 7 bits = 127

Representing Characters Computers can only work with binary data. Binary data can easily represent numbers. If we make each number represent a letter, or character, then we can store characters. One common code (ASCII) uses seven bits to store each character.

ASCII ASCII = American Standard Code for Information Interchange In total 127 codes (95 printable, 32 non-printable) plus the null character used as a control character but with no associated symbol.

This is just part of the ASCII table…

MISS LEVITT in denary is… MISS LEVITT in binary is… Work out your names in DENARY and BINARY

Write a coded message Use the ASCII table to write a coded message to a friend. Use the DECIMIL/DENARY conversion to write your message Swap with a friend and de- code it!

What if we need more characters? 128 characters are not enough to encode all languages. There are other systems that use more than 7 bits. EBCDIC is the Extended Binary Coded Decimal Interchange Code – this is used in IBM mainframes. It uses 8 bits so can encode 256 different characters.

Unicode is more common these days. Unicode comes in different variants, but can encode more than 107,000 characters, covering 90 languages. For example, Հայերեն हिन्दी עברית ಕನ್ನಡ ქართული कश्मीरी كشميري ) Кыргызча മലയാളം मराठी Unicode is a 16 bit system (2 x 8 bits) E.g

What you need to know… 1.These ways of representing letters and characters are knows as “Character sets” 2.Two of the most common “Character sets” are Unicode and ASCII 3.The number of characters which need to be represented effects the number of bits required. 1.ASCII – 7 bits for less than 127 characters. 2.EBCDIC or Extended ASCII – 8 bits for 256 characters 3.Unicode – 16 bits for over 65,00 characters

Explain how ASCII is used to represent text in a computer system [3] There are 3 marks therefore 3 points must be made. You could include – Each character is given a numeric code – This code is stored in binary – Each character takes up 7 bits – The binary code is then translated in the CPU – Some codes are reserved for characters and keyboard shortcuts

State what is meant by the term “character set” [1] For one mark a simple definition is needed “A character set is all the characters which have to be recognised by the computer system.”

Unicode is also used to represent text in a computer system. Explain the difference between the character set of Unicode and ASCII [2] You need to directly compare two contrasting features of Unicode and ASCII Eg. “ACCII has 7 or 8 bits per character whereas Unicode uses 16 bits” OR “ASCII can represent only 127 characters whereas Unicode has a much larger character set (around 50,000)

Scores: C - 3/6 on the exam questions B - 4/6 on the exam questions A/A* 5+ on the exam questions

Extension Correct the teacher – identify the errors in the passage of text.