SlideShare a Scribd company logo
ASCII
• It stands for American Standard Code for Information
Interchange
• ASCII is a character encoding based on the English
alphabet.
• It is an ANSI (American National Standards Institute)
standard
• It defines codes for 128 characters:
– 33 are non-printing, mostly obsolete control characters that
affect how text is processed
– 95 are printable characters
ASCII
• ASCII is a seven-bit code, meaning it uses patterns of seven binary digits (a
range of 0 to 127 decimal) to represent each character.
– When ASCII was introduced, many computers used eight-bit bytes as the
native data type. The eighth bit was commonly used as a parity bit for error
checking on communication lines
0 1 0 0 0 0 0 1
ASCII
• Different versions of ASCII were created for different
applications
– Windows-1252 - Changed some of the character encodings
– Mac OS Roman - Extended the encoding beyond 7 bits (the
7-bit characters were the same)
ASCII
ASCII
• The good
– Encode all characters in 1 byte
– Almost every computer supports/supported ASCII
• The bad
– Can only encode English (with a limited number of
accented characters)
Ad

More Related Content

What's hot (20)

S-DES.ppt
S-DES.pptS-DES.ppt
S-DES.ppt
ArikumarKS1
 
Chapter 1
Chapter 1Chapter 1
Chapter 1
Ashhad Kamal
 
Ascii
AsciiAscii
Ascii
Anderson Luís
 
Control unit
Control unitControl unit
Control unit
Syed Zaid Irshad
 
Register transfer language & its micro operations
Register transfer language & its micro operationsRegister transfer language & its micro operations
Register transfer language & its micro operations
Lakshya Sharma
 
Registers
RegistersRegisters
Registers
Sanjeev Patel
 
Logic families
Logic familiesLogic families
Logic families
Sandeep Kumar Singh
 
Context free grammar
Context free grammar Context free grammar
Context free grammar
Mohammad Ilyas Malik
 
Two’s complement
Two’s complementTwo’s complement
Two’s complement
mayannpolisticoLNU
 
Dinive conquer algorithm
Dinive conquer algorithmDinive conquer algorithm
Dinive conquer algorithm
Mohd Arif
 
Turing Machine
Turing MachineTuring Machine
Turing Machine
Rajendran
 
Arithmetic Logic Unit (ALU)
Arithmetic Logic Unit (ALU)Arithmetic Logic Unit (ALU)
Arithmetic Logic Unit (ALU)
Student
 
IEEE 802 Standard for Computer Networks
IEEE 802 Standard for Computer NetworksIEEE 802 Standard for Computer Networks
IEEE 802 Standard for Computer Networks
Pradeep Kumar TS
 
Unicode
UnicodeUnicode
Unicode
Sidhartha Sahoo
 
Lexical Analyzer Implementation
Lexical Analyzer ImplementationLexical Analyzer Implementation
Lexical Analyzer Implementation
Akhil Kaushik
 
binary arithmetic rules
binary arithmetic rulesbinary arithmetic rules
binary arithmetic rules
student
 
Cryptography
CryptographyCryptography
Cryptography
Shivanand Arur
 
Binary codes
Binary codesBinary codes
Binary codes
Revathi Subramaniam
 
Formal Languages and Automata Theory Unit 1
Formal Languages and Automata Theory Unit 1Formal Languages and Automata Theory Unit 1
Formal Languages and Automata Theory Unit 1
Srimatre K
 
Hashing
HashingHashing
Hashing
VARSHAKUMARI49
 

Viewers also liked (20)

Unicode
UnicodeUnicode
Unicode
Ankit Sharma
 
Ascii codes
Ascii codesAscii codes
Ascii codes
Saddam Hussain Soomro
 
Ebcdic code 24 1
Ebcdic code 24 1Ebcdic code 24 1
Ebcdic code 24 1
myrajendra
 
Comp codes (ascii...).24to25
Comp codes (ascii...).24to25Comp codes (ascii...).24to25
Comp codes (ascii...).24to25
myrajendra
 
Open and online: connections, community and reality
Open and online: connections, community and reality Open and online: connections, community and reality
Open and online: connections, community and reality
Catherine Cronin
 
Garbage Collection without Paging
Garbage Collection without PagingGarbage Collection without Paging
Garbage Collection without Paging
Emery Berger
 
Web sockets in Java
Web sockets in JavaWeb sockets in Java
Web sockets in Java
Pance Cavkovski
 
Copenhagen Open For Connections Dias
Copenhagen Open For Connections DiasCopenhagen Open For Connections Dias
Copenhagen Open For Connections Dias
Wonderful Copenhagen
 
Present Continuous
Present ContinuousPresent Continuous
Present Continuous
lupitath09
 
Java sockets
Java socketsJava sockets
Java sockets
Stephen Pradeep
 
Multithreaded programming
Multithreaded programmingMultithreaded programming
Multithreaded programming
Sonam Sharma
 
Insert a Page Number in the Running Head
Insert a Page Number in the Running HeadInsert a Page Number in the Running Head
Insert a Page Number in the Running Head
Amy Lynn Hess
 
Presentiaon task sheduling first come first serve FCFS
Presentiaon  task sheduling first come first serve FCFSPresentiaon  task sheduling first come first serve FCFS
Presentiaon task sheduling first come first serve FCFS
Ahmed Salah
 
ASCII CODE & BAUDOT CODE
ASCII CODE & BAUDOT CODEASCII CODE & BAUDOT CODE
ASCII CODE & BAUDOT CODE
Networking
 
The Look Of Love
The Look Of LoveThe Look Of Love
The Look Of Love
Graham Bennett
 
Codes
CodesCodes
Codes
Muhammad Uzair Rasheed
 
Process' Virtual Address Space in GNU/Linux
Process' Virtual Address Space in GNU/LinuxProcess' Virtual Address Space in GNU/Linux
Process' Virtual Address Space in GNU/Linux
Varun Mahajan
 
C scan scheduling 50 2
C scan scheduling 50 2C scan scheduling 50 2
C scan scheduling 50 2
myrajendra
 
3장. Garbage Collection
3장. Garbage Collection3장. Garbage Collection
3장. Garbage Collection
김 한도
 
Ebcdic code 24 1
Ebcdic code 24 1Ebcdic code 24 1
Ebcdic code 24 1
myrajendra
 
Comp codes (ascii...).24to25
Comp codes (ascii...).24to25Comp codes (ascii...).24to25
Comp codes (ascii...).24to25
myrajendra
 
Open and online: connections, community and reality
Open and online: connections, community and reality Open and online: connections, community and reality
Open and online: connections, community and reality
Catherine Cronin
 
Garbage Collection without Paging
Garbage Collection without PagingGarbage Collection without Paging
Garbage Collection without Paging
Emery Berger
 
Copenhagen Open For Connections Dias
Copenhagen Open For Connections DiasCopenhagen Open For Connections Dias
Copenhagen Open For Connections Dias
Wonderful Copenhagen
 
Present Continuous
Present ContinuousPresent Continuous
Present Continuous
lupitath09
 
Multithreaded programming
Multithreaded programmingMultithreaded programming
Multithreaded programming
Sonam Sharma
 
Insert a Page Number in the Running Head
Insert a Page Number in the Running HeadInsert a Page Number in the Running Head
Insert a Page Number in the Running Head
Amy Lynn Hess
 
Presentiaon task sheduling first come first serve FCFS
Presentiaon  task sheduling first come first serve FCFSPresentiaon  task sheduling first come first serve FCFS
Presentiaon task sheduling first come first serve FCFS
Ahmed Salah
 
ASCII CODE & BAUDOT CODE
ASCII CODE & BAUDOT CODEASCII CODE & BAUDOT CODE
ASCII CODE & BAUDOT CODE
Networking
 
