14
NUMBER SYSTEMS- 3.5 CODING SYSTEMS A/L Information & Communication Technology Ishani Narahenpita

NUMBER SYSTEMS- 3.5 CODING SYSTEMS

  • Upload
    others

  • View
    3

  • Download
    0

Embed Size (px)

Citation preview

A/L Information & Communication Technology Ishani Narahenpita
CODING SYSTEMS
• Computer works only with binary numbers. It stores all
types of data in the form binary digits. The data is
converted to binary form before it is stored inside the
computer the process of converting data into binary form
is known encoding. Data can be converted into binary
form by using different coding schemes.
• BCD (binary coded decimal)
• Unicode
BCD (BINARY CODED DECIMAL)
decimal. It is a 4-bit code. It
means that each decimal digit is
represented by 4 binary digits. It
was used by early computers.
• This is used to represent the
numbers from 0-9.
BCD (BINARY CODED DECIMAL)
• Write the relevant BCD code of 1 and 3.
1 3
EBCDIC (extended binary coded decimal interchange) coding systems
• EBCDIC stands for extended binary coded
decimal interchange code. It is an 8-bit code. It
is normally used in mainframe computers. It
can represent 256 (28) characters.
A/L Information & Communication Technology Ishani Narahenpita
ASCII (AMERICAN STANDARD CODE FOR INFORMATION)
ASCII stands for American standard code for
information interchange. It was published in 1968 by
ANSI (American national standard institute). It is the
most widely used coding scheme for personal
computers. The 7-bit code can represent 128
characters. It is not enough to represent some
graphical characters displayed on computer screens.
An 8-bit code can represent 256 characters. The
extended 128 unique codes represent graphic
symbols.
• According to ascii there are unique code to represent each character in keyboard.
A/L Information & Communication Technology Ishani Narahenpita
A/L Information & Communication Technology Ishani Narahenpita
ASCII (AMERICAN STANDARD CODE FOR INFORMATION)
• Find decimal ASCII code for.
H=72, e=101, 1=108, o=111 72 101
108 108 111
ASCII (American Standard Code for Information)
A/L Information & Communication Technology Ishani Narahenpita
• Unicode is a 16-bit code and it could represent
65536 characters when it was introduced in
1991. In 1996 new version of UNICODE
introduced and it is capable of representing
1,114,112 characters and up to now all together
90 worldwide alphabets are represented by
Unicode (including Sinhala alphabet)
the world.
0B80
0B81
0B82
Tamil

0370

0371

0372

0373

0374
Greek and Coptic
3040

3041

3042

3043

3044

3045

3046

3047

3048

3049

304A

304B

304C

304D

304E

304F

3050

3051

3052

3053

3054

3055

3056

3057

3058

3059

305A

305B

305C

305D

305E

305F

3060

3061

3062

3063

3064

3065

3066

3067

3068

3069

306A

306B

306C

306D

306E

306F

3070

3071

3072

3073

3074

3075

3076

3077

3078

3079

307A

307B

307C

307D

307E

307F

3080

3081

3082

3083

3084

3085

3086

3087

3088

3089

308A

308B

308C

308D

308E

308F

3090

3091

3092

3093

3094

3095

3096
3097
3098
Hiragana
0020
Basic Latin
0D80
0D81
0D82
0D83
0D84
Sinhala