CSC 222 Weekly Assignments: Week 8

CSC 222


Overview

This week we will take a deep dive into one of the most important topics in our course, pointers.

Thursday, October 22nd

Classwork / Homework / Evaluations

I've updated the Pointers and arrays section of our textbook to include an example like the one we discussed in class.

You will have both class time and homework time to complete the exercises in Chapter 8 Exercise Set 0: Chapter Review and Exploration.

We will divide up the class into 9 groups of 3, who together will be responsible for completing all 5 programming exercises. Groups will be selected at random in class on Monday to share their work, and will be evaluated based on their presentations. The groups are:

Kerim, Yared and Daniel
Evan, Carter and Kidus
Clara, Valera and Jaxon
Graham, Owen and Isaac
Alden, Tai-Yu and Ramon
Madi, Yara and Brooklyn
Thurston, Jackson, Korben

Tuesday, October 20th

Classwork

We'll get back our Chapter 7 quiz. The grade distribution was much better than the last quiz: A: 10, B+: 3, B: 2, C+: 1, C: 3, D: 1, E: 2. Since the class mode here is an A, I'll let you all go over this quiz with classmates at your table rather than taking class time for it, though I will take a few minutes to restate something I've said several times in class that has not registered yet with several of you:

In C/C++, a char is a byte size integer!

After getting back the quizzes, we will discuss two important topics from Chapter 8: Pointers and arrays:

  1. Pointers and arrays
  2. C Strings

You'll have any remaining time in class to begin working on your homework.

Homework

Complete as many of the exercises in Chapter 8 Exercise Set 0: Chapter Review and Exploration as your 90 minutes allows. Be sure to make frequent commits to your git repo showing the processes you are using as you work through these 5 exercises.