Skip to content

Instantly share code, notes, and snippets.

@rogerwschmidt
Last active July 19, 2018 20:14
Show Gist options
  • Save rogerwschmidt/e3bbf5ce236ff0dd5c3a1fe677d79a3e to your computer and use it in GitHub Desktop.
Save rogerwschmidt/e3bbf5ce236ff0dd5c3a1fe677d79a3e to your computer and use it in GitHub Desktop.

Binary, ASCII, and UTF-8 Instructor notes

Objectives

  • Define Bits and Bytes
  • Convert decimal to binary and hexadecimal numbers.
  • Describe UTF-8 and ASCII, including the differences between the two.

Define Bits and Bytes

What are bits and bytes?

Convert decimal to binary and hexadecimal numbers.

  • Convert 45 to binary
  • Convert 10010101 to decimal
  • convert 45 to hexadecimal
in the binary conversion example of decimal number 116: i do not understand why the ones, twos, and eights columns in the binary place-table, are left as 0 ... i understand the places in the example table filled in, add up to 116, but do not understand  why the places that are occupied with non zero values are the places they are.

Describe UTF-8 and ASCII, including the differences between the two.

  • What is ASCII? What are it's short comings?
  • What is UTF-8?
  • What are the differences between ASCII and UTF-8?
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment