Computer Science 1032A/B Lecture Notes - Lecture 5: Parity Bit, Carriage Return
COMPSCI 1032A/B verified notes
5/13View all
Document Summary
Make the on"s and off"s (1"s and 0"s) mean something. Develop a code that uses 1s and 0s. Make the ons and offs (1s and 0s) mean something. American standard code for information interchange (ascii) 1966 use of 7 bit code (000 000 to 111 111) to represent 128 characters. A-z and a-z and 0-9 and punctuation and control characters. Say we want to assign every character in normal english text a unique sequence of n bits. What is the lowest that n can be: we need at least: Some other punctuation characters: : this makes at least 74 characters. Therefore we need at least 7 bits (26 = 64; 27 = 128: since we need at least 7 bits to work with, we can add lots of other symbols we might need: To produce something that looks like a french e-acute ( ): _ type e, do backspace, type " (apostrophe)