Chapter 8_2 Bits and the "Why" of Bytes: Representing Information Digitally.

Slides:



Advertisements
Similar presentations
Review of HTML Ch. 1.
Advertisements

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.
CSC /703 CTI/DePaul1 CSC-255 Lecture 3 Text and Numerical Storage (Chapter 1 from Brookshear) Modified by Ufuk Verun from Jim Janossy © 2002, DePaul.
1. Discrete / Continuous Representations Of numbers – binary & decimal Bits Hexadecimal - 'Hex' Representing text Bits and Bytes.
Chapter 8_1 Bits and the "Why" of Bytes: Representing Information Digitally.
Copyright © 2011 Pearson Education, Inc. Publishing as Pearson Addison-Wesley Representing Information Digitally Bits and the “Why” of Bytes lawrence snyder.
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.
IT-101 Section 001 Lecture #4 Introduction to Information Technology.
Copyright © 2008 Pearson Education, Inc. Publishing as Pearson Addison-Wesley Fluency with Information Technology Third Edition by Lawrence Snyder Chapter.
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
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.
CODING SYSTEMS CODING SYSTEMS CODING SYSTEMS. CHARACTERS CHARACTERS digits: 0 – 9 (numeric characters) letters: alphabetic characters punctuation marks:
©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.
Computer System Basics 1 Number Systems & Text Representation Computer Forensics BACS 371.
Digital Information  digits are symbols chapter 8 BITS & THE “WHY” OF BYTES.
EX_01.1/46 Numeric Systems. EX_01.2/46 Overview Numeric systems – general, Binary numbers, Octal numbers, Hexadecimal system, Data units, ASCII code,
Chapter 8 Fluency with Information Technology 4 th edition by Lawrence Snyder (slides by Deborah Woodall : 1.
Copyright © 2011 Pearson Education, Inc. Publishing as Pearson Addison-Wesley Representing Information Digitally Bits and the “Why” of Bytes lawrence snyder.
CS151 Introduction to Digital Design
Globalisation & Computer systems Week 5/6 Character representation ACII and code pages UNICODE.
Data Representation, Number Systems and Base Conversions
DATA REPRESENTATION CHAPTER DATA TYPES Different types of data (Fig. 2.1) The computer industry uses the term “MULTIMEDIA” to define information.
The Information School of the University of Washington Oct 13fit digital1 Digital Representation INFO/CSE 100, Fall 2006 Fluency in Information Technology.
Agenda Character representation Numerical Conversions ASCII EBCDIC
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.
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.
1 Problem Solving using Computers “Data....Representation, and Storage.
Data Representation. How is data stored on a computer? Registers, main memory, etc. consists of grids of transistors Transistors are in one of two states,
Characters and Strings
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.
1.4 Representation of data in computer systems Character.
Chapter 7 Representing Information Digitally. Learning Objectives Explain the link between patterns, symbols, and information Determine possible PandA.
Day 6 - Encoding and Sending Formatted Text
Binary Representation in Text
Binary Representation in Text
Chapter 8 & 11: Representing Information Digitally
Chapter 3 Data Representation Text Characters
Digitizing Discrete Information
Binary Numbers and ASCII and EDCDIC
Day 6 - Encoding and Sending Formatted Text
Bits and the "Why" of Bytes: Representing Information Digitally
Data Representation ASCII.
Ch2: Data Representation
Digital Representation
Information Representation
Presenting information as bit patterns
COMS 161 Introduction to Computing
Chapter 2 Data Representation.
COMS 161 Introduction to Computing
Day 6 - Encoding and Sending Formatted Text
Data Representation Chapter 2 Computer HW (Von Neumann Model) Program
Learning Intention I will learn how computers store text.
C Programming Language
Chapter 3 - Binary Numbering System
Digital Representation of Data
ASCII and Unicode.
Presentation transcript:

Chapter 8_2 Bits and the "Why" of Bytes: Representing Information Digitally

Copyright © 2006 Pearson Addison-Wesley. All rights reserved. 8-2 The 16 Hex Digits 0,1,2,3,4,5,6,7,8,9,A,B,C,D,E,F Sixteen digits (or hexits) can be represented perfectly by the 16 symbols of 4-bit sequences Changing hex digits to bits and back again: –Given a sequence of bits, group them in 4's and write the corresponding hex digit –Given hex, write the associated group of 4 digits

Copyright © 2006 Pearson Addison-Wesley. All rights reserved. 8-3 Binary and Octal Equivalence Place Value Binary Number Octal Equivalent = 24 8

Copyright © 2006 Pearson Addison-Wesley. All rights reserved. 8-4 Binary and Hexadecimal Equivalence Place Value Binary Number Hexadecimal Equivalent = 14 16

Copyright © 2006 Pearson Addison-Wesley. All rights reserved. 8-5 Digitizing Text Early binary representation—1 and 0— encoded numbers and keyboard characters Now representation for sound, video, and other types of information are also important For encoding text, what symbols should be included? –We want to keep the list small enough to use fewer bits, but we don't want to leave out critical characters

Copyright © 2006 Pearson Addison-Wesley. All rights reserved. 8-6 Assigning Symbols 26 uppercase and 26 lowercase Roman letters, 10 Arabic numerals, 10 arithmetic characters, 20 punctuation characters (including space), and 3 non-printable characters (new line, tab, backspace) = 95 characters, enough to represent English For 95 symbols, we need 7-bit sequences A standard 7-bit code is ASCII(American Standard Code for Information Interchange)

Copyright © 2006 Pearson Addison-Wesley. All rights reserved. 8-7 Extended ASCII: An 8-bit Code By the mid-1960's, it became clear that 7 bit ASCII was not enough to represent text from languages other than English IBM extended ASCII to 8 bits, 256 symbols Called "Extended ASCII," the first half is original ASCII with a 0 added at the beginning of each group of bits Handles most Western languages and additional useful symbols

Copyright © 2006 Pearson Addison-Wesley. All rights reserved. 8-8

Copyright © 2006 Pearson Addison-Wesley. All rights reserved. 8-9 ASCII American Standard Code for Information Interchange

Copyright © 2006 Pearson Addison-Wesley. All rights reserved ASCII Coding of Phone Numbers How would a computer represent in its memory, the phone number ? Encode each digit with its ASCII byte

Copyright © 2006 Pearson Addison-Wesley. All rights reserved NATO Broadcast Alphabet The code for broadcast communication is purposefully inefficient, to be distinctive when spoken amid noise

Copyright © 2006 Pearson Addison-Wesley. All rights reserved The Oxford English Dictionary Extended ASCII codes letters and characters well, but most documents contain more than just text. –Format information like font, font size, justification Formatting characters could be added to ASCII, but that mixes the content with the description of its form (metadata) Metadata is represented using tags, as in HTML

Copyright © 2006 Pearson Addison-Wesley. All rights reserved Using Tags to Encode Oxford English Dictionary (OED) printed version is 20 volumes We could type the entire contents as ASCII characters (in about 120 years), but searching would be difficult –Suppose you search for the word "set." It is included in many other words like closet, horsetail, settle, etc. –How will the software know what characters comprise the definition of set? Incorporate metadata

Copyright © 2006 Pearson Addison-Wesley. All rights reserved Structure Tags Special set of tags was developed to specify OED's structure – means headword, the word being defined –Other tags label pronunciation, phonetic notation, parts of speech The tags do not print. They are there only to specify structure so the computer knows what part of the dictionary it is looking at

Copyright © 2006 Pearson Addison-Wesley. All rights reserved. 8-15

Copyright © 2006 Pearson Addison-Wesley. All rights reserved Why "BYTE" Why is BYTE spelled with a Y? The Engineers at IBM were looking for a word for a quantity of memory between a bit and a word (usually 32 bits). Bite seemed appropriate, but they changed the i to a y, to minimize typing errors