The Information School of the University of Washington Oct 13fit100-08-digital1 Digital Representation INFO/CSE 100, Fall 2006 Fluency in Information Technology.

Slides:



Advertisements
Similar presentations
Review of HTML Ch. 1.
Advertisements

Digital Representation Everyone knows computers use bits and bytes … but what are they? © Lawrence Snyder, 2004.
Review Ch.1,Ch.4,Ch.7. Review of tags covered various header tags Img tag Style, attributes and values alt.
Bits and the "Why" of Bytes: Representing Information Digitally
Learning Objectives Explain the link between patterns, symbols, and information Determine possible PandA encodings using a physical phenomenon Encode.
Chapter 7 Representing Information Digitally. Copyright © 2013 Pearson Education, Inc. Publishing as Pearson Addison-Wesley Learning Objectives Explain.
Chapter 7 Representing Information Digitally. Copyright © 2013 Pearson Education, Inc. Publishing as Pearson Addison-Wesley Learning Objectives Explain.
Chapter 8_2 Bits and the "Why" of Bytes: Representing Information Digitally.
1 The Information School of the University of Washington Nov 6fit more-digital © 2006 University of Washington Digital Information INFO/CSE 100,
Chapter 8_1 Bits and the "Why" of Bytes: Representing Information Digitally.
Data Representation in Computers
Chapter 7 Representing Information Digitally. Learning Objectives Explain the link between patterns, symbols, and information Determine possible PandA.
Chapter 8 Bits and the "Why" of Bytes: Representing Information Digitally.
Data Representation (in computer system) Computer Fundamental CIM2460 Bavy LI.
Copyright © 2008 Pearson Education, Inc. Publishing as Pearson Addison-Wesley Fluency with Information Technology Third Edition by Lawrence Snyder Chapter.
COMPUTER FUNDAMENTALS David Samuel Bhatti
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.
Introduction to Computing Using Python Chapter 6  Encoding of String Characters  Randomness and Random Sampling.
©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,
Representing text Each of different symbol on the text (alphabet letter) is assigned a unique bit patterns the text is then representing as.
Binary Numbers and ASCII and EDCDIC Mrs. Cueni. Data Representation  Human speech is analog because it uses continuous signals (waves) that vary in strength.
Bits & Bytes: How Computers Represent Data
Chapter 4: Representation of data in computer systems: Characters OCR Computing for GCSE © Hodder Education 2011.
The Data Element. 2 Data type: A description of the set of values and the basic set of operations that can be applied to values of the type. Strong typing:
Lawrence Snyder University of Washington, Seattle © Lawrence Snyder 2004 How we represent bits, numbers, letters?
Globalisation & Computer systems Week 4 writing systems and their implications for globalisation character representation ASCII extended ASCII code pages.
Discovering Computers Fundamentals, 2010 Edition Living in a Digital World Chapter Three.
Digital Information  digits are symbols chapter 8 BITS & THE “WHY” OF BYTES.
1 INFORMATION IN DIGITAL DEVICES. 2 Digital Devices Most computers today are composed of digital devices. –Process electrical signals. –Can only have.
©Contrinex JDC PPT_XF_BinHexDecASCII Encoding information J.-D. Chatelain.
Globalisation & Computer systems Week 5/6 Character representation ACII and code pages UNICODE.
SEC (1.4) Representing Information as bit patterns.
The character data type char. Character type char is used to represent alpha-numerical information (characters) inside the computer uses 2 bytes of memory.
DATA REPRESENTATION CHAPTER DATA TYPES Different types of data (Fig. 2.1) The computer industry uses the term “MULTIMEDIA” to define information.
Learning Objectives Explain the link between patterns, symbols, and information Determine possible PandA encodings using a physical phenomenon Encode.
Data Representation.
The Information School of the University of Washington 15-Oct-2004cse digital1 Digital Representation INFO/CSE 100, Spring 2005 Fluency in Information.
M204 - Data Representation
© 2009 Pearson Education, Upper Saddle River, NJ All Rights ReservedFloyd, Digital Fundamentals, 10 th ed Digital Logic Design Dr. Oliver Faust.
HNC COMPUTING - COMPUTER PLATFORMS 1 Micro Teach Binary.
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.
Chapter 7 Representing Information Digitally. Learning Objectives Explain the link between patterns, symbols, and information Determine possible PandA.
Some basic concepts underlying computer archi­tecture
Chapter 8 & 11: Representing Information Digitally
Digitizing Discrete Information
Binary Numbers and ASCII and EDCDIC
Bits and the "Why" of Bytes: Representing Information Digitally
Communicating in the Blink of an Eye
RFID - EN Encoding information Encoding information J.-D. Chatelain.
Representing Information as bit patterns
Data Encoding Characters.
TOPICS Information Representation Characters and Images
Representing Nonnumeric Data
Data Representation Question: Characters
Digital Representation
Fundamentals of Data Representation
Presenting information as bit patterns
INFO/CSE 100, Spring 2005 Fluency in Information Technology
Chapter 2 Data Representation.
Digital Encodings.
Learning Intention I will learn how computers store text.
The Data Element.
The Data Element.
C Programming Language
Digital Representation of Data
ASCII and Unicode.
Presentation transcript:

The Information School of the University of Washington Oct 13fit digital1 Digital Representation INFO/CSE 100, Fall 2006 Fluency in Information Technology

The Information School of the University of Washington Oct 13fit digital2 Readings and References Reading »Fluency with Information Technology Chapter 8, Bits and the "Why" of Bytes

The Information School of the University of Washington Oct 13fit digital3 Info Representation Digitization: representing information by any fixed set of symbols »decide how many different items of information you want to represent Tic Tac Toe: 2 items - player 1 or player 2 »decide how many "digits" or positions you want to use Tic Tac Toe: 1 position - a board square, 9 squares total »decide on a set of symbols player 1:  player 2: 

The Information School of the University of Washington Oct 13fit digital4 Are two symbols enough?     We can represent each player's move this way, but what about representing the whole game?

The Information School of the University of Washington Oct 13fit digital5 Empty position:           Now we can represent this game as one 9-digit length string:          How many possible game states are there? »3  3  3  3  3  3  3  3  3 = 3 9 = 19,683 use this set of symbols empty cell:  player 1:  player 2: 

The Information School of the University of Washington Oct 13fit digital6 Another encoding Now we can represent this game as one 9-digit number: How many possible game states are there? »3  3  3  3  3  3  3  3  3 = 3 9 = 19,683 use a different set of symbols empty cell:0 player 1:1 player 2:2

The Information School of the University of Washington Oct 13fit digital7 Info in the Physical World Physical world: Present and Absent (PandA) »The most fundamental representation of information is presence/absence of a phenomenon Any controllable phenomenon works: define it right

The Information School of the University of Washington Oct 13fit digital8 Info in the Logical World Logical World: »Information, reasoning, computation are formulated by true/false and logic All men are mortal Aristotle is a man Aristotle is mortal True and false can be the patterns for encoding information 0010

The Information School of the University of Washington Oct 13fit digital9 Lets Raise our Hands

The Information School of the University of Washington Oct 13fit digital10 Connect Physical/Logical The power of IT comes from the fact that physical and logical worlds can be connected Present represents true / Absent represents false -- or maybe vice versa -- Memory false true false false false true true false true false true false false false

The Information School of the University of Washington Oct 13fit digital11 Bits PandA is a binary representation because it uses 2 patterns Tic Tac Toe had 3 patters and thus was not binary The word "bit" »is a contraction for “binary digit” »represents a scenario being set and detected in 2 patterns

The Information School of the University of Washington Oct 13fit digital12 Possible Interpretations of Bit Patterns

The Information School of the University of Washington Oct 13fit digital13 Assigning Symbols for Characters 26 uppercase and 26 lowercase letters in English, plus 10 digits, plus 20 basic punctuation characters = 95 distinct characters Representing this many characters in binary takes 7 bits! 2 6 (6 bits) gives 64 symbols 2 7 (7 bits) gives 128 symbols 7-bit code for characters is ASCII (American Standard Code for Information Interchange)

The Information School of the University of Washington Oct 13fit digital14 8-bit ASCII More hands!

The Information School of the University of Washington Oct 13fit digital15 Bytes A byte is eight bits treated as a unit »Adopted by IBM in 1960s »A standard measure until very recently »Bytes encode the Latin alphabet using ASCII -- the American Standard Code for Information Interchange How many bytes?!?

The Information School of the University of Washington Oct 13fit digital16 Unicode Although 8-bit ASCII is widely used, there is a problem!!! »Can’t support more than 256 characters »This eliminates more than half of the world’s language from the character set Unicode is a 16-bit representation »Supports 65,536 symbols »Can handle all languages

The Information School of the University of Washington Oct 13fit digital17 HTML Encoding 8bit ASCII : 256 Characters » 16bit Unicode: 65,536 Characters »

The Information School of the University of Washington Oct 13fit digital18 So Everything can be a 1 or a 0? A Chair can be a 1 or 0? »Letters C H A I R -> ASCII Code -> 1/0 »Description of chair in words »How advanced can we get? Picture of the chair 1/0s? Movie of the chair? Interactive 3D model of the chair?

The Information School of the University of Washington Oct 13fit digital19 Summary IT joins physical & logical worlds »Symbols represent things 1-to-1 »Create symbols by grouping patterns »PandA representation is fundamental presence and absence Can be represented in binary »Bit, a place where 2 patterns set/detect »ASCII is a byte encoding of Latin alphabet