Working with text ASCII and UNICODE.  0 1 1 0 0 0 0 1  0 1 0 0 0 0 0 1  0 0 1 1 0 0 0 0.

Slides:



Advertisements
Similar presentations
Technology ICT Option: Data Representation. Data Representation In our everyday lives, we communicate with each other using analogue data. This data takes.
Advertisements

Review Ch.1,Ch.4,Ch.7. Review of tags covered various header tags Img tag Style, attributes and values alt.
CSE115: Introduction to Computer Science I Dr. Carl Alphonce 219 Bell Hall 1.
CSE111: Great Ideas in Computer Science Dr. Carl Alphonce 219 Bell Hall Office hours: M-F 11:00-11:
How Computers Represent Numbers Friday, Week 5. Binary Code A series of 1’s and 0’s Place value is in powers of 2.
Data Representation (in computer system) Computer Fundamental CIM2460 Bavy LI.
1 A Balanced Introduction to Computer Science, 2/E David Reed, Creighton University ©2008 Pearson Prentice Hall ISBN Chapter 12 Data.
CSE115: Introduction to Computer Science I Dr. Carl Alphonce 219 Bell Hall 1.
Teaching Computing at KS3 Session 2 Sue Sentance and Sophie Baker
2.1.4 BINARY ASCII CHARACTER SETS A451: COMPUTER SYSTEMS AND PROGRAMMING.
Dale & Lewis Chapter 3 Data Representation
©Brooks/Cole, 2003 Chapter 2 Data Representation.
Chapter 2 Data Representation. Define data types. Visualize how data are stored inside a computer. Understand the differences between text, numbers, images,
Lecture 5.
CS 101 – Sept. 2 Chapter 3: data representation Many kinds of data  all in binary Today: integers –Unsigned –Signed Later: text, images, code, etc.
Representing text Each of different symbol on the text (alphabet letter) is assigned a unique bit patterns the text is then representing as.
Aloha Aloha What you see: What the computer sees: binary number columns binary number columns
Chapter 1 Data Storage(2) Yonsei University 1 st Semester, 2014 Sanghyun Park.
Representing Nonnumeric Data Everything is really a number.
Skill Area 311 Part A. Lecture Overview Binary Numbers Binary Arithmetic ASCII Code Machine Code Instruction Format Advantages and disadvantages of machine.
Data Representation and Storage Lecture 5. Representations A number value can be represented in many ways: 5 Five V IIIII Cinq Hold up my hand.
Lecture Objectives  To learn how to use a Huffman tree to encode characters using fewer bytes than ASCII or Unicode, resulting in smaller files and reduced.
Binary, Decimal and Hexadecimal Numbers Svetlin Nakov Telerik Corporation
Lecture 5. Topics Sec 1.4 Representing Information as Bit Patterns Representing Text Representing Text Representing Numeric Values Representing Numeric.
Number Representations What all the numbers can mean.
Communication Technology in a Changing World Week 2.
Introduction to Digital Media. What is it? Digital media is what computers use to; Store, transmit, receive and manipulate data Raw data are numbers,
SEC (1.4) Representing Information as bit patterns.
Data Representation Conversion 24/04/2017.
CS 111 – Sept. 3 More data representation Review hex notation Text –ASCII and Unicode Sound and images Commitment: –For Wednesday: Please read pp
DATA REPRESENTATION CHAPTER DATA TYPES Different types of data (Fig. 2.1) The computer industry uses the term “MULTIMEDIA” to define information.
CS 111 – Sept. 1 Intro to data representation Binary numbers –Convert binary  decimal –Convert decimal  binary Text –ASCII and Unicode Commitment: –For.
Representation of Characters
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.
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.
Chapter 5 - The Once And Future Digital Network Introduction The World Was Once Digital A Telegraph Is Digital [The telegraph is a digital technology because.
CS 101 – Sept. 11 Review linear vs. non-linear representations. Text representation Compression techniques Image representation –grayscale –File size issues.
 Method of representing or encoding numbers  Two main notation types  Sign-value  Roman numerals  Positional (place-value)  Modern decimal notation.
Understanding Computers
Binary a. express numbers in binary, binary-coded decimal (BCD), octal and hexadecimal;
Base 16 (hexadecimal) Uses the decimal digits and the first letters of the alphabet to encode 4 binary bits (16=2 4 ) abcdef or ABCDEF.
Understanding Binary Understanding Computers. Understanding Computers L3 – Understanding Binary Learning Objectives All will Understand why all data is.
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.
Nat 4/5 Computing Science Data Representation Lesson 3: Storing Text
Text and Images Key Revision Points.
Computer Science 210 Computer Organization
Data Representation.
Understanding binary Understanding Computers.
Unit 2.6 Data Representation Lesson 2 ‒ Characters
Binary, Decimal and Hexadecimal Numbers
…to GCSE Level with Python Sue Sentance
Representing Information as bit patterns
Data Encoding Characters.
Representing Nonnumeric Data
Folders out, planners out…
Ch2: Data Representation
Computer Science 210 Computer Organization
Binary Data representation
Presenting information as bit patterns
COMS 161 Introduction to Computing
Chapter 2 Data Representation.
COMS 161 Introduction to Computing
Digital Encodings.
Learning Intention I will learn how computers store text.
Option: Data Representation
Option: Data Representation
Lecture 36 – Unit 6 – Under the Hood Binary Encoding – Part 2
Presentation transcript:

Working with text ASCII and UNICODE

  

From the CAS curriculum KEY STAGE 3  Representations of:  Unsigned integers  Text. [Key point: each character is represented by a bit pattern. Meaning is by convention only. Examples: Morse code, ASCII.]  Sounds [both involving analogue to digital conversion, e.g. WAV, and free of such conversion, e.g. MIDI]  Pictures [e.g. bitmap] and video.  Many different things may share the same representation, or “the meaning of a bit pattern is in the eye of the beholder” *e.g. the same bits could be interpreted as a BMP file or a spreadsheet file; an 8-bit value could be interpreted as a character or as a number].

Today’s session 5:00 – 6:00 Computers and text 6.00 – 7.00 Programming in Scratch

Encoding and decoding See Boston University CS101 presentation – go to first lecture (whole series is good!) Boston University CS101 presentation An excellent introduction to Computer Science and what a bit pattern might mean

Text?

Sound?

Image?

Text Data  Are sets of characters  Characters could be letters, digits, symbols (£, &),  Telephone numbers are text data (should be encoded as text)

Morse Code  Morse code is one kind of coding system for text  Try these activities: code.php Lki3jxNLVCI /keeping-secrets/codes-and-code- breaking.aspx

ASCII code – another coding system for text. Used by computers space A a ! B b " C c £ D d $ E e % F f & G g ' H h ( I i ) J j * : K k Note how the codes for A.. Z, a.. Z and are sequences

ASCII & Unicode  ASCII uses 7 bits to encode characters  Extended ASCII uses 8 bits  Unicode uses 8, 16 or 32 bits and is usually shown in Hex. 16 bits is the most common system used.

ASCII codes are a subset of Unicode Unicode uses the same code for A

Explore the ASCII codes using the Insert Symbol option in MS Word What different alphabets are there? Note the character code can’t be represented in 1 byte

Now try…  James Robinson’s Binary Messaging System James Robinson’s Binary Messaging System  Can you create your name in ASCII?  Good for binary practice as well as understanding ASCII coding