Communicating in the Blink of an Eye

Slides:



Advertisements
Similar presentations
Review of HTML Ch. 1.
Advertisements

1 Chapter 2 The Digital World. 2 Digital Data Representation.
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
Chapter 7 Representing Information Digitally. Copyright © 2013 Pearson Education, Inc. Publishing as Pearson Addison-Wesley Learning Objectives Explain.
Using Binary Coding Information Remember  Bit = 0 or 1, Binary Digit  Byte = the number of bits used to represent letters, numbers and special characters.
Using Binary Coding Information Remember  Bit = 0 or 1, Binary Digit  Byte = the number of bits used to represent letters, numbers and special characters.
Representing Information as Bit Patterns
Chapter 8_2 Bits and the "Why" of Bytes: Representing Information Digitally.
Implementation of a Stored Program Computer
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.
Data Storage. SIGN AND MAGNITUDE Storing and representing numbers.
CCE-EDUSAT SESSION FOR COMPUTER FUNDAMENTALS Date: Session III Topic: Number Systems Faculty: Anita Kanavalli Department of CSE M S Ramaiah.
COMPUTER FUNDAMENTALS David Samuel Bhatti
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.
CCE-EDUSAT SESSION FOR COMPUTER FUNDAMENTALS Faculty: Anita Kanavalli Department of CSE M S Ramaiah Institute of Technology Bangalore E mail-
1 herbert van de sompel CS 502 Computing Methods for Digital Libraries Cornell University – Computer Science Herbert Van de Sompel
Chapter 3 Representing Numbers and Text in Binary Information Technology in Theory By Pelin Aksoy and Laura DeNardis.
Representing text Each of different symbol on the text (alphabet letter) is assigned a unique bit patterns the text is then representing as.
Lawrence Snyder University of Washington, Seattle © Lawrence Snyder 2004 How we represent bits, numbers, letters?
Digital Information  digits are symbols chapter 8 BITS & THE “WHY” OF BYTES.
Copyright © 2011 Pearson Education, Inc. Publishing as Pearson Addison-Wesley Representing Information Digitally Bits and the “Why” of Bytes lawrence snyder.
Fill in the blanks: (1) _________ has only two possible values 0 and 1. (2) There are __________bits in a byte. (3) 1 kilobyte of memory space can store.
1 INFORMATION IN DIGITAL DEVICES. 2 Digital Devices Most computers today are composed of digital devices. –Process electrical signals. –Can only have.
Implementation of a Stored Program Computer ITCS 3181 Logic and Computer Systems 2014 B. Wilkinson Slides2.ppt Modification date: Oct 16,
1 Pertemuan 2 Network Math. Discussion Topics Binary presentation of data Bits and bytes Base 10 number system Base 2 number system Converting decimal.
 Three components  Your misinformation page and images  The disclaimer page  Testing it with others  This week's labs are dedicated to Project 1B.
Lawrence Snyder University of Washington, Seattle © Lawrence Snyder 2004.
Globalisation & Computer systems Week 5/6 Character representation ACII and code pages UNICODE.
Data Representation Conversion 24/04/2017.
Binary System Presented by Mr. Wilhelmi Internal Representation of Data Input Input  Data that is put into the computer for processing Data Data  The.
The Information School of the University of Washington Oct 13fit digital1 Digital Representation INFO/CSE 100, Fall 2006 Fluency in Information Technology.
 Functions package up computation … when do we use them? All the time.  Write some simple code to achieve a goal … 12/20/2015© 2010 Larry Snyder, CSE1.
Base 2 Numbering System Chapter 1.
Learning Objectives Explain the link between patterns, symbols, and information Determine possible PandA encodings using a physical phenomenon Encode.
The Information School of the University of Washington 15-Oct-2004cse digital1 Digital Representation INFO/CSE 100, Spring 2005 Fluency in Information.
Fluency with Information Technology INFO100 and CSE100 Katherine Deibel Katherine Deibel, Fluency in Information Technology1.
Characters CS240.
Information Coding Schemes Group Member : Yvonne Tiffany Jurifah bt Junaidi Clara Jane George.
Lawrence Snyder University of Washington, Seattle © Lawrence Snyder 2004 Making an example of Pacman.
09/06/ Data Representation ASCII, Binary Denary Conversion, Integer & Boolean data types.
Understanding Computers
Understanding Binary Understanding Computers. Understanding Computers L3 – Understanding Binary Learning Objectives All will Understand why all data is.
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.
Binary Representation in Text
Binary Representation in Text
Understanding binary Understanding Computers.
Databases That's no moon. It's a base of data... in space
Chapter 8 & 11: Representing Information Digitally
INTERNATIONALIZATION
Bits and the "Why" of Bytes: Representing Information Digitally
Representing Information as bit patterns
Data Encoding Characters.
TOPICS Information Representation Characters and Images
Lawrence Snyder University of Washington, Seattle
Data Representation Conversion 05/12/2018.
Digital Representation
Binary Data representation
Fundamentals of Data Representation
Presenting information as bit patterns
Digital Encodings.
Announcements SGID Feedback! Thank you!! Readings:
Learning Intention I will learn how computers store text.
Transforming Data into Information
C Programming Language
Presentation transcript:

Communicating in the Blink of an Eye How we represent bits, numbers, letters? Communicating in the Blink of an Eye Lawrence Snyder University of Washington, Seattle © Lawrence Snyder 2004

A Quick Comment on Processing We have written two kinds of Processing programs – static, which only draw a picture dynamic, which keep drawing a picture click What’s The Difference? 8/7/2018 © 2010 Lawrence Snyder, CSE

A Curious Story… The Diving Bell and the Butterfly Jean-Dominique Bauby 8/7/2018 © 2010 Lawrence Snyder, CSE

Asking Yes/No Questions A protocol for Yes/No questions One blink == Yes Two blinks == No PandA implies that this is not the fewest number of blinks … really? 8/7/2018 © 2010 Lawrence Snyder, CSE

Asking Letters In English ETAOINSHRDLU… 8/7/2018 © 2010 Lawrence Snyder, CSE

Compare Two Orderings How many questions to encode: Plus ça change, plus c'est la même chose? Asking in Frequency Order: ESARINTULOMDPCFBVHGJQZYXKW 9 12 8/7/2018 © 2010 Lawrence Snyder, CSE

Compare Two Orderings How many questions to encode: Plus ça change, plus c'est la même chose? Asking in Frequency Order: ESARINTULOMDPCFBVHGJQZYXKW Asking in Alphabetical Order: ABCDEFGHIJKLMNOPQRSTUVWXYZ 12 16 8/7/2018 © 2010 Lawrence Snyder, CSE

Compare Two Orderings How many questions to encode: Plus ça change, plus c'est la même chose? Asking in Frequency Order: 247 ESARINTULOMDPCFBVHGJQZYXKW Asking in Alphabetical Order: 324 ABCDEFGHIJKLMNOPQRSTUVWXYZ 8/7/2018 © 2010 Lawrence Snyder, CSE

An Algorithm Spelling by going through the letters is an algorithm Going through the letters in frequency order is a program (also, an algorithm but with the order specified to a particular case, i.e. FR) The nurses didn’t look this up in a book … they invented it to make their work easier; they were thinking computationally, though they probably didn’t know it 8/7/2018 © 2010 Lawrence Snyder, CSE

Bits PandA is a binary representation because it uses 2 patterns Bit -- it’s a contraction for “binary digit” -- a position in space/time capable of being set and detected in 2 patterns Sherlock Holmes’s Mystery of Silver Blaze -- a popular example where “absent” gives information … the dog didn’t bark, that is the phenomenon wasn’t detected 8/7/2018 © 2010 Lawrence Snyder, CSE

Bytes A byte is eight bits treated as a unit Adopted by IBM in 1960s A standard measure ever since Bytes encode the Latin alphabet using ASCII -- the American Standard Code for Information Interchange 0101 0101 0101 0111 8/7/2018 © 2010 Lawrence Snyder, CSE

ASCII 0100 0011 0101 0011 0101 0000 0100 1000|0111 0101|0111 0011|0110 1011|0110 1001|0110 0101|0111 0011|0010 0001 8/7/2018 © 2010 Lawrence Snyder, CSE

UTF-8 Uniform Transformation Format for bytes (UTF-8) is universal … all characters have a place: 1,2,3,4 B 8/7/2018 © 2010 Lawrence Snyder, CSE

Encoding Information Bits and bytes encode the information, but that’s not all Tags encode format and some structure in word processors Tags encode format and some structure in HTML In the Oxford English Dictionary tags encode structure and some formatting Tags are one form of meta-data: meta-data is information about information 8/7/2018 © 2010 Lawrence Snyder, CSE

OED Entry For Byte -- Metadata byte (baIt). Computers. [Arbitrary, prob. influenced by bit sb.4 and bite sb.] A group of eight consecutive bits operated on as a unit in a computer. 1964 Blaauw & Brooks in IBM Systems Jrnl. III. 122 An 8-bit unit of information is fundamental to most of the formats [of the System/360]. A consecutive group of n such units constitutes a field of length n. Fixed-length fields of length one, two, four, and eight are termed bytes, halfwords, words, and double words respectively. 1964 IBM Jrnl. Res. & Developm. VIII. 97/1 When a byte of data appears from an I/O device, the CPU is seized, dumped, used and restored. 1967 P. A. Stark Digital Computer Programming xix. 351 The normal operations in fixed point are done on four bytes at a time. 1968 Dataweek 24 Jan. 1/1 Tape reading and writing is at from 34,160 to 192,000 bytes per second. <e><hg><hw>byte</hw> <pr><ph>baIt</ph></pr></hg>. <la>Computers</la>. <etym>Arbitrary, prob. influenced by <xr><x>bit</x></xr> <ps>n.<hm>4</hm></ps>and <xr><x>bite</x> <ps>n.</ps> </xr></etym> <s4>A group of eight consecutive bits operated on as a unit in a computer.</s4> <qp><q><qd>1964</qd><a>Blaauw</a> &amp. <a>Brooks</a> <bib>in</bib> <w>IBM Systems Jrnl.</w> <lc>III. 122</lc> <qt>An 8-bit unit of information is fundamental to most of the formats <ed>of the System/360</ed>.&es.A consecutive group of <i>n</i> such units constitutes a field of length <i>n</i>.&es.Fixed-length fields of length one, two, four, and eight are termed bytes, halfwords, words, and double words respectively. </qt></q><q><qd>1964</qd> <w>IBM Jrnl. Res. &amp. Developm.</w> <lc>VIII. 97/1</lc> <qt>When a byte of data appears from an I/O device, the CPU is seized, dumped, used and restored.</qt></q> <q><qd>1967</qd> <a>P. A. Stark</a> <w>Digital Computer Programming</w> <lc>xix. 351</lc> <qt>The normal operations in fixed point are done on four bytes at a time.</qt></q><q><qd>1968</qd> <w>Dataweek</w> <lc>24 Jan. 1/1</lc> <qt>Tape reading and writing is at from 34,160 to 192,000 bytes per second.</qt></q></qp></e> 8/7/2018 © 2010 Lawrence Snyder, CSE

Representing Information This week we have seen … Bits encode numbers using the binary representation 11 1110 0111 Bits encode letters using ASCII for North American and Western European languages This suggests an principle we will soon argue: All information can be represented with bits 8/7/2018 © 2010 Lawrence Snyder, CSE

Summary Computers join physical & logical domains so physical devices do our logical work Symbols represent things 1-to-1: 0, 1 Create symbols by grouping patterns: 0101 0111 Bit, a place where 2 patterns set/detect ASCII is a byte encoding of Latin abet In addition to content, encode structure: meta 8/7/2018 © 2010 Lawrence Snyder, CSE

Assignment 8/7/2018 © 2010 Lawrence Snyder, CSE