ASCII and Unicode.

Slides:



Advertisements
Similar presentations
Bits and the "Why" of Bytes: Representing Information Digitally
Advertisements

Representing Information as Bit Patterns
Processing Data.
Chapter 8_2 Bits and the "Why" of Bytes: Representing Information Digitally.
Data Representation (in computer system) Computer Fundamental CIM2460 Bavy LI.
1 12/08/03SW Abingdon and Witney College Binary Converting to and from decimal.
CCE-EDUSAT SESSION FOR COMPUTER FUNDAMENTALS Date: Session III Topic: Number Systems Faculty: Anita Kanavalli Department of CSE M S Ramaiah.
CIS 234: Character Codes Dr. Ralph D. Westfall April, 2011.
COMPUTER FUNDAMENTALS David Samuel Bhatti
Chapter 3 Data Representation Text Characters. 2 Representing Text To represent a text document in digital form, we need to be able to represent every.
ASCII and Unicode. ASCII Inside a computer, EVERYTHING is a number – that includes music, sound, and text. In the early days of computers, every manufacturer.
Lesson Objectives Explain the use of binary codes to represent characters Explain the term “Character set” Describe with examples (for examples ASCII and.
Decisions in Python Comparing Strings – ASCII History.
CHARACTERS Data Representation. Using binary to represent characters Computers can only process binary numbers (1’s and 0’s) so a system was developed.
Representing text Each of different symbol on the text (alphabet letter) is assigned a unique bit patterns the text is then representing as.
Week 4 Number Systems.
Data Representation S2. This unit covers how the computer represents- Numbers Text Graphics Control.
Computer Structure & Architecture 7c - Data Representation.
Bits, Bytes, Words Digital signal. Digital Signals The amplitude of a digital signal varies between a logical “0” and logical “1”. – The information in.
1 INFORMATION IN DIGITAL DEVICES. 2 Digital Devices Most computers today are composed of digital devices. –Process electrical signals. –Can only have.
Globalisation & Computer systems Week 5/6 Character representation ACII and code pages UNICODE.
SEC (1.4) Representing Information as bit patterns.
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.
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.
1 Problem Solving using Computers “Data....Representation, and Storage.
M204 - Data Representation
© 2001, Penn State University Encoding on the Internet Elizabeth J. Pyatt CETS.
Binary 101 Gads Hill School. Aim To strengthen understanding of how computers use the binary number system to store information.
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.
Understanding Computers
THE CODING SYSTEM FOR REPRESENTING DATA IN COMPUTER.
Understanding Binary Understanding Computers. Understanding Computers L3 – Understanding Binary Learning Objectives All will Understand why all data is.
Chapter 3: Mastering Editors Chapter 3 Mastering Editors (Emacs)
1.4 Representation of data in computer systems Character.
Lecture Coding Schemes. Representing Data English language uses 26 symbols to represent an idea Different sets of bit patterns have been designed to represent.
1 Non-Numeric Data Representation V1.0 (22/10/2005)
Nat 4/5 Computing Science Data Representation Lesson 3: Storing Text
Text and Images Key Revision Points.
DATA REPRESENTATION - TEXT
Binary Representation in Text
Binary Representation in Text
Understanding binary Understanding Computers.
Unit 2.6 Data Representation Lesson 2 ‒ Characters
Chapter 8 & 11: Representing Information Digitally
Chapter 3 Data Representation Text Characters
Lesson Objectives Aims You should be able to:
Data Transfer ASCII FILES.
How does a computer represent everything using just zeros and ones?
Representing Information as bit patterns
Data Encoding Characters.
TOPICS Information Representation Characters and Images
Data Representation ASCII.
Representing Nonnumeric Data
Representing Characters
Data Representation Question: Characters
Data Representation Conversion 05/12/2018.
Presenting information as bit patterns
COMS 161 Introduction to Computing
COMS 161 Introduction to Computing
Digital Encodings.
Storing Negative Integers
How Computers Store Data
Chapter 3 DataStorage Foundations of Computer Science ã Cengage Learning.
Learning Intention I will learn how computers store text.
Option: Data Representation
LO1 – Understand Computer Hardware
Option: Data Representation
WJEC GCSE Computer Science
ASCII LP1.
Presentation transcript:

ASCII and Unicode

Lesson objective Understand how character sets (ASCII and UNICODE) are used to represent text

Representing text For data to be readable by all computer systems, an agreed method of representing characters and strings is important. One approach is ASCII. (American Standard Code for Information Interchange)

Representing text - ASCII Each character of the alphabet and some special symbols are represented by agreed binary patterns. Normally in computers, bits are group together in eight bit bytes

Representing text - ASCII A byte can hold 256 different combinations of 0’s and 1’s Meaning 256 characters can be represented

Representing text - ASCII One byte is used to hold one unique character

Representing text - ASCII Most personal computer use ASCII (American Standard Code for Information Interchange). Computer will have to have the same characters set to allow documents to be readable from one computer to another. Computer can have more than one character set installed. WHY do you think we need other character sets? Not enough room in ASCII character set to represent every different language (diagrammatic fonts - Chinese)

Representing text - ASCII The standard ASCII character set – used 7 bits (8th bit left for error checking information)– represents 128 separate characters. ASCII is limited – can not display all characters for other alphabets, but can store: upper and lower case English alphabet, digits 0 to 9, punctuation and special characters (e.g. % £), some non display signals (e.g. escape key)

Representing text – Another approach is Unicode Different versions of UNICODE character sets are available but each one is at least 16-bits long allowing for more than 65,536 characters to be represented Imagine that you own a company that sells computers all over the world. Every customer will want to type in their own language. What would you do? You want a system that can handle every possible written language – when the computer gets turned on for the first time they simply choose the language that the operating system needs to handle.

Representing text - Unicode Unicode can handle any language and it does so by the user selecting a specific 'code page' which is one portion of the total Unicode space. Each code page represents the chosen language. For example code page 1253 within Unicode represents the Greek language. If the person in Greece has a Greek keyboard and the Greek ‘code page’ is selected within the operating system then the correct characters appear on the screen when they press a certain key on the keyboard.

Representing text - Unicode Unicode can handle any language and it does so by the user selecting a specific 'code page' which is one portion of the total Unicode space. Each code page represents the chosen language. For example code page 1253 within Unicode represents the Greek language. If the person in Greece has a Greek keyboard and the Greek ‘code page’ is selected within the operating system then the correct characters appear on the screen when they press a certain key on the keyboard.

Representing text - Unicode Unicode gets it name because it is a character set that can be used to universally encode text of nearly all modern and ancient languages. Negative Using a universal character set requires over twice as much space to store all the characters compared to ASCII

Questions The ASCII code in denary for the numeric character ‘0’ is 48, other numeric characters follow this sequence. What is the ASCII code for the character ‘2’ in binary? [1] How many different characters can be represented in ASCII? [1] State one difference between Unicode and ASCII [1] State one advantage and one disadvantage of using ASCII rather than Unicode [2]