Lecture Coding Schemes. Representing Data English language uses 26 symbols to represent an idea Different sets of bit patterns have been designed to represent.

Slides:



Advertisements
Similar presentations
Computer Codes Rohit Khokher. Computer Codes Data types NumericNonnumeric IntegerRealAlphabet A, B, C, …,Z a, b, c,…,z Digits 0,…,9 Special Characters.
Advertisements

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.
Processing Data.
Representing Information as Bit Patterns Lecture 4 CSCI 1405, CSCI 1301 Introduction to Computer Science Fall 2009.
Data Representation (in computer system) Computer Fundamental CIM2460 Bavy LI.
Number Systems & Logic Gates Day 1
Bits and Bytes.
COMPUTER FUNDAMENTALS David Samuel Bhatti
CODING SYSTEMS CODING SYSTEMS CODING SYSTEMS. CHARACTERS CHARACTERS digits: 0 – 9 (numeric characters) letters: alphabetic characters punctuation marks:
CHARACTERS Data Representation. Using binary to represent characters Computers can only process binary numbers (1’s and 0’s) so a system was developed.
©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,
Lecture 5.
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.
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
Computer System Basics 1 Number Systems & Text Representation Computer Forensics BACS 371.
Chapter 4: Representation of data in computer systems: Characters OCR Computing for GCSE © Hodder Education 2011.
Data Representation S2. This unit covers how the computer represents- Numbers Text Graphics Control.
Binary Arithmetic & Data representation
1 Foundations of Computer Science Chapter 2 Data Representation.
Tasanawan Soonklang Department of Computing, Faculty of Science Data Representation.
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.
DATA REPRESENTATION CHAPTER DATA TYPES Different types of data (Fig. 2.1) The computer industry uses the term “MULTIMEDIA” to define information.
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.
Business Programming I Fall – 2000 By Jim Payne Lecture 05Jim Payne - University of Tulsa2 Alphanumeric Storage Numbers that are not numbers? Alphabetic.
M204 - Data Representation
Binary 101 Gads Hill School. Aim To strengthen understanding of how computers use the binary number system to store information.
DATA REPRESENTATION 4 Y. Colette Lemard February 2009.
ASCII AND EBCDIC CODES By : madam aisha.
Information Coding Schemes Group Member : Yvonne Tiffany Jurifah bt Junaidi Clara Jane George.
Nguyen Le CS147.  2.4 Signed Integer Representation  – Signed Magnitude  – Complement Systems  – Unsigned Versus Signed Numbers.
Understanding Computers
THE CODING SYSTEM FOR REPRESENTING DATA IN COMPUTER.
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.
There are 10 different types of people in the world. Those who understand binary and those that don’t.
1 Non-Numeric Data Representation V1.0 (22/10/2005)
Nat 4/5 Computing Science Data Representation Lesson 3: Storing Text
Understanding binary Understanding Computers.
Unit 2.6 Data Representation Lesson 2 ‒ Characters
Lesson Objectives Aims You should be able to:
Binary Numbers and ASCII and EDCDIC
CSCI 198: Lecture 4: Data Representation
Chapter 3 Data Storage.
CSCI 161: Lecture 4: Data Representation
Bits & Bytes How Computers Represent Data
Representing Information as bit patterns
Phnom Penh International University (PPIU)
Data Encoding Characters.
TOPICS Information Representation Characters and Images
Data Representation ASCII.
Lecture 3 ISE101: Computing Fundamentals
Data Representation Question: Characters
How does a computer represent everything using just zeros and ones?
Computers & Programming Languages
Ch2: Data Representation
Dr. Clincy Professor of CS
Dr. Clincy Professor of CS
Presenting information as bit patterns
COMS 161 Introduction to Computing
Chapter 2 Data Representation.
COMS 161 Introduction to Computing
Learning Intention I will learn how computers store text.
ASCII and Unicode.
Presentation transcript:

Lecture Coding Schemes

Representing Data English language uses 26 symbols to represent an idea Different sets of bit patterns have been designed to represent text symbols Each set is called a code

Common Codes ASCII Extended ASCII EBCDIC Unicode

ASCII The American National Standards Institute (ANSI) developed a code called ASCII (American Standard Code for Information Interchange) This code uses 7 bits for each symbol 2 7 = 128 different symbols can be defined by the code

Figure 2-5 Representation of the word “BYTE” in ASCII code

Extended ASCII ASCII bit pattern augmented with an extra 0 on the left to represent it in a byte Some manufacturers used it to create an extra 128 symbols however, this attempt has not been very successful

EBCDIC IBM developed a code called EBCDIC – Extended Binary Coded Decimal Interchange Code It uses 8-bit patterns – It can represent up to 256 symbols This code is not used in any computers other than IBM

Unicode To represent symbols belonging to other languages a code with greater capacity was needed Unicode uses 16 bits and can represent up to 2 16 = 65,536 symbols defines codes for characters used in all the major languages written today