Digital Representation

Similar documents
Digital Representation

Digital Representation

11/13/12. HW9: Creativity in Processing. In Processing: File Export. Encoding Information: There s more! HTML and the Web.

11/11/13. HW7: Creativity in Processing. In Processing: JavaScript Mode. Encoding Information: There s more! Basics of HTML #1.

Chapter 7. Representing Information Digitally

Review of HTML. Ch. 1

5/17/2009. Digitizing Discrete Information. Ordering Symbols. Analog vs. Digital

CMPS 10 Introduction to Computer Science Lecture Notes

Chapter 3 DATA REPRESENTATION

Logic and Computer Design Fundamentals. Chapter 1 Digital Computers and Information

CMSC 1513 Lecture 1.2

Data Storage. Slides derived from those available on the web site of the book: Computer Science: An Overview, 11 th Edition, by J.

9/3/2015. Data Representation II. 2.4 Signed Integer Representation. 2.4 Signed Integer Representation

ECE260: Fundamentals of Computer Engineering

Programming Concepts and Skills. ASCII and other codes

Review of Number Systems

Bits and Bit Patterns

Chapter 1. Data Storage Pearson Addison-Wesley. All rights reserved

COMP 102: Computers and Computing

More Bits and Bytes Huffman Coding

Digital Fundamentals

IT 1204 Section 2.0. Data Representation and Arithmetic. 2009, University of Colombo School of Computing 1

10/11/2018. Partial Orderings. Partial Orderings. Partial Orderings. Partial Orderings. Partial Orderings. Partial Orderings

Coding & Computation or What s all this about 1s and 0s? File: coding-computation-slides.tex.

CHAPTER 2 Data Representation in Computer Systems

Digital Fundamentals

CHAPTER 2 Data Representation in Computer Systems

Chapter 101. Coding & Computation. Coding & Computation or What s all this about 1s and 0s? Topics

Request for Comments: 1154 Prime Computer, Inc. April 1990

(Refer Slide Time: 00:23)

Chap 1. Digital Computers and Information

Binary Representation. Jerry Cain CS 106AJ October 29, 2018 slides courtesy of Eric Roberts

IT101. Characters: from ASCII to Unicode

Unit - II. Computer Concepts and C Programming 06CCP13. Unit II

The type of all data used in a C++ program must be specified

Computer Architecture and System Software Lecture 02: Overview of Computer Systems & Start of Chapter 2

3D printed heads let hackers and cops unlock your phone

ECE260: Fundamentals of Computer Engineering

Functional Skills. Code Breaking. LO: Use logic and frequency analysis to read and write in code.

Chapter 9: Data Transmission

ECE 20B, Winter Purpose of Course. Introduction to Electrical Engineering, II. Administration

Fundamental concepts of Information Technology

Digital Systems COE 202. Digital Logic Design. Dr. Muhamed Mudawar King Fahd University of Petroleum and Minerals

CC411: Introduction To Microprocessors

Fundamentals of Programming (C)

MACHINE LEVEL REPRESENTATION OF DATA

Number Systems Prof. Indranil Sen Gupta Dept. of Computer Science & Engg. Indian Institute of Technology Kharagpur Number Representation

SISTEMI EMBEDDED. Basic Concepts about Computers. Federico Baronti Last version:

Binary Systems and Codes

2. MACHINE REPRESENTATION OF TYPICAL ARITHMETIC DATA FORMATS (NATURAL AND INTEGER NUMBERS).

C H A P T E R 1. Introduction to Computers and Programming

Midterm 1 Review Sheet CSS 305 Sp 06

Experiment 6: S-Record Loader

OBJECTIVES After reading this chapter, the student should be able to:

January Sender is willing to send list of supported 3270 Regimes in a subsequent sub-negotiation.

Basic data types. Building blocks of computation

Chapter 3: Number Systems and Codes. Textbook: Petruzella, Frank D., Programmable Logic Controllers. McGraw Hill Companies Inc.

POSSIBLE DATA OBJECTS FOR A LIBRARY RFID SYSTEM

INTRODUCTION TO COMPUTERS

Binary Codes. Dr. Mudathir A. Fagiri

Bits, bytes, binary numbers, and the representation of information

COSC 243 (Computer Architecture)

An Overview of the Computer System. Kafui A. Prebbie 24

COSC 122 Computer Fluency. Information Representation. Dr. Ramon Lawrence University of British Columbia Okanagan

Intermediate Programming & Design (C++) Notation

Survey Reading the Notes. COSC 122 Computer Fluency. Information Representation. Survey Class Still Easy? Key Points

Chapter 2: Computers: The Machines Behind Computing.

The LC3's micro-coded controller ("useq") is nothing more than a finite-state machine (FSM). It has these inputs:

ebxml Business Process & Core Components

Analogue vs. Discrete data

Announcement. (CSC-3501) Lecture 3 (22 Jan 2008) Today, 1 st homework will be uploaded at our class website. Seung-Jong Park (Jay)

LBSC 690: Information Technology Lecture 05 Structured data and databases

Digital Logic Lecture 4 Binary Codes

AP Computer Science A Unit 2. Exercises

CSC 170 Introduction to Computers and Their Applications. Lecture #1 Digital Basics. Data Representation

Audio Text for the Lesson: Counting Systems

The type of all data used in a C (or C++) program must be specified

umber Systems bit nibble byte word binary decimal

UTF and Turkish. İstinye University. Representing Text

Topics. Hardware and Software. Introduction. Main Memory. The CPU 9/21/2014. Introduction to Computers and Programming

C-string format with scanf/printf

IBM 370 Basic Data Types

M1 Computers and Data

When an instruction is initially read from memory it goes to the Instruction register.

X Language Definition

Representing Characters and Text

Technical concepts. Some basics of computers today. Comp 399

File System Interface: Overview. Objective. File Concept UNIT-IV FILE SYSTEMS

CS E1: Section 1: Counting in Binary

THE INTEGER DATA TYPES. Laura Marik Spring 2012 C++ Course Notes (Provided by Jason Minski)

Jianhui Zhang, Ph.D., Associate Prof. College of Computer Science and Technology, Hangzhou Dianzi Univ.

St. Benedict s High School. Computing Science. Software Design & Development. (Part 2 Computer Architecture) National 5

Princeton University. Computer Science 217: Introduction to Programming Systems. Data Types in C

Chapter 4: The Building Blocks: Binary Numbers, Boolean Logic, and Gates. Invitation to Computer Science, C++ Version, Third Edition

9/7/2012. Introduction. Peeking into Computer Science. Jalal Kawash Mandatory: Chapter 1 Optional: None. Reading Assignment

Dec Hex Bin ORG ; ZERO. Introduction To Computing

A Set Of Machine Language Instructions For A Program Is Called Source Code >>>CLICK HERE<<<

Beyond Base 10: Non-decimal Based Number Systems

Lecture 1: What is a computer?

Chapter 4: Computer Codes. In this chapter you will learn about:

Transcription:

Digital Representation Everyone knows computers use bits and bytes but what are they? Lawrence Snyder, 2004

Info Representation Digitization: representing information by any fixed set of symbols The representation associates one item with each symbol encode the telephone keypad using ten colors What number is:? 2

Creating Symbols Often, there are many things to digitize, but too few symbols available The solution is to create more symbols by composing patterns Three patterns make three symbols: Pairing them makes 9 symbols; when they are triples, 27 symbols, and... 3

Encode the Latin alphabet An Encoding Three pattern triples = 27 symbols A B C D E F G H I J K L M N O P Q R S T U V W X Y Z Digitize -- encode with symbols 4

Physical world: Info in the Physical World The most fundamental representation of information is presence/absence of a phenomenon matter, light, magnetism, flow, charge, The PandA representation detect: Is the phenomenon present? set: make phenomenon present or absent Any controllable phenomenon works: define it right 5

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 6

Connect Physical/Logical The miracle of IT is that physical and logical worlds can be connected Present represents true / Absent represents false Pavement Memory -- or maybe vice versa, if everyone agrees-- false true false false false true true false true false true false false false 0 1 0 0 0 1 1 0 1 0 1 0 0 0 7

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

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 0100 0110 0100 1001 0101 0100 9

ASCII 0100 0110 0100 1001 0101 0100 0100 1000 0111 0101 0111 0011 0110 1011 0110 1001 0110 0101 0111 0011 0010 0001 10

Demonstration 11

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 12

OED Entry For Byte 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> 13 <qt>tape reading and writing is at from 34,160 to 192,000 bytes per second.</qt></q></qp></e>

Summary IT joins physical & logical domains so physical devices do our logical work Symbols represent things 1-to-1 Create symbols by grouping patterns PandA representation is fundamental Bit, a place where 2 patterns set/detect ASCII is a byte encoding of Latin αbet In addition to content, encode structure 14