ASSIGNMENTs are due on the day in which they appear below. Due time is 5:00PM if the due date is a Friday, or 11:59PM otherwise. Do READING/VIDEO items by class time on the date where they appear. LABs will happen during class, and are due by the end of that same day. You will submit homework via Moodle.
M March 30
- [READ] Course information
- [READ] Advice
- Join our class Slack workspace and introduce yourself in #general
- [LAB] JupyterHub & mantis Do this no later than the first day of class.
- [SAMPLES] Read through and experiment with these simple C programs: hello.c, output.c, args.c, and bitwise.c
- Class notes
- Slides
W Apr 1
- [QUIZ] in class today
- [READ] Dive Into Systems (DIS), section 1.1 Getting Started Programming in C
- [READ] DIS 4.6 Bitwise Operators
- [READ (or SKIM, as needed)] the DIS sections about print statements, if statements, functions, and arrays. Questions about other starter topics in C? Take a look at the rest of Chapter 1.
- [LAB] command-line arguments and bits in C
- Class notes
- Slides
Fri Apr 3
- [ASSIGNMENT] bases & bits: getting started with integers in C
- [SAMPLES] byte-counter.c and byte-counter-better.c and strings.c
- Class notes
- Slides
Mon Apr 6
- [QUIZ] in class today. Bitwise operators |, &, ^, and ~
- [ASSIGNMENT] select-column: a simple CSV file parsing exercise
- Class notes
- Slides
Wed Apr 8
Fri Apr 10
- [QUIZ] in class today. Two's complement integers
- [READ] UTF-8
- Class notes
- Slides
Sun Apr 12
- [ASSIGNMENT] bits & character encodings: UTF-8 and its friends
Mon Apr 13
- [SAMPLES] printing-bytes.c, pointers.c
- Class notes
- Slides
Wed Apr 15
- [LAB] pointers in C
- [READ] DIS 2.1-4: Various sections about memory and pointers
- [VIDEO] tokenizer assignment info. Note that I have changed the
get_tokensfunction signature since this video was made, but overall, the video is likely to be helpful. - [SAMPLE] memory.c
- Class notes
- Slides
Fri Apr 17
- [ASSIGNMENT] tokenizer: making space for an array of strings
- [INFO] Exam study guide
- Class notes
- Slides
Mon Apr 20
- [QUIZ] on Moodle, about data representation. You can take it as many times as you wish. I'll record only your highest score.
- Class notes
Wed Apr 22
- In-class exam