Process' Virtual Address Space in GNU/Linux
Process' Virtual Address Space in GNU/LinuxProcess' Virtual Address Space in GNU/Linux
Process' Virtual Address Space in GNU/Linux
Varun Mahajan
 
C scan scheduling 50 2
C scan scheduling 50 2C scan scheduling 50 2
C scan scheduling 50 2
myrajendra
 
3장. Garbage Collection
3장. Garbage Collection3장. Garbage Collection
3장. Garbage Collection
김 한도
 
Ad

Similar to 4 character encoding-ascii (20)

Lecture_ASCII and Unicode.ppt
Lecture_ASCII and Unicode.pptLecture_ASCII and Unicode.ppt
Lecture_ASCII and Unicode.ppt
Alula Tafere
 
Character encoding standard(1)
Character encoding standard(1)Character encoding standard(1)
Character encoding standard(1)
Pramila Selvaraj
 
Abap slide class4 unicode-plusfiles
Abap slide class4 unicode-plusfilesAbap slide class4 unicode-plusfiles
Abap slide class4 unicode-plusfiles
Milind Patil
 
Character sets and alphabets
Character sets and alphabetsCharacter sets and alphabets
Character sets and alphabets
RazinaShamim
 
Ascii codes
Ascii codesAscii codes
Ascii codes
Saddam Hussain Soomro
 
ASCII and Unicode.pptx
ASCII and Unicode.pptxASCII and Unicode.pptx
ASCII and Unicode.pptx
KhalilJary
 
ICT Lec 2 (1).pptx bs English minor subject
ICT Lec 2 (1).pptx bs English minor subjectICT Lec 2 (1).pptx bs English minor subject
ICT Lec 2 (1).pptx bs English minor subject
meerpc423
 
Adv uni
Adv uniAdv uni
Adv uni
Sri Vidya
 
chapter-2.pptx
chapter-2.pptxchapter-2.pptx
chapter-2.pptx
RithinA1
 
Storing text
Storing textStoring text
Storing text
missstevenson01
 
PPT on Fundamantals of information technology
PPT on Fundamantals of information technologyPPT on Fundamantals of information technology
PPT on Fundamantals of information technology
lijinangalees
 
Ascii and Unicode (Character Codes)
Ascii and Unicode (Character Codes)Ascii and Unicode (Character Codes)
Ascii and Unicode (Character Codes)
Project Student
 
Character Sets
Character SetsCharacter Sets
Character Sets
Leo Hernandez
 
Dhacaini
DhacainiDhacaini
Dhacaini
chrispaul8676
 
data representation
data representationdata representation
data representation
chrispaul8676
 
What character is that
What character is thatWhat character is that
What character is that
Anders Karlsson
 
Unicode
UnicodeUnicode
Unicode
missstevenson01
 
Representation of Text
Representation of TextRepresentation of Text
Representation of Text
Forrester High School
 
...........................Assignment.pptx
...........................Assignment.pptx...........................Assignment.pptx
...........................Assignment.pptx
rajpootfazi52
 
JAVA CHARACTER SETS- FUNDAMENTALS OF JAVA
JAVA CHARACTER SETS- FUNDAMENTALS OF JAVAJAVA CHARACTER SETS- FUNDAMENTALS OF JAVA
JAVA CHARACTER SETS- FUNDAMENTALS OF JAVA
Aakriti Bhardwaj
 
Lecture_ASCII and Unicode.ppt
Lecture_ASCII and Unicode.pptLecture_ASCII and Unicode.ppt
Lecture_ASCII and Unicode.ppt
Alula Tafere
 
Character encoding standard(1)
Character encoding standard(1)Character encoding standard(1)
Character encoding standard(1)
Pramila Selvaraj
 
Abap slide class4 unicode-plusfiles
Abap slide class4 unicode-plusfilesAbap slide class4 unicode-plusfiles
Abap slide class4 unicode-plusfiles
Milind Patil
 
Character sets and alphabets
Character sets and alphabetsCharacter sets and alphabets
Character sets and alphabets
RazinaShamim
 
ASCII and Unicode.pptx
ASCII and Unicode.pptxASCII and Unicode.pptx
ASCII and Unicode.pptx
KhalilJary
 
ICT Lec 2 (1).pptx bs English minor subject
ICT Lec 2 (1).pptx bs English minor subjectICT Lec 2 (1).pptx bs English minor subject
ICT Lec 2 (1).pptx bs English minor subject
meerpc423
 
chapter-2.pptx
chapter-2.pptxchapter-2.pptx
chapter-2.pptx
RithinA1
 
PPT on Fundamantals of information technology
PPT on Fundamantals of information technologyPPT on Fundamantals of information technology
PPT on Fundamantals of information technology
lijinangalees
 
Ascii and Unicode (Character Codes)
Ascii and Unicode (Character Codes)Ascii and Unicode (Character Codes)
Ascii and Unicode (Character Codes)
Project Student
 
...........................Assignment.pptx
...........................Assignment.pptx...........................Assignment.pptx
...........................Assignment.pptx
rajpootfazi52
 
JAVA CHARACTER SETS- FUNDAMENTALS OF JAVA
JAVA CHARACTER SETS- FUNDAMENTALS OF JAVAJAVA CHARACTER SETS- FUNDAMENTALS OF JAVA
JAVA CHARACTER SETS- FUNDAMENTALS OF JAVA
Aakriti Bhardwaj
 
Ad

More from irdginfo (20)

Quicksort Presentation
Quicksort PresentationQuicksort Presentation
Quicksort Presentation
irdginfo
 
10 merge sort
10 merge sort10 merge sort
10 merge sort
irdginfo
 
9 big o-notation
9 big o-notation9 big o-notation
9 big o-notation
irdginfo
 
8 elementary sorts-bubble
8 elementary sorts-bubble8 elementary sorts-bubble
8 elementary sorts-bubble
irdginfo
 
8 elementary sorts-shell
8 elementary sorts-shell8 elementary sorts-shell
8 elementary sorts-shell
irdginfo
 
8 elementary sorts-insertion
8 elementary sorts-insertion8 elementary sorts-insertion
8 elementary sorts-insertion
irdginfo
 
8 elementary sorts-selection
8 elementary sorts-selection8 elementary sorts-selection
8 elementary sorts-selection
irdginfo
 
7 searching injava-binary
7 searching injava-binary7 searching injava-binary
7 searching injava-binary
irdginfo
 
6 arrays injava
6 arrays injava6 arrays injava
6 arrays injava
irdginfo
 
5 data structures-hashtable
5 data structures-hashtable5 data structures-hashtable
5 data structures-hashtable
irdginfo
 
5 data structures-tree
5 data structures-tree5 data structures-tree
5 data structures-tree
irdginfo
 
5 data structures-stack
5 data structures-stack5 data structures-stack
5 data structures-stack
irdginfo
 
5 data structures-arraysandlinkedlist
5 data structures-arraysandlinkedlist5 data structures-arraysandlinkedlist
5 data structures-arraysandlinkedlist
irdginfo
 
4 character encoding-unicode
4 character encoding-unicode4 character encoding-unicode
4 character encoding-unicode
irdginfo
 
4 character encoding
4 character encoding4 character encoding
4 character encoding
irdginfo
 
3 number systems-floatingpoint
3 number systems-floatingpoint3 number systems-floatingpoint
3 number systems-floatingpoint
irdginfo
 
2 number systems-scientificnotation
2 number systems-scientificnotation2 number systems-scientificnotation
2 number systems-scientificnotation
irdginfo
 
1 number systems-hex
1 number systems-hex1 number systems-hex
1 number systems-hex
irdginfo
 
