Governor's Career & Technical Academy Arlington

CSC 222 Weekly Assignments: Weeks 11 and 12

CSC 222


Overview

Welcome to 2nd quarter! Since we only meet once during the first week, we will combine weeks 11 and 12 in this first evaluation period of the quarter.

Friday, November 17th

Classwork

Today we will see a few more presentations of doctested objects. Akshay and Jackson are ready to roll with their revised, working Melting Snowman program.

I want to add one more requirement for an A evaluation of this assignment. The project must have:

  1. A header comment that includes the authors of the program, the date completed, and the course for which it was created. You can see an example of this here.
NOTE: José Ejemplo will be shamelessly stealing, projects from presenters for use in the future, but always with proper attribution. I highly encourage you to do likewise. Experimenting with several examples like this is one of the best way to learn C++.

Homework

Complete exercises 4, 5, and 6 from Chapter 14: Exercise Set 1.

Be sure to commit all your work to your git repo. I'll be looking for a commit history that shows evidence of the process you use to develop solutions to these problems.

Wednesday, November 15th

Classwork

As we discussed in class on Monday, we will let the computer choose the pairs that will begin presenting their object projects today. We will see the first four projects.

To earn an A for this project, you must have each of the following:

  1. An object (a struct probably, but could be a class) that has one or more constructors and a to_string member function allowing us to see the object.
  2. YourObject.h and YourObject.cpp files, with the former containing member function prototypes and the later containing member function definitions.
  3. A test_yourobject.cpp file that includes doctest.h and uses a TEST_CASE to instantiate your object and test its to_string member function.

Homework

Complete exercises 1, 2, and 3 from Chapter 14: Exercise Set 1.

Be sure to commit all your work to your git repo. I'll be looking for a commit history that shows evidence of the process you use to develop solutions to these problems.

Monday, November 13th

Classwork / Homework

I'll start today by briefly share a little adventure I had with ChatGPT, and talk about how you should use this valuable resource in your study of C++.

You will then have the entire rest of the class period and homework time to work with your partner to complete the Have a Little Class! project assigned last week.

Wednesday, November 8th

Classwork / Homework

We spent the class period on the very important task of working with Ms. Magro to declare your major with NVCC. As I mentioned as the end of class, I'll simply move what I had planned for today to next Monday, so you will have some extra time to finish your Have a Little Class! project.