Fixed a couple of exercise references as they are no longer accurate after the recent changes

- Exercise 107 claimed the async exercises are 84-91, they are actually 85-94 and quiz 95
- Exercise 113 claimed the bit manip exercise is 097, it is now 100
- Exercise 114 has the bit manipulation exercises as 097 and 098, they are now 100 and 101
- Exercise 114 has the last switch exercise as being 108, it is now 111.
This commit is contained in:
Michael Walker
2026-06-11 09:58:17 -04:00
parent 83a89702b2
commit bc443a1113
4 changed files with 4 additions and 4 deletions
+1 -1
View File
@@ -1,5 +1,5 @@
// //
// In Exercises 84-91, we learned about Zig's Io interface for // In Exercises 85-94, we learned about Zig's Io interface for
// concurrent execution: io.async(), Group, Select, and Futures. // concurrent execution: io.async(), Group, Select, and Futures.
// Under the hood, the Threaded backend manages a pool of real // Under the hood, the Threaded backend manages a pool of real
// OS threads for you - including scheduling, cancellation, and // OS threads for you - including scheduling, cancellation, and
+1 -1
View File
@@ -14,7 +14,7 @@
// //
// A common activity in microcontroller programming is setting and clearing // A common activity in microcontroller programming is setting and clearing
// bits on input and output pins. This lets you control LEDs, sensors, motors // bits on input and output pins. This lets you control LEDs, sensors, motors
// and more! In a previous exercise (097_bit_manipulation.zig) you learned how // and more! In a previous exercise (100_bit_manipulation.zig) you learned how
// to swap two bytes using the ^ (XOR - exclusive or) operator. This quiz will // to swap two bytes using the ^ (XOR - exclusive or) operator. This quiz will
// test your knowledge of bit manipulation in Zig while giving you a taste of // test your knowledge of bit manipulation in Zig while giving you a taste of
// what it's like to control registers in a real microcontroller. Included at // what it's like to control registers in a real microcontroller. Included at
+1 -1
View File
@@ -1,6 +1,6 @@
// //
// We've already learned plenty about bit manipulation using bitwise operations // We've already learned plenty about bit manipulation using bitwise operations
// in exercises 097 and 098 and in quiz 110. The techniques we already know work // in exercises 100 and 101 and in quiz 113. The techniques we already know work
// just fine, but creating masks and shifting individual bits around can become // just fine, but creating masks and shifting individual bits around can become
// quite tedious and unwieldy pretty quickly. // quite tedious and unwieldy pretty quickly.
// What if there was a better, a more convenient way to control individual bits? // What if there was a better, a more convenient way to control individual bits?
+1 -1
View File
@@ -1,5 +1,5 @@
// //
// We've already learned about switch statements in exercises 030, 031 and 108. // We've already learned about switch statements in exercises 030, 031 and 111.
// They also work with packed containers: // They also work with packed containers:
const S = packed struct(u2) { const S = packed struct(u2) {