1 number systems-unsignedsignedintegers
1 number systems-unsignedsignedintegers1 number systems-unsignedsignedintegers
1 number systems-unsignedsignedintegers
irdginfo
 
1 number systems-octal
1 number systems-octal1 number systems-octal
1 number systems-octal
irdginfo
 
Quicksort Presentation
Quicksort PresentationQuicksort Presentation
Quicksort Presentation
irdginfo
 
10 merge sort
10 merge sort10 merge sort
10 merge sort
irdginfo
 
9 big o-notation
9 big o-notation9 big o-notation
9 big o-notation
irdginfo
 
8 elementary sorts-bubble
8 elementary sorts-bubble8 elementary sorts-bubble
8 elementary sorts-bubble
irdginfo
 
8 elementary sorts-shell
8 elementary sorts-shell8 elementary sorts-shell
8 elementary sorts-shell
irdginfo
 
8 elementary sorts-insertion
8 elementary sorts-insertion8 elementary sorts-insertion
8 elementary sorts-insertion
irdginfo
 
8 elementary sorts-selection
8 elementary sorts-selection8 elementary sorts-selection
8 elementary sorts-selection
irdginfo
 
7 searching injava-binary
7 searching injava-binary7 searching injava-binary
7 searching injava-binary
irdginfo
 
6 arrays injava
6 arrays injava6 arrays injava
6 arrays injava
irdginfo
 
5 data structures-hashtable
5 data structures-hashtable5 data structures-hashtable
5 data structures-hashtable
irdginfo
 
5 data structures-tree
5 data structures-tree5 data structures-tree
5 data structures-tree
irdginfo
 
5 data structures-stack
5 data structures-stack5 data structures-stack
5 data structures-stack
irdginfo
 
5 data structures-arraysandlinkedlist
5 data structures-arraysandlinkedlist5 data structures-arraysandlinkedlist
5 data structures-arraysandlinkedlist
irdginfo
 
4 character encoding-unicode
4 character encoding-unicode4 character encoding-unicode
4 character encoding-unicode
irdginfo
 
4 character encoding
4 character encoding4 character encoding
4 character encoding
irdginfo
 
3 number systems-floatingpoint
3 number systems-floatingpoint3 number systems-floatingpoint
3 number systems-floatingpoint
irdginfo
 
2 number systems-scientificnotation
2 number systems-scientificnotation2 number systems-scientificnotation
2 number systems-scientificnotation
irdginfo
 
1 number systems-hex
1 number systems-hex1 number systems-hex
1 number systems-hex
irdginfo
 
1 number systems-unsignedsignedintegers
1 number systems-unsignedsignedintegers1 number systems-unsignedsignedintegers
1 number systems-unsignedsignedintegers
irdginfo
 
1 number systems-octal
1 number systems-octal1 number systems-octal
1 number systems-octal
irdginfo
 

4 character encoding-ascii

  • 1. ASCII • It stands for American Standard Code for Information Interchange • ASCII is a character encoding based on the English alphabet. • It is an ANSI (American National Standards Institute) standard • It defines codes for 128 characters: – 33 are non-printing, mostly obsolete control characters that affect how text is processed – 95 are printable characters
  • 2. ASCII • ASCII is a seven-bit code, meaning it uses patterns of seven binary digits (a range of 0 to 127 decimal) to represent each character. – When ASCII was introduced, many computers used eight-bit bytes as the native data type. The eighth bit was commonly used as a parity bit for error checking on communication lines 0 1 0 0 0 0 0 1
  • 3. ASCII • Different versions of ASCII were created for different applications – Windows-1252 - Changed some of the character encodings – Mac OS Roman - Extended the encoding beyond 7 bits (the 7-bit characters were the same)
  • 5. ASCII • The good – Encode all characters in 1 byte – Almost every computer supports/supported ASCII • The bad – Can only encode English (with a limited number of accented characters)
  翻译: