Agenda Character representation Numerical Conversions ASCII EBCDIC

Slides:



Advertisements
Similar presentations
Lecture 9: Character and String
Advertisements

Computer Codes Rohit Khokher. Computer Codes Data types NumericNonnumeric IntegerRealAlphabet A, B, C, …,Z a, b, c,…,z Digits 0,…,9 Special Characters.
The Binary Numbering Systems
CIS 020 Assembly Programming Chapter 02 - Numbering Systems & Data Representation © John Urrutia 2012, All Rights Reserved.5/27/20121.
Representing Data, Pictures, Time, and Size in Computer
How Computers Represent Numbers Friday, Week 5. Binary Code A series of 1’s and 0’s Place value is in powers of 2.
Using Binary Coding Information Remember  Bit = 0 or 1, Binary Digit  Byte = the number of bits used to represent letters, numbers and special characters.
How Computers Represent Numbers Friday, Week 5. Binary Code A series of 1’s and 0’s Place value is in powers of 2.
Using Binary Coding Information Remember  Bit = 0 or 1, Binary Digit  Byte = the number of bits used to represent letters, numbers and special characters.
Data Representation (in computer system) Computer Fundamental CIM2460 Bavy LI.
Number Systems & Logic Gates Day 1
CCE-EDUSAT SESSION FOR COMPUTER FUNDAMENTALS Date: Session III Topic: Number Systems Faculty: Anita Kanavalli Department of CSE M S Ramaiah.
Bits and Bytes.
COMPUTER FUNDAMENTALS David Samuel Bhatti
Chapter 3 Data Representation Text Characters. 2 Representing Text To represent a text document in digital form, we need to be able to represent every.
Lesson Objectives Explain the use of binary codes to represent characters Explain the term “Character set” Describe with examples (for examples ASCII and.
CODING SYSTEMS CODING SYSTEMS CODING SYSTEMS. CHARACTERS CHARACTERS digits: 0 – 9 (numeric characters) letters: alphabetic characters punctuation marks:
9/15/09 - L3 CodesCopyright Joanne DeGroat, ECE, OSU1 Codes.
1.6 Signed Binary Numbers.
©Brooks/Cole, 2003 Chapter 2 Data Representation.
Chapter 3 Representing Numbers and Text in Binary Information Technology in Theory By Pelin Aksoy and Laura DeNardis.
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.
Binary Codes Computers and other digital systems "work" with binary numbers. I/P & O/P is usually done using decimal numbers, alphabetics, special symbols.
1 Digital Technology and Computer Fundamentals Chapter 1 Data Representation and Numbering Systems.
Binary Arithmetic & Data representation
Computer Structure & Architecture 7c - Data Representation.
CS151 Introduction to Digital Design
Computer System Basics 1 Number Systems & Text Representation Computer Forensics BACS 371.
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, Number Systems and Base Conversions
The character data type char. Character type char is used to represent alpha-numerical information (characters) inside the computer uses 2 bytes of memory.
Springfield Technical Community College Center for Business and Technology.
Irvine, Kip R. Assembly Language for Intel-Based Computers 6/e, Signed Integers The highest bit indicates the sign. 1 = negative, 0 = positive.
Chapter 7 C supports two fundamentally different kinds of numeric types: (a) integer types - whole numbers (1) signed (2) unsigned (b) floating types –
Signed Binary Numbers Arithmetic Subtraction – In 2’s-complement form: Example: 1.Take the 2’s complement of the subtrahend (including the sign bit) and.
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.
ASCII AND EBCDIC CODES By : madam aisha.
Characters and Strings
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.
Nguyen Le CS147.  2.4 Signed Integer Representation  – Signed Magnitude  – Complement Systems  – Unsigned Versus Signed Numbers.
11001 / 101, / ) Perform subtraction on the given unsigned binary numbers using the 2's complement of the subtrahend. Where the result.
1.4 Representation of data in computer systems Character.
There are 10 different types of people in the world. Those who understand binary and those that don’t.
Lecture Coding Schemes. Representing Data English language uses 26 symbols to represent an idea Different sets of bit patterns have been designed to represent.
Day 6 - Encoding and Sending Formatted Text
Some basic concepts underlying computer archi­tecture
Chapter 3 Data Representation Text Characters
Binary Numbers and ASCII and EDCDIC
Unit 18: Computational Thinking
Day 6 - Encoding and Sending Formatted Text
11001 / 101 , / ) Perform subtraction on the given unsigned binary numbers using the 2's complement of the subtrahend. Where the.
Data Transfer ASCII FILES.
1.11, 1.12, 1.13, 1.14, 1.18, 1.20, 1.23, 1.24, 1.25, 1.32, 1.33 ( 47 )8 = ( )2 ( 47 )16 = ( )2 ( 20 )10.
Bits & Bytes How Computers Represent Data
Data Encoding Characters.
TOPICS Information Representation Characters and Images
Lecture 3 ISE101: Computing Fundamentals
Diminished Radii Complement and codes
Ch2: Data Representation
COMS 161 Introduction to Computing
COMS 161 Introduction to Computing
Day 6 - Encoding and Sending Formatted Text
Learning Intention I will learn how computers store text.
C Programming Language
Presentation transcript:

Agenda Character representation Numerical Conversions ASCII EBCDIC Between Upper & Lower Case Characters From Upper Case Character to Control Character 2

Character Representation Since computers are only designed to interpret binary data, textual information must somehow be converted to binary. In other words, a binary number is associated with each possible character 3

Character Representation There are two commonly recognized standards for data formats: EBCDIC (Extended Binary Coded Decimal Interchange Code) ASCII (American Standard Code for Information Interchange)

EBCDIC Characteristics: Used on IBM mini and mainframe computers 8 bit binary code associated with each character

ASCII Characteristics: Used on most “other” computers. System designed from a variety of computer manufacturers 7 bit code associated with each character Also, an 8 bit code used to provide an additional 128 characters (additional character set - printable & nonprintable characters)

ASCII & EBCDIC Tables We can represent various representation of characters by either standard by referring to tables. Note that tables are organized as hexadecimal numbers for reference Check my website for ASCII and EBCDIC Tables

Numerical Conversions (ASCII) To convert uppercase character to lowercase character: add 2016 to uppercase character or add 3210 to uppercase character subtract 2016 to lowercase character or subtract 3210 to lowercase character 4

Uppercase Letter to Control Character To convert uppercase character to corresponding control character add 4016 to uppercase character or add 6410 to uppercase character 5