Character coding schemes

Slides:



Advertisements
Similar presentations
Even/odd parity (1) Computers can sometimes make errors when they transmit data. Even/odd parity: is basic method for detecting if an odd number of bits.
Advertisements

Hamming Code.
KFUPM COE 202: Digital Logic Design Number Systems Part 3 Courtesy of Dr. Ahmad Almulhem.
CSCI 4717/5717 Computer Architecture
Parity Generator and Checker
ENGIN112 L4: Number Codes and Registers ENGIN 112 Intro to Electrical and Computer Engineering Lecture 4 Number Codes and Registers.
Quantum Error Correction SOURCES: Michele Mosca Daniel Gottesman Richard Spillman Andrew Landahl.
Using Binary Coding Information Remember  Bit = 0 or 1, Binary Digit  Byte = the number of bits used to represent letters, numbers and special characters.
Error Detection / Correction
Using Binary Coding Information Remember  Bit = 0 or 1, Binary Digit  Byte = the number of bits used to represent letters, numbers and special characters.
CS 151 Digital Systems Design Lecture 4 Number Codes and Registers.
Unit 1 Protocols Learning Objectives: Understand the need to detect and correct errors in data transmission.
Data Representation (in computer system) Computer Fundamental CIM2460 Bavy LI.
Error Detection/Correction Section 1.7 Section 3.9 Bonus Material: Hamming Code.
Hamming It Up with Hamming Codes CSE 461 Section Week 3.
Design and Synthesis of Universal Asynchronous Receiver and Transmitter (UART) Using Verilog HDL Prepared by: Engr. Qazi Zia, Assistant Professor EED,
1.6 Signed Binary Numbers.
Lecture 6 Topics Character codes Error Detection and Correction
Binary Numbers and ASCII and EDCDIC Mrs. Cueni. Data Representation  Human speech is analog because it uses continuous signals (waves) that vary in strength.
Aloha Aloha What you see: What the computer sees: binary number columns binary number columns
Computer Structure & Architecture 7c - Data Representation.
Cosc 2150: Computer Organization
Digital Logic Lecture 4 Binary Codes The Hashemite University Computer Engineering Department.
Error Detection and Correction
1 INFORMATION IN DIGITAL DEVICES. 2 Digital Devices Most computers today are composed of digital devices. –Process electrical signals. –Can only have.
CIT 307 Online Data Communications Error Detection Module 11 Kevin Siminski, Instructor.
Data Link Layer: Error Detection and Correction
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.
CPS3340 COMPUTER ARCHITECTURE Fall Semester, /3/2013 Lecture 9: Memory Unit Instructor: Ashraf Yaseen DEPARTMENT OF MATH & COMPUTER SCIENCE CENTRAL.
CS 111 – Sept. 13 Error detection Error correction Review/practice chapter 1 questions Commitment: –Please read sections 2.1 and 2.2.
Error-Detecting and Error-Correcting Codes
Guide to Assignment 3 and 4 Programming Tasks 1 CSE 2312 Computer Organization and Assembly Language Programming Vassilis Athitsos University of Texas.
2.2 Interfacing Computers MR JOSEPH TAN CHOO KEE TUESDAY 1330 TO 1530
Computer Architecture Error Correcting Codes Ralph Grishman Oct (Text pp and B-65-67) NYU.
1 Product Codes An extension of the concept of parity to a large number of words of data 0110… … … … … … …101.
Data Link Layer 1. 2 Single-bit error 3 Multiple-bit error 4.
The ASCII Alphanumeric Code What is it? Why use it? How do we use it?
ERROR DETECTION AND CORRECTION Chapter 8 Data Communications & Networking ERROR DETECTION AND CORRECTION Chapter 8 First Semester 2007/2008.
Data Transmission and Networks Transmission error checking & correcting.
THE CODING SYSTEM FOR REPRESENTING DATA IN COMPUTER.
1.4 Representation of data in computer systems Character.
Lecture Coding Schemes. Representing Data English language uses 26 symbols to represent an idea Different sets of bit patterns have been designed to represent.
Hamming Codes The Hamming Code is a Forward Error-correcting Code (FEC) that uses redundant bits to correct a single bit error For 4 bit codes, 3 redundant.
Text and Images Key Revision Points.
Conversion of information in different coding systems
Binary Numbers and ASCII and EDCDIC
ERROR DETECTION AND CORRECTION
ERROR CORRECTING CODES
Data Transfer ASCII FILES.
Error Correcting Code.
Representing characters
Binary & Hexidecimal Numbers
Even/odd parity (1) Computers can sometimes make errors when they transmit data. Even/odd parity: is basic method for detecting if an odd number of bits.
Representing Information as bit patterns
Data Encoding Characters.
Folders out, planners out…
Error Detection Bit Error Rate(BER): It is the ratio of number Ne of errors appearing over a certain time interval t to the number Nt of 1 and 0 pulses.
Welcome to the presentation. Linear Block Codes Almost all block codes used today belong to a subset called linear block codes. The exclusive OR of two.
Data Representation Question: Characters
1. Explain how ASCII is used to represent text in a computer system
Dr. Clincy Professor of CS
Fundamentals of Data Representation
Digital Encodings.
Error Correction Codes
How Computers Store Data
Exercise 3 1. Describe what are the packet, the packet communication, and motivations using the packet in computer communications. 2. (1) An ASCII coded.
Learning Intention I will learn how computers store text.
CS 325: CS Hardware and Software Organization and Architecture
Electronic Memory.
Lesson 3.7 Parity Error Checking
Presentation transcript:

