class: title # Arrays and Strings ## CSC 161 – February 5, 2026 --- # Agenda for Today 1. Quiz 2. Department Events 3. Upcoming Work 4. Discussion 5. Lab 6. Wrap Up --- class: section green # Quiz --- # Department Events ## CS Extra: Summer MAP Opportunites in CS .indent[ Thursday, February 5th at 4:15pm on Noyce 3821 Learn about MAP offerings in CS and related fields ] You can find a complete list of token events and submit more at
. --- class: section blue # Upcoming Work --- # Homework: Yahtzee **Due:** Thursday, February 12th ## Questions _None so far_ --- class: section blue # Discussion --- # Discussion: Arrays and Strings **Items for think, pair, share:** 1. What is an array? Give an explanation that would make sense to a CSC 151 student. 2. If you have an array of length 5, what are the first and last valid indices you can use to access the array? 3. What is a string, and how is it different from an array? --- # Reading Questions Do you have any unanswered questions from the reading? --- class: section blue # Lab --- class: section blue # Wrap Up --- # Wrap Up ## Lab Work Submit the following work from today's lab with your weekly lab report: - Exercises B.1 and B.2 - Exercises C.1 and C.3 ## Advisor Preferences If you are a 4th semester student and you plan to declare a CS major, complete the advisor preference form at
by Friday. ## Reading - **Pointers II: Arithmetic** (Beej's Guide to C Programming, Chapter 11)