"Coding - The Language Hidden Behind the Computer" - Reading Notes (1): Coding

 

1. To close friends

     1) What is encoding? Coding is a way of communicating information between machines and humans, and coding is communication.

     2) Morse code, only dots and strokes (international distress signal: SOS...---...), the disadvantage is that it is not case sensitive.

2. Coding & Combining

    Morse code table, which can represent letters & numbers & punctuation marks, also known as binary code, two different things can represent all types of information after appropriate combination

   

 

  3. Braille & Binary

      In Braille, each symbol (letter, number, and punctuation mark) used in written text is encoded as one or more raised dots in a 2×3 dot-code unit. The points contained in this point code unit are usually numbered using numbers from 1 to 6. At the same time, they will have dual identities depending on the context.

     Escape code: Escape the constant parsing of the encoded string and switch to a new parsing method. No. 6 bump: uppercase identifier, indicating that the letters after it are translated into uppercase.

     Shift code: number identifier & cancel number identifier, from letters to numbers, from numbers to letters, changing the encoding meaning of the scope until the end of the scope.

    

 

    

 

Guess you like

Origin http://43.154.161.224:23101/article/api/json?id=325169114&siteId=291194637