1 / 8

Agenda

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

Download Presentation

Agenda

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. Agenda • Character representation • ASCII • EBCDIC • Numerical Conversions • 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)

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

  5. 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)

  6. 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

  7. Numerical Conversions (ASCII) • To convert uppercase character to lowercase character: • add 2016to uppercase characteror • add 3210 to uppercase character • To convert uppercase character to lowercase character: • subtract 2016to lowercase characteror • subtract 3210 to lowercase character

  8. Uppercase Letter to Control Character • To convert uppercase character to corresponding control character • add 4016to uppercase characteror • add 6410 to uppercase character

More Related