Class Lectures and Reading Assignments
CS 12400-002 (MW)
Programming II: C++
Spring, 2023

This page documents what we do in class. It contains C++ programs that we will discuss in class, reading assignments, simple homework exercises that you can work on for practice and exam preparation (not for credit), and links to other sources of information. It is a good idea for you to "play" with the example C++ programs; compile them, run them, make simple changes to them and compile and run them again.

Here are the code examples we used in class today.

According to the university's final exam schedule, the final exam for this class will be on Wednesday, May 3, at 8:00 a.m. Below is a summary of the final exam topics and some review/practice problems along with the previous two midterm exam review problems.

Read Sections 10.2 10.4 from the textbook. As you read each section, do all the "Participation Activities" and "Challenge Activities".

Here are the code examples we used in class today.

Read Sections 9.16, 9.17, 10.1 from the textbook. As you read each section, do all the "Participation Activities" and "Challenge Activities".

Here are the files that we worked with today for Section 9.15.

Read Sections 9.7, 9.8, 9.9, 9.10, 9.15 from the textbook (three of those sections are very short). As you read each section, do all the "Participation Activities" and "Challenge Activities".

Here are the code examples we used in class today.

Here are pictures that help you think about objects.

Read Sections 9.4, 9.5, 9.6 from the textbook. As you read each section, do all the "Participation Activities" and "Challenge Activities".

Here are the code examples we used in class today.

Read Sections 9.1, 9.2, 9.3 from the textbook. As you read each section, do all the "Participation Activities" and "Challenge Activities".

Here are the code examples we used in class today.

The second midterm exam is today.

For next week, read Sections 7.14, 7.15 from the textbook. As you read each section, do all the "Participation Activities" and "Challenge Activities".

Remember that the second midterm exam is this Wednesday, April 5.

Here is a summary of the midterm exam topics and some review/practice problems. NOTE: I have removed Sections 7.14 and 7.15 (on structures) from the list of sections covered by the exam.

Here are the code examples we used in class today.

Read Sections 7.9, 7.10 7.11 7.12 from the textbook. As you read each section, do all the "Participation Activities" and "Challenge Activities".

The second midterm exam will be next week, on Wednesday, April 5.

Here is a summary of the midterm exam topics and some review/practice problems.

Here are the code examples we used in class today.

Here are the code examples we used in class today.

Read Section 7.8 from the textbook. As you read the section, do all the "Participation Activities" and "Challenge Activities".

Here are the code examples we used in class today.

Spring Break - No class today.

Spring Break - No class today.

Here are the code examples we used in class today.

Read Sections 7.6, 7.7 from the textbook. As you read each section, do all the "Participation Activities" and "Challenge Activities".

Read Sections 7.3, 7.4, 7.5 from the textbook. As you read each section, do all the "Participation Activities" and "Challenge Activities".

Here are the code examples we used in class today.

Read Sections 7.1, 7.2 from the textbook. As you read each section, do all the "Participation Activities" and "Challenge Activities".

Here are the code examples we used in class today.

Read Sections 6.13, 6.14 from the textbook. As you read each section, do all the "Participation Activities" and "Challenge Activities".

Here are the code examples we used in class today.

Read Sections 6.9, 6.10, 6.11, 6.12, from the textbook. As you read each section, do all the "Participation Activities" and "Challenge Activities".

Here are the code examples we used in class today.

The first midterm exam is today.

For next week, read Sections 6.3 and 6.7 from the textbook. As you read each section, do all the "Participation Activities" and "Challenge Activities".

Remember that the first midterm exam is this Wednesday, February 15.

Here is a summary of the midterm exam topics and some review/practice problems.

The first midterm exam will be one week from today, on February 15.

Here is a summary of the midterm exam topics and some review/practice problems.

Do all the "Challenge Activities" in Section 5.25.

Read Sections 6.1, 6.3 from the textbook. As you read each section, do all the "Participation Activities" and "Challenge Activities".

Here are the code examples we used in class today.

Read Sections 5.16, 5.17, 5.26 from the textbook. As you read each section, do all the "Participation Activities" and "Challenge Activities".

Here are the code examples we used in class today.

See the programming assignment page for your second assignment.

Read Section 5.13, 5.14, 5.15 from the textbook. As you read each section, do all the "Participation Activities" and "Challenge Activities".

Here are the code examples we used in class today.

Read Sections 5.6, 5.7, 5.9, 5.10, 5.11 from the textbook. As you read each section, do all the "Participation Activities" and "Challenge Activities".

Here are the code examples we used in class today.

Read Sections 5.1, 5.2, 5.3, 5.4, 5.5 from the textbook. As you read each section, do all the "Participation Activities" and "Challenge Activities".

Here are the code examples we used in class today.

Read Sections 4.6, 4.7, 4.9, 4.11, 4.14, 4.17 from the textbook. As you read each section, do all the "Participation Activities" and "Challenge Activities".

Here are the code examples we used in class today.

Read Sections 3.3, 3.4, 3.9, and 3.13 from the textbook. As you read each section, do all the "Participation Activities" and "Challenge Activities".

Here are the code examples we used in class today.

No class today, Martin Luther King Jr. Day.

For next Wednesday, read Sections 2.20, 2.21, 2.22, and 2.23 from the textbook. As you read each section, do all the "Participation Activities" and "Challenge Activities".

Here are the code examples we used in class today.

Here is a link to a "zyDE" in the textbook that has an input box. You can use this for testing input and output. Just replace the code that is currently in main() and put whatever you want inside the input box.

Be sure to look at the homework assignment page. Your first programming assignment is listed there.

For today, read Sections 1.7, 1.9, 1.17, 1.18, from the textbook. As you read each section, do all the "Participation Activities" and "Challenge Activities" in each section.

For Wednesday, read Sections 2.1 through 2.6 and Sections 2.9 and 2.14 from the textbook. As you read each section, do all the "Participation Activities" and "Challenge Activities".

Exercise: Go to either this HelloWorld program at the C++ Tutor or this HelloWorld program at our textbook. Make each of the following changes in the program (one at a time). After you make each change, compile and run the program and read the error message (if there is one).

Here are the code examples we used in class today.