Difference between revisions of "W1033 Characters"

From Coder Merlin
Line 2: Line 2:
== Prerequisites ==
== Prerequisites ==
== Introduction ==
== Introduction ==
Characters in computer science refer to the same thing as in English and most other languages, a single letter or other symbol. The difference is that humans typically write characters on a piece of paper, while computer programs need a different way to deal with characters. Remember that all the CPU cares about is executing the instructions it gets on the data it gets; at a low-level there isn't really such a thing as types so everything needs to eventually be stored in binary. This means that the CPU couldn't care less if '01000001' refers to an integer 65 or the character 'A'. So, there needs to be a way to store characters in binary.
== Topic Headers ==
== Topic Headers ==
== Key Concepts ==
== Key Concepts ==
== Exercises ==
== Exercises ==
== References ==
== References ==

Revision as of 09:59, 26 June 2021

Within these castle walls be forged Mavens of Computer Science ...
— Merlin, The Coder
USASCII code chart

Prerequisites[edit]

Introduction[edit]

Characters in computer science refer to the same thing as in English and most other languages, a single letter or other symbol. The difference is that humans typically write characters on a piece of paper, while computer programs need a different way to deal with characters. Remember that all the CPU cares about is executing the instructions it gets on the data it gets; at a low-level there isn't really such a thing as types so everything needs to eventually be stored in binary. This means that the CPU couldn't care less if '01000001' refers to an integer 65 or the character 'A'. So, there needs to be a way to store characters in binary.

Topic Headers[edit]

Key Concepts[edit]

Exercises[edit]

References[edit]