Lesson 3: Adding a Little Character

Outline:

  1. Numerical ops: bitmasks
  2. Representing data
    • recap: binary/hexadecimal
    • ASCII
  3. Character encodings
    • codepoints vs encodings
    • Unicode and UTF-8
  4. Assignment 2: Bits and Character Encodings - due next Wednesday

Look at after class (DM on Slack or visit Student Hours with questions!):

  1. Programming in C
    • char arrays: char.c
    • handling command-line arguments: args.c
  2. 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:

For next time: