SlideShare a Scribd company logo
Computer codes
                 ASCII Codes, EBCDIC Codes




                 http://improvec.blogspot.in/   1
Objective

  On completion of this period, you would be able
   to know

 ASCII Codes

 EBCDIC Codes




                 http://improvec.blogspot.in/   2
Recap

 Conversion of binary number to hexa decimal

 Conversion of hexa decimal number to binary




                 http://improvec.blogspot.in/   3
Prerequisite

 ASCII Codes

 EBCDIC Codes




                http://improvec.blogspot.in/   4
COMPUTER CODES




    http://improvec.blogspot.in/   5
Why codes are used?

• Codes are used to represent the letters and
  special characters (such as +,-,*,$,&) in terms of
  0’s and 1’s




                   http://improvec.blogspot.in/        6
Character Sets

BCD     - Binary Coded Decimal

ASCII     - American Standard Code for
 Information Interchange

EBCDIC - Extended Binary Coded Decimal
 Interchange Code

              http://improvec.blogspot.in/   7
BCD CODE




  http://improvec.blogspot.in/   8
BCD (Binary Coded Decimal)

 BCD code is the simplest code to represent
  decimal numbers

 In BCD code a decimal number is represented
  by four binary bits

 For example, 3 is represented as 0011



                  http://improvec.blogspot.in/   9
BCD Code (Binary Coded Decimal) contd
 If a decimal number consists of two or more than
  two digits, each digit is individually represented
  by its four bit binary equivalent

 For example, 56 is represented by 0101 0110




                   http://improvec.blogspot.in/   10
Standard BCD codes
Decimal number           Standard BCD codes
0                        0000
1                        0001
2                        0010
3                        0011
4                        0100
5                        0101
6                        0110
7                        0111
8                        1000
9                        1001
10                       00010000
11                       00010001
12                       00010010
13                       00010011
56                       01010110

                 http://improvec.blogspot.in/   11
ASCII CODE




  http://improvec.blogspot.in/   12
ASCII
 ASCII is pronounced as “ask-ee”

 It stands for American Standard Code for
  Information Interchange

 It is widely used in micro computers



                  http://improvec.blogspot.in/   13
ASCII (contd)

Micro computers using 8-bit word length use

     7-bit to represent the basic code

     The 8th bit is used for parity or it may be
      permanently 0 or 1




                  http://improvec.blogspot.in/      14
ASCII CODE (contd) :
 In this code a character is represented by two
  parts

 They are a zone portion and numeric portion

 Each digit has 0101 as the zone portion and its
  binary representation as the numeric portion

 Alphabetical characters are divided into two
  groups having 1010 or 1011 as the zone portion
                  http://improvec.blogspot.in/      15
ASCII Codes for characters
Alphabetic ASCII-8      HEX          Numeric         ASCII-8    HEX
     A     10100011     A1           0               01010000   50
     B     10100010     A2           1               01010001   51
     C     10100011     A3           2               01010010   52
     D     10100100     A4           3               01010011   53
     E     10100101     A5           4               01010100   54
     F     10100110     A6           5               01010101   55
    G      10100111     A7           6               01010110   56
    H      10101000     A8           7               01010111   57
     I     10101001     A9           8               01011000   58
    J      10101010     AA           9               01011001   59
    K      10101011     AB
    L      10101100     AC
   M       10101101     AD
   N       10101110     AE
   O       10101111     AF
   P       10100000     B0
   Q       10110001     B1
                      http://improvec.blogspot.in/                    16

More Related Content

PPTX
Communication skills (protected)
PPT
Ascii 03
PPT
Networking and Internetworking Devices
PPT
Web Fundamentals
PPTX
Computer organization and architecture.pptx
PDF
Computer networks : dial up, wireless, hfcc and dsl
PPTX
4 character encoding-ascii
PPTX
History of microprocessors copy
Communication skills (protected)
Ascii 03
Networking and Internetworking Devices
Web Fundamentals
Computer organization and architecture.pptx
Computer networks : dial up, wireless, hfcc and dsl
4 character encoding-ascii
History of microprocessors copy

What's hot (20)

