Lesson 3: Adding a Little Character
Outline:
- Numerical ops: bitmasks
- Representing data
- recap: binary/hexadecimal
- ASCII
- Character encodings
- codepoints vs encodings
- Unicode and UTF-8
- Assignment 2: Bits and Character Encodings - due next Wednesday
Look at after class (DM on Slack or visit Student Hours with questions!):
- Programming in C
- Practice encoding and decoding UTF-8: Jeff’s cool site
Reminder: first quiz Monday
You will see these Quiz Learning Objectives:
- NR 1: binary
- NR 2: hexadecimal
- OP 1: bitwise/logical/shift
- OP 2: resizing
The quiz may also have DR 1 or DR 2 if there is an extra side of a page. I recommend prioritizing answering a few questions really well over doing poorly on all of them.
Reading assignment (to be completed by the next class):
What we talked about today:
- An Introduction to Character Encodings by Ravi Suresh Mashru
- Wikipedia page on UTF-8
For next time: