Download presentation
Presentation is loading. Please wait.
Published byJordan Conley Modified over 9 years ago
1
2.1.4 BINARY ASCII CHARACTER SETS A451: COMPUTER SYSTEMS AND PROGRAMMING
2
HOW DOES A COMPUTER KNOW WHAT TEXT TO DISPLAY ON A SCREEN? HOW MIGHT THIS BE DONE?
3
YOU ARE LEARNING.. EXPLAIN THE USE OF BINARY CODES TO REPRESENT CHARACTERS KNOW THE TERM CHARACTER SET DESCRIBE WITH EXAMPLES (FOR EXAMPLE ASCII AND UNICODE) THE RELATIONSHIP BETWEEN THE NUMBER OF BITS
4
HOW MANY BITS WOULD YOU NEED TO CODE AN ENTIRE KEYBOARD? HOW MANY KEYS ARE THERE ON A NORMAL KEYBOARD?
5
THE CODE USED TO TRANSLATE LANGUAGE BETWEEN COMPUTERS AND PEOPLE IS CALLED ASCII: IT IS PRONOUNCED ‘ASKEE’
6
ASCII IS SHORT FOR: AMERICAN STANDARD CODE FOR INFORMATION INTERCHANGE
7
ASCII: IS THE STANDARD CODE USED BY COMPUTERS EVERYWHERE TO REPRESENT THE THINGS YOU CAN TYPE USING THE KEYBOARD
8
ASCII CONVERSION TABLE:
9
IN ASCII THE WORD "CAT" WOULD BE: 1000011 1100001 1110100
10
YOU TRY ON A BLANK SHEET OF PAPER, WRITE YOUR NAME USING THE ASCII CHART, LOOKUP THE BINARY VALUES FOR EACH LETTER AND WRITE IT DOWN IN A SERIES DON’T FORGET THE SPACES BETWEEN YOUR LETTERS GIVE YOUR ENCODED NAME TO A FRIEND HAVE THEM DECODE THE CODE
12
HOW MANY BITS ARE REQUIRED TO STORE ASCII CODES? 8 BITS CAN STORE 256 CHARACTERS ENGLISH KEYBOARD USES 128 CHARACTERS WHAT ARE THE OTHERS CODES USED FOR?
13
EXTENDED ASCII: LANGUAGES SUCH AS GERMAN, FRENCH, FINNISH, IRISH, ICELANDIC, TAKE ADVANTAGE OF THE OTHER 128 SPACES TO INCLUDE THEIR OWN SPECIAL CHARACTERS. E.G. THE GERMAN UMLAUT Ü IS 11011100
14
THE TERM CHARACTER SET IS USED TO DESCRIBE A DIGITAL REPRESENTATION OF TEXT: ASCII IS THE MOST WIDELY USED CHARACTER SET THE ENTIRE COLLECTION OF CHARACTERS AVAILABLE IN A SYSTEM SUCH AS ASCII IS CALLED A CHARACTER SET.
15
OTHER CHARACTER SETS IN COMMON USE ARE: EXTENDED ASCII (8 BITS – 256 CHARACTERS) UTF-8 (8 BITS – 256 CHARACTERS) UNICODE (16 BITS – 65536 CHARACTERS)
16
ASCII ASCII (AMERICAN STANDARD CODE FOR INFORMATION INTERCHANGE) IS THE MOST COMMON FORMAT FOR TEXT FILES IN COMPUTERS AND ON THE INTERNET. IN AN ASCII FILE, EACH ALPHABETIC, NUMERIC, OR SPECIAL CHARACTER IS REPRESENTED WITH A BINARY NUMBER (A STRING OF 0S OR 1S). 128 CHARACTERS ARE DEFINED.
17
CREATE AN ALTERNATIVE XMAS CARD USE YOUR KNOWLEDGE OF BINARY AND ASCII TO CONVERT AND WRITE A CHRISTMAS MESSAGE ON AN ALTERNATIVE CHRISTMAS CARD USE THE ‘ASCII’ CONVERTOR FOR THE TEXT USE THE HEXADECIMAL COLOUR PALLETE TO CODE A 16 X 16 GRAPHIC FOR THE FRONT OF THE CARD
19
THE COLOUR PALETTE Code Palette ColourNameRGBHex 0000 Black000000000 0001 Maroon12800800000 0010 Green01280008000 0011 Olive128 0808000 0100 Navy00128000080 0101 Purple1280 800080 0110 Teal0128 008080 0111 Silver192 C0C0C0 1000 Gray128 808080 1001 Red25500FF0000 1010 Lime0255000FF00 1011 Yellow255 0FFFF00 1100 Blue002550000FF 1101 Fuchsia2550 FF00FF 1110 Aqua0255 00FFFF 1111 White255 FFFFFF
Similar presentations
© 2024 SlidePlayer.com. Inc.
All rights reserved.