CS101.Lect12.Text.ppt

CS101.Lect12.Text.ppt - 1 1 Aaron Stevens 16 February 2011...

Info iconThis preview shows pages 1–5. Sign up to view the full content.

View Full Document Right Arrow Icon

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: 1 1 Aaron Stevens 16 February 2011 CS101 Lecture 12: Text Representation 2 What Youll Learn Today How do computers store text information? Why do some characters show up as s on my browser? 2 3 Binary Representations Recall: a single bit can be either a 0 or a 1 What if you need to represent more than 2 choices? n bits can represent 2 n possible combinations 4 Representing Text There are finite number of characters to represent, so list them all and assign each a binary pattern. Character set A list of characters and the binary codes used to represent each one. Computer manufacturers agreed to standardize in the early 1960s. 3 5 The ASCII Character Set ASCII stands for American Standard Code for Information Interchange ASCII originally used seven bits to represent each character, allowing for 128 unique characters Later extended ASCII evolved so that all eight bits were used. 6 The ASCII Character Set (7 bits) 4 7 ASCII Encoding Example: Hello, world!...
View Full Document

This note was uploaded on 12/16/2011 for the course CS 101 taught by Professor Stevens during the Spring '08 term at BU.

Page1 / 9

CS101.Lect12.Text.ppt - 1 1 Aaron Stevens 16 February 2011...

This preview shows document pages 1 - 5. Sign up to view the full document.

View Full Document Right Arrow Icon
Ask a homework question - tutors are online