Class Lectures and Reading Assignments
CS 12300-002 (TR)
Programming I: Java
Fall, 2022

This page documents what we do in class. It contains Java 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 Java programs; compile them, run them, make simple changes to them and compile and run them again.

Remember that the final exam is next Thursday, December 15, at 2:45 P.M. (notice the time). See the review problems from last Thursday.

Don't forget the last programming assignment.

Here are the code examples we used in class today.

According to the university's final exam schedule, the final exam for this class is next Thursday, December 15, at 2:45 P.M. (notice the time). See the review problems from last week.

Don't forget the last programming assignment.

Read Sections 8.10, 8.12 and 8.14 (the last reading assignment). Do all the "Participation Activities" and "Challenge Activities" in each section.

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 December 15, two weeks from today. Below is a summary of the final exam topics and some review/practice problems along with the previous two midterm exam review problems.

For next week, read Sections 8.6, 8.7 and 8.8. Do all the "Participation Activities" and "Challenge Activities" in each section.

Here are the code examples we used in class today.

See the programming assignment page for your last assignment.

Today we will begin Chapter 8.

Read Sections 8.3, 8.4 and 8.5. Do all the "Participation Activities" and "Challenge Activities" in each section.

Here are the code examples we used in class today.

No class. Thanksgiving break.

Today we will do a couple more of the Common Array Algorithms from Section 6.4 as array methods.

After Thansgiving break, we will begin Chapter 8 of the textbook. Read Sections 8.1 and 8.2. Do all the "Participation Activities" and "Challenge Activities" in each section.

Here are the code examples we used in class today.

Class canceled due to illness.

Read Section 6.17 from the textbook. Do all the "Participation Activities" and "Challenge Activities".

CodingBat is a web site of Java practice problems. It is a great resource for developing Java programming skills. Solve these CodingBat problems.

Here are the Common Array Algorithms from Section 6.4 as array methods from Section 6.7.

Here are the code examples we used in class today.

Read Sections 6.12 and 6.13 from the textbook. Do all the "Participation Activities" and "Challenge Activities" in each section.

Here are the code examples we used in class today.

Read Sections 6.7, 6.9, 6.10, from the textbook. Do all the "Participation Activities" and "Challenge Activities" in each section.

Here are the code examples we used in class today.

The second midterm exam is today.

For next week, read Sections 6.1, 6.3, 6.4, 6.25, 6.26, from the textbook. Do all the "Participation Activities" and "Challenge Activities" in each section.

Remember that the second midterm exam is this Thursday, November 3.

See the review/practice problems from last week.

Here are the problems we solved in class today.

Remember that the second midterm exam will be one week from today.

See the review/practice problems given below.

Here are the code examples we used in class today.

The second midterm exam will be one week from Thursday, on November 3.

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

Read Sections 5.4, 5.5, 5.7, 5.8, from the textbook. Do all the "Participation Activities" and "Challenge Activities" in each section.

Here are the code examples we used in class today.

For next week, read Sections 5.1, 5.2, 5.3, from the textbook. Do all the "Participation Activities" and "Challenge Activities" in each section.

Today we will do more examples of nested for-loops.

Here are the code examples we used in class today.

Today we will do examples of nested loops from sections 4.13 and 4.29.

Here are the code examples we used in class today.

For next week, read Sections 4.16, 4.29, 4.32, from the textbook. Do all the "Participation Activities" and "Challenge Activities" in each section.

Here are the code examples we used in class today.

No class. Fall break.

For next Thursday, read Sections 4.10, 4.11, 4.12, 4.13, from the textbook. Do all the "Participation Activities" and "Challenge Activities" in each section.

Here are the code examples we used in class today.

See the programming assignment page for your fifth assignment.

Read Sections 4.5, 4.6, 4.28 (and 3.39), from the textbook. Do all the "Participation Activities" and "Challenge Activities" in each section.

Here are the code examples we used in class today.

The first midterm exam is today.

For next week, read Sections 4.1, 4.3, 4.4, 4.23, from the textbook. Do all the "Participation Activities" and "Challenge Activities" in each section.

The first midterm exam is this Thursday.

Here are the review/practice problems.

Remember that the first midterm exam will be one week from today.

Read Sections 4.1, 4.3, 4.4, 4.23, from the textbook. Do all the "Participation Activities" and "Challenge Activities" in each section.

Here are two of the code examples that we used in class.

The first midterm exam will be one week from Thursday, on September 29.

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

Read Sections 3.16, 3.17, 3.18, 3.36, 3.42, from the textbook. Do all the "Participation Activities" and "Challenge Activities" in each section. (These will be the last sections that we cover from Chapter 3.)

Here are the code examples that we used in class.

See the programming assignment page for your fourth assignment.

Read Sections 3.26, 3.27, 3.28, 3.29, 3.30 from the textbook. Do all the "Participation Activities" and "Challenge Activities" in each section.

Here are the code examples that we used in class.

For next Tuesday, read Section 3.13 and Section 3.15 from the textbook. Do all the "Participation Activities" and "Challenge Activities" in each section.

Here are the code examples that we wrote in class using the Java Visualizer.

See the programming assignment page for your third assignment.

For Thursday, read Section 3.8 and Section 3.10 from the textbook. Do all the "Participation Activities" and "Challenge Activities" in each section.

Here are the code examples that we wrote in class using the Java Visualizer.

For next Tuesday, read Sections 3.1 to 3.6 and also Section 3.25 from the textbook. Do all the "Participation Activities" and "Challenge Activities" in each section.

Here is the code that we wrote in class using the Java Visualizer.

Important: Starting today, class will meet in a new location, Gyte 240.

See the programming assignment page for your second assignment.

For Thursday, read Sections 2.9 to 2.14 from the textbook. Do all the "Participation Activities" and "Challenge Activities" in each section.

For next Tuesday, read Sections 2.1 to 2.8 from the textbook. As you read each section, do all the "Participation Activities" and "Challenge Activities" in each section.

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

For today, read Sections 1.1 to 1.7 from the textbook. As you read each section, do all the "Participation Activities" and "Challenge Activities" in each section. (This is about 14 pages of reading material.)

For Thursday, read Sections 1.8 and 1.15 to 1.18 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 Java Visualizer 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).