Presenting information as bit patterns

Slides:



Advertisements
Similar presentations
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.
Advertisements

Representing Information as Bit Patterns
Representing Information as Bit Patterns Lecture 4 CSCI 1405, CSCI 1301 Introduction to Computer Science Fall 2009.
Chapter 8_2 Bits and the "Why" of Bytes: Representing Information Digitally.
Data Representation (in computer system) Computer Fundamental CIM2460 Bavy LI.
Data Storage. SIGN AND MAGNITUDE Storing and representing numbers.
CODING SYSTEMS CODING SYSTEMS CODING SYSTEMS. CHARACTERS CHARACTERS digits: 0 – 9 (numeric characters) letters: alphabetic characters punctuation marks:
Hexadecimal and ASCII Lesson Objective: Understand the purpose of ASCII and how to use it. Lesson Outcome: Convert between Hexadecimal and ASCII Convert.
Lecture 5.
Representing text Each of different symbol on the text (alphabet letter) is assigned a unique bit patterns the text is then representing as.
Computer System Basics 1 Number Systems & Text Representation Computer Forensics BACS 371.
Data Representation S2. This unit covers how the computer represents- Numbers Text Graphics Control.
Computer Math CPS120: Data Representation. Representing Data The computer knows the type of data stored in a particular location from the context in which.
Computer Structure & Architecture 7c - Data Representation.
Data Representation A series of eight bits is called a byte. A byte can be used to represent a number or a character. As you’ll see in the following table,
EX_01.1/46 Numeric Systems. EX_01.2/46 Overview Numeric systems – general, Binary numbers, Octal numbers, Hexadecimal system, Data units, ASCII code,
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.
Introduction to Computer Design CMPT 150 Section: D Ch. 1 Digital Computers and Information CMPT 150, Chapter 1, Tariq Nuruddin, Fall 06, SFU 1.
1 INFORMATION IN DIGITAL DEVICES. 2 Digital Devices Most computers today are composed of digital devices. –Process electrical signals. –Can only have.
What is a computer? A computer is a device that:
©Contrinex JDC PPT_XF_BinHexDecASCII Encoding information J.-D. Chatelain.
Computer System Basics 1 Number Systems & Text Representation Computer Forensics BACS 371.
Section 3.1: Number Representation Practice HW (not to hand in) From Barr Text p. 185 # 1-5.
CISC1100: Binary Numbers Fall 2014, Dr. Zhang 1. Numeral System 2  A way for expressing numbers, using symbols in a consistent manner.  " 11 " can be.
SEC (1.4) Representing Information as bit patterns.
Representing Characters in a computer Pressing a key on the computer a code is generated that the computer can convert into a symbol for displaying or.
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 as the computer sees it 1.  Number systems Number systems  Data storage Data storage  Glossary Glossary 2.
CS 111 – Sept. 1 Intro to data representation Binary numbers –Convert binary  decimal –Convert decimal  binary Text –ASCII and Unicode Commitment: –For.
Ch Chapter 4 Basic Data Types and Variables 4.1 Basic Data Types In C TABLE 4.1 Introduction to Basic Data Types in C Type SizeDescription char 1.
Copyright 2007 Jim Martin1 Computer Communications Dr. Jim Martin
Irvine, Kip R. Assembly Language for Intel-Based Computers 6/e, Signed Integers The highest bit indicates the sign. 1 = negative, 0 = positive.
Business Programming I Fall – 2000 By Jim Payne Lecture 05Jim Payne - University of Tulsa2 Alphanumeric Storage Numbers that are not numbers? Alphabetic.
ASCII AND EBCDIC CODES By : madam aisha.
Information Coding Schemes Group Member : Yvonne Tiffany Jurifah bt Junaidi Clara Jane George.
Chapter 1 Representing Data in a Computer. 1.1 Binary and Hexadecimal Numbers.
Understanding Computers
Understanding Binary Understanding Computers. Understanding Computers L3 – Understanding Binary Learning Objectives All will Understand why all data is.
1.4 Representation of data in computer systems Character.
Introduction to computer science Lec2 cs111. Extended Binary Coded Decimal Interchange Code (EBCDIC) is an 8- bit character encoding used mainly on.
Lecture Coding Schemes. Representing Data English language uses 26 symbols to represent an idea Different sets of bit patterns have been designed to represent.
Nat 4/5 Computing Science Data Representation Lesson 3: Storing Text
Day 6 - Encoding and Sending Formatted Text
Binary Representation in Text
Binary Representation in Text
Understanding binary Understanding Computers.
Unit 2.6 Data Representation Lesson 2 ‒ Characters
Chapter 3 Data Representation Text Characters
Arithmetic Shifts and Character Representation
Day 6 - Encoding and Sending Formatted Text
CSCI 198: Lecture 4: Data Representation
Data Transfer ASCII FILES.
Chapter 3 Data Storage.
CSCI 161: Lecture 4: Data Representation
RFID - EN Encoding information Encoding information J.-D. Chatelain.
Representing Information as bit patterns
Data Encoding Characters.
Data Representation ASCII.
Representing Nonnumeric Data
Numbering System TODAY AND TOMORROW 11th Edition
Binary Data representation
COMS 161 Introduction to Computing
COMS 161 Introduction to Computing
Digital Encodings.
How Computers Store Data
Day 6 - Encoding and Sending Formatted Text
Learning Intention I will learn how computers store text.
Chapter 3 - Binary Numbering System
Digital Representation of Data
ASCII and Unicode.
Presentation transcript:

Presenting information as bit patterns

Representing Information as Bit Patterns representing text Information in the form of text is normally represented by means of a code in which each of the different symbols in the text (such as the letters of the alphabet and punctuation marks) is assigned a unique bit pattern. The text is then represented as a long string of bits in which the successive patterns represent the successive symbols in the original text.

Representing Information as Bit Patterns In the 1940s and 1950s, many such codes were designed and used in connection with different pieces of equipment, producing a corresponding proliferation of communication problems. ASCII (American Standard Code for Information Interchange) Uses bit patterns of length seven

Representing Information as Bit Patterns ASCII symbol ASCII(binary) Hex Decimal space 00100000 20H 32 0~9 00110000 ~00111001 30H ~39H 48 ~57 A~Z 01000001 ~01011010 41H ~5AH 65 ~90 a~z 01100001 ~ 01111010 61H ~7AH 97 ~122 ……

Figure 1.13 The message “Hello.” in ASCII

Representing Information as Bit Patterns representing numeric values Storing information in terms of encoded characters is inefficient when the information being recorded is purely numeric. To see why, consider the problem of storing the value 25. If we insist on storing it as encoded symbols in ASCII using one byte per symbol, we need a total of 16 bits. Moreover, the largest number we could store using 16 bits is 99. However, as we will

Representing Information as Bit Patterns shortly see, by using binary notation we can store any integer in the range from 0 to 65535 in these 16 bits. Thus, binary notation (or variations of it) is used extensively for encoded numeric data for computer storage.

Representing Information as Bit Patterns Summary representing text representing numeric values