PPTX
PDF
F4 COMPUTER SIMPLIFIED NOTES SP - Copy.pdf
PPT
Operating system- Introduction, Types and its Functions
PPT
Introduction To Web Technology
PDF
Computer Networking Lab File
PDF
7. data link layer error detection and correction codes - parity and checksum
PPTX
Classification of computers
PPTX
Motherboard and its components
PDF
computer form factor
PPTX
Wireless network
PPTX
Different types of network
PPT
1. introduction data comm
PPT
Transmission Modes in Computer Networks
PPT
Computer Organisation and Architecture
PPTX
Computer network
PPT
PPT
Layered Architecture
PPTX
Different types of operating systems
PPTX
Device Drivers
PPTX
Information processing cycle
F4 COMPUTER SIMPLIFIED NOTES SP - Copy.pdf
Operating system- Introduction, Types and its Functions
Introduction To Web Technology
Computer Networking Lab File
7. data link layer error detection and correction codes - parity and checksum
Classification of computers
Motherboard and its components
computer form factor
Wireless network
Different types of network
1. introduction data comm
Transmission Modes in Computer Networks
Computer Organisation and Architecture
Computer network
Layered Architecture
Different types of operating systems
Device Drivers
Information processing cycle
Ad

Viewers also liked (20)

PDF
PDF
PPTX
ASCII CODE & BAUDOT CODE
PPTX
Ascii and Unicode (Character Codes)
DOC
ASCII-EBCDIC-HEX
PPTX
Parity bits
PPT
Unicode
PDF
Ascii codes 3145_app_f
PDF
ASCII Code with Webdings and Wingdings - All Characters
ZIP
2 applications.key
PPTX
Ebcdic code 24 1
PPT
Lecture ascii and ebcdic codes
PPTX
Parity bits
PPT
Classification and generations of computers
PPTX
Parity check(Error Detecting Codes)
PPTX
Error Detection and Correction - Data link Layer
PPT
SEMICONDUCTOR PHYSICS
PPT
Error detection and correction
PPT
ASCII data formats
ASCII CODE & BAUDOT CODE
Ascii and Unicode (Character Codes)
ASCII-EBCDIC-HEX
Parity bits
Unicode
Ascii codes 3145_app_f
ASCII Code with Webdings and Wingdings - All Characters
2 applications.key
Ebcdic code 24 1
Lecture ascii and ebcdic codes
Parity bits
Classification and generations of computers
Parity check(Error Detecting Codes)
Error Detection and Correction - Data link Layer
SEMICONDUCTOR PHYSICS
Error detection and correction
ASCII data formats
Ad

Similar to Comp codes (ascii...).24to25 (20)

PPSX
Microcontroller base project
PPTX
computercodes, BCD, EBCDIC,ASCII,UNICODE
DOC
Information sheet/Kertas Penerangan
PPTX
PPT - 2.pptx
PPT
Logic Design 2009
PPTX
. computer codes
PPTX
ARCsxfhcjkvmnfxcgbfgcxhvbxdfzxcgbfxgcvbnx3.pptx
PPTX
COMPUTER AWARENESS.pptx
PDF
Lec 02
PPTX
PPT
Number Systems-Number conversion -Arithmetic Operations
PDF
Number system
DOCX
Binary and ASCII
PDF
Mcs 012 soved assignment 2015-16
PPTX
Assembly programming 8085/8086 microprocessors
PDF
Basics of computer and Number conversions.pdf
PDF
DigitalLogic_CharacterCodes.pdf advanced
Microcontroller base project
computercodes, BCD, EBCDIC,ASCII,UNICODE
Information sheet/Kertas Penerangan
PPT - 2.pptx
Logic Design 2009
. computer codes
ARCsxfhcjkvmnfxcgbfgcxhvbxdfzxcgbfxgcvbnx3.pptx
COMPUTER AWARENESS.pptx
Lec 02
Number Systems-Number conversion -Arithmetic Operations
Number system
Binary and ASCII
Mcs 012 soved assignment 2015-16
Assembly programming 8085/8086 microprocessors
Basics of computer and Number conversions.pdf
DigitalLogic_CharacterCodes.pdf advanced

More from myrajendra (20)

PPT
Fundamentals
PPT
Data type
PPTX
Hibernate example1
PPTX
Jdbc workflow
PPTX
2 jdbc drivers
PPTX
3 jdbc api
PPTX
4 jdbc step1
PPTX
Dao example
PPTX
Sessionex1
PPTX
Internal
PPTX
3. elements
PPTX
2. attributes
PPTX
1 introduction to html
PPTX
Headings
PPTX
Forms
PPT
PPTX
Views
PPTX
Views
PPTX
Views
PPT
Starting jdbc
Fundamentals
Data type
Hibernate example1
Jdbc workflow
2 jdbc drivers
3 jdbc api
4 jdbc step1
Dao example
Sessionex1
Internal
3. elements
2. attributes
1 introduction to html
Headings
Forms
Views
Views
Views
Starting jdbc

Comp codes (ascii...).24to25

  • 1. Computer codes ASCII Codes, EBCDIC Codes http://improvec.blogspot.in/ 1
  • 2. Objective On completion of this period, you would be able to know  ASCII Codes  EBCDIC Codes http://improvec.blogspot.in/ 2
  • 3. Recap  Conversion of binary number to hexa decimal  Conversion of hexa decimal number to binary http://improvec.blogspot.in/ 3
  • 4. Prerequisite  ASCII Codes  EBCDIC Codes http://improvec.blogspot.in/ 4
  • 5. COMPUTER CODES http://improvec.blogspot.in/ 5
  • 6. Why codes are used? • Codes are used to represent the letters and special characters (such as +,-,*,$,&) in terms of 0’s and 1’s http://improvec.blogspot.in/ 6
  • 7. Character Sets BCD - Binary Coded Decimal ASCII - American Standard Code for Information Interchange EBCDIC - Extended Binary Coded Decimal Interchange Code http://improvec.blogspot.in/ 7
  • 8. BCD CODE http://improvec.blogspot.in/ 8
  • 9. BCD (Binary Coded Decimal)  BCD code is the simplest code to represent decimal numbers  In BCD code a decimal number is represented by four binary bits  For example, 3 is represented as 0011 http://improvec.blogspot.in/ 9
  • 10. BCD Code (Binary Coded Decimal) contd  If a decimal number consists of two or more than two digits, each digit is individually represented by its four bit binary equivalent  For example, 56 is represented by 0101 0110 http://improvec.blogspot.in/ 10
  • 11. Standard BCD codes Decimal number Standard BCD codes 0 0000 1 0001 2 0010 3 0011 4 0100 5 0101 6 0110 7 0111 8 1000 9 1001 10 00010000 11 00010001 12 00010010 13 00010011 56 01010110 http://improvec.blogspot.in/ 11
  • 12. ASCII CODE http://improvec.blogspot.in/ 12
  • 13. ASCII  ASCII is pronounced as “ask-ee”  It stands for American Standard Code for Information Interchange  It is widely used in micro computers http://improvec.blogspot.in/ 13
  • 14. ASCII (contd) Micro computers using 8-bit word length use 7-bit to represent the basic code The 8th bit is used for parity or it may be permanently 0 or 1 http://improvec.blogspot.in/ 14
  • 15. ASCII CODE (contd) :  In this code a character is represented by two parts  They are a zone portion and numeric portion  Each digit has 0101 as the zone portion and its binary representation as the numeric portion  Alphabetical characters are divided into two groups having 1010 or 1011 as the zone portion http://improvec.blogspot.in/ 15
  • 16. ASCII Codes for characters Alphabetic ASCII-8 HEX Numeric ASCII-8 HEX A 10100011 A1 0 01010000 50 B 10100010 A2 1 01010001 51 C 10100011 A3 2 01010010 52 D 10100100 A4 3 01010011 53 E 10100101 A5 4 01010100 54 F 10100110 A6 5 01010101 55 G 10100111 A7 6 01010110 56 H 10101000 A8 7 01010111 57 I 10101001 A9 8 01011000 58 J 10101010 AA 9 01011001 59 K 10101011 AB L 10101100 AC M 10101101 AD N 10101110 AE O 10101111 AF P 10100000 B0 Q 10110001 B1 http://improvec.blogspot.in/ 16