Character coding schemes Highcliffe School ICT Department

Intro How do we store text in computer memory? We use coding schemes. ASCII UNICODE

Intro How do we store text in computer memory? We use coding schemes. ASCII UNICODE

128 Characters A = 65 1000001 7 Bits ASCII UNICODE

128 Characters A = 65 1000001 ASCII 7 Bits UNICODE

A = 65 1000001 ASCII 7 Bits 128 Characters UNICODE

ASCII 7 Bits 128 Characters UNICODE A = 65 1000001

?1000001 Error Checking other characters UNICODE ASCII 7 Bits 128 Characters A = 65

?1000001 Error Checking other characters UNICODE ASCII 7 Bits 128 Characters A = 65

A 65 1000001 B 66 1000010 C 67 1000011 a 97 1100010 b 98 1100011

A 65 1000001 00110100 00111000 B 66 1000010 C 67 1000011 48 ERROR CHECKING a 97 1100010 00000000 00110000 b 98 1100011

ASCII Characters 00110100 00111000 48 ERROR CHECKING 00000000 00110000 65 1000001 00110100 00111000 B 66 1000010 C 67 1000011 48 ERROR CHECKING a 97 1100010 00000000 00110000 b 98 1100011 Number -16 Bit Word

ASCII Characters 00110100 00111000 52 56 ERROR CHECKING 4 8 48 65 1000001 00110100 00111000 B 66 1000010 52 56 C 67 1000011 ERROR CHECKING 4 8 a 97 1100010 48 00000000 00110000 b 98 1100011 Number -16 Bit Word

A 65 1000001 00110100 00111000 B 66 1000010 C 67 1000011 ERROR CHECKING 48 a 97 1100010 00000000 00110000 b 98 1100011

ERROR CHECKING 00110100 00111000 Even Parity Total 1 Bits = even 48 65 1000001 00110100 00111000 B 66 1000010 Even Parity Total 1 Bits = even C 67 1000011 48 _1100110 Odd Parity Total 0 Bits = odd a 97 1100010 00000000 00110000 b 98 1100011 _1100110

ERROR CHECKING 00110100 00111000 Majority Vote Even Parity 65 1000001 00110100 00111000 B 66 1000010 Majority Vote Even Parity Total 1 Bits = even C 67 1000011 0 1 0 1 1 1 0 1 48 _1100110 000 111 000 111 111 111 000 111 a 97 1100010 Odd Parity Total 0 Bits = odd 00000000 00110000 010 110 100 110 011 101 000 011 b 98 1100011 _1100110

Hamming code - transmitting Bit Position 11 10 9 8 7 6 5 4 3 2 1 Date/Parity D P4 P3 P2 P1 Data Code Sent

Hamming code - DECODING Bit Position 11 10 9 8 7 6 5 4 3 2 1 Date/Parity D P4 P3 P2 P1 Code Flip Data