ASCII AND EBCDIC CODES By : madam aisha.

Slides:



Advertisements
Similar presentations
Vocabulary Electronic pulses Transistors Decimal numbers
Advertisements

Computer Codes Rohit Khokher. Computer Codes Data types NumericNonnumeric IntegerRealAlphabet A, B, C, …,Z a, b, c,…,z Digits 0,…,9 Special Characters.
1 Chapter 2 The Digital World. 2 Digital Data Representation.
©1999 Addison Wesley Longman2.1 A Bit About Bits A bit (binary digit) –is the smallest unit of information –can have two values - 1 and 0. Binary digits,
Representing Data, Pictures, Time, and Size in Computer
Processing Data.
1 Chapter Overview Computer Communication The Computer Bus Objectives  Understand how a computer transmits and receives information.  Explain the principles.
Data Representation (in computer system) Computer Fundamental CIM2460 Bavy LI.
Binary and Decimal Numbers
Introduction to Information Technology
IT-101 Section 001 Lecture #4 Introduction to Information Technology.
Number Systems & Logic Gates Day 1
Representing Information in Binary (Continued)
COMPUTER FUNDAMENTALS David Samuel Bhatti
CODING SYSTEMS CODING SYSTEMS CODING SYSTEMS. CHARACTERS CHARACTERS digits: 0 – 9 (numeric characters) letters: alphabetic characters punctuation marks:
Bits, Bytes, KiloBytes, MegaBytes, GigaBytes & TeraBytes.
Bits and Bytes.
Communications Technology 2104 Mercedes Lahey. Bit 1. bit=From a shortening of the words “binary digit” 2. the basic unit of information for computers.
Today’s Topics  Chapter 6: System Unit  Chapter 7: Input/Output and Storage.
/4 Binary Code & CPUs Digital Signals
Memory Terminology & Data Representation CSCI 1060 Fall 2006.
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 2 Computer Hardware
Copyright © 2003 by Prentice Hall Module 5 Central Processing Unit 1. Binary representation of data 2. The components of the CPU 3. CPU and Instruction.
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,
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.
What do computers know?  All they really know is on or off.  Kind of like a light switch  Computers aren’t nearly as smart as you are!
1 INFORMATION IN DIGITAL DEVICES. 2 Digital Devices Most computers today are composed of digital devices. –Process electrical signals. –Can only have.
Computer System Basics 1 Number Systems & Text Representation Computer Forensics BACS 371.
Module 3 Introduction To Computer System : Structure & Processes Introduction To Computer System : Structure & Processes.
1 3 Computing System Fundamentals 3.2 Computer Architecture.
Computer Science Binary. Binary Code Remember the power supply that is inside your computer and how it sends electricity to all of the components? That.
Data Representation (in computer system). Data Representation How do computers represent data? b The computers are digital Recognize.
Business Programming I Fall – 2000 By Jim Payne Lecture 05Jim Payne - University of Tulsa2 Alphanumeric Storage Numbers that are not numbers? Alphabetic.
UNIVERSITI TENAGA NASIONAL “Generates Professionals” MODULE 3 INTRODUCTION TO COMPUTER SYSTEM: STRUCTURE & PROCESSES.
* Numeral Systems: A writing method for expressing numbers is called a “Numeral System". In the most common numeral system, we write numbers with combinations.
M204 - Data Representation
ECE – III SEM BINARY CODES
DATA REPRESENTATION 4 Y. Colette Lemard February 2009.
Information Coding Schemes Group Member : Yvonne Tiffany Jurifah bt Junaidi Clara Jane George.
2. Data Formats. Introduction Examples pp Real World Data Computer Data Input device Dear Mom: Keyboard … Digital camera …
A+ Computer Repair Lesson 3: Number System. Objectives Define binary, decimal, octal, and hexadecimal numbering systems. Define binary, decimal, octal,
 Computers are 2-state devices › Pulse – No pulse › On – Off  Represented by › 1 – 0  BINARY.
Understanding Computers
Binary a. express numbers in binary, binary-coded decimal (BCD), octal and hexadecimal;
Binary Numbers. Base 10 and Base 2  We normally work with numbers in base 10.  In base 10 we use the digits 0, 1, 2, 3, 4, 5, 6, 7, 8 and 9.  Everything.
Understanding Binary Understanding Computers. Understanding Computers L3 – Understanding Binary Learning Objectives All will Understand why all data is.
Numerical Representation Intro to Computer Science CS1510 Dr. Sarah Diesburg 1.
Lecture Coding Schemes. Representing Data English language uses 26 symbols to represent an idea Different sets of bit patterns have been designed to represent.
Binary Representation in Text
Binary Representation in Text
Understanding binary Understanding Computers.
Binary Numbers and ASCII and EDCDIC
INFS 211: Introduction to Information Technology
3.1 Denary, Binary and Hexadecimal Number Systems
Numerical Representation
Memory Parts of a computer
Bits & Bytes How Computers Represent Data
Information Support and Services
What is Binary? Binary is a two-digit (Base-2) numerical system, which computers use to process and store data. The reason computers use the binary system.
Lecture 3 ISE101: Computing Fundamentals
How do computers work? Storage.
Numerical Representation
Computers & Programming Languages
Information Representation
Numerical Representation
LO1 – Understand Computer Hardware
Numerical Representation
Presentation transcript:

ASCII AND EBCDIC CODES By : madam aisha

How Computers Represent Data OFF ON OFF ON OR = 1 bit 1 = 1 Byte 1 1 1 OR = 1 Byte 1 1 Bit (Binary digit) – On or off state of electric current; considered the basic unit of information; represented by 1s and 0s (binary numbers) Byte – Eight bits grouped together to represent a character (an alphabetical letter, a number, or a punctuation symbol); 256 different combinations

Bits 1000 bits = 1 kilobit (kb) 1,000,000 bits = 1 megabit (mb) 1,000,000,000 bits = 1 gigabit (gb) Kilobits per second (Kbps), megabits per second (Mbps), and gigabits per second (Gbps) are terms that describe units of data used in measuring data transfer rates Example: 56 Kbps modem

Bytes 8 bits = 1 Byte 1024 Bytes = 1 Kilobyte (KB) 1,048,576 Bytes = 1 Megabyte (MB) 1,043,741,824 Bytes = 1 Gigabyte (GB) 1,099,511,627,776 Bytes = 1 Terabyte (TB) Kilobyte, megabyte, gigabyte, and terabyte are terms that describe large units of data used in measuring data storage Example: 20 GB hard disk

Representing Characters: Character Codes Character codes translate numerical data into characters readable by humans American Standard Code for Information Interchange (ASCII) – Eight bits equals one character; used by minicomputers and personal computers Extended Binary Coded Decimal Interchange Code (EBCDIC) – Eight bits equals one character; used by mainframe computers Unicode – Sixteen bits equals one character; over 65,000 combinations; used for foreign language symbols ASCII 1 = 4 EBCDIC = 4 1

Codes and Characters The problem: Representing text strings, such as “Hello, world”, in a computer Each character is coded as a byte ( = 8 bits) Most common coding system is ASCII ASCII = American National Standard Code for Information Interchange

ASCII The American Standard Code for Information Interchange is a standard seven-bit code that was proposed by ANSI (American National Standards Institute) in 1963, and finalized in 1968. ASCII, pronounced "ask-key", is the common code for microcomputer . The standard ASCII character set consists of 128 decimal numbers ranging from zero through 127 assigned to letters, numbers, punctuation marks, and the most common special characters (see ASCII Table).

ASCII Computers can only understand numbers, so an ASCII code is the numerical representation of a character such as 'a' or '@' or an action of some sort.

ASCII Features 7-bit code 8th bit is unused (or used for a parity bit) 27 = 128 codes Two general types of codes: 95 are “Graphic” codes (displayable on a console) 33 are “Control” codes (control features of the console or communications channel)

Most significant bit Least significant bit

i.e. ‘a’ = 11000012 = 9710 = 6116

95 Graphic codes

33 Control codes

Alphabetic codes

“Hello, world” Example = Binary 01001000 01100101 01101100 01101111 00101100 00100000 01110111 01100111 01110010 01100100 Hexadecimal 48 65 6C 6F 2C 20 77 67 72 64 Decimal 101 108 111 44 32 119 103 114 100 H e l o , w r d Note: 12 characters – requires 12 bytes Each character requires 1 byte

Numeric codes

“4+15” Example = Binary 00110100 00101011 00110001 00110101 = Hexadecimal 34 2B 31 35 = Decimal 52 43 49 53 4 + l 5 “4+15” is “00110100 00101011 00110001 00110101” or “34162B1631163516”

Punctuation, etc.

EBCDIC Extended BCD Interchange Code (pronounced ebb’-se-dick) 8-bit code Developed by IBM Rarely used today IBM mainframes only

facebook.com/bclblade Get All Notes From bscsnotes.4shared.com CS-708