Class Lectures and Reading Assignments
CS 12300-01 (MW)
Programming I: Java
Fall, 2020
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.
The final exam is today. The exam can be downloaded from Brightspace at 12:30 pm. Your completed exam document is due back in Brightspace at 11:00 pm this evening. The exam document is on the same page in Brightspace where you submit programming assignments. There are more detailed instructions about completing the exam on the first page of the exam document.
I will be available from 12:30 to 2:00 using the Zoom application. Please click on the following invite link if you would like to ask a question about the exam.
According to the university's final exam schedule, the final exam for this class will be one week from today, on Monday, December 14. The final exam will begin at 12:30 p.m. and it will be administered the same way as the two midterm exams. We will not meet for class on Monday, but I will be available for a Zoom meeting during what would be class time so you can ask questions about exam problems. The exam will be due in Brightspace that evening.
Below is a summary of the final exam topics and some review/practice problems (along with the previous two midterm exam review problems).
The second midterm exam is today. The exam can be downloaded from Brightspace when class ends at 1:45. Your completed exam document is due back in Brightspace at 11:30 this evening. The exam document is on the same page in Brightspace where you submit programming assignments. There are more detailed instructions about completing the exam on the first page of the exam document.
Here are the problem solutions we wrote in class today.
The first midterm exam is today. The exam can be downloaded from Brightspace when class ends at 1:45. Your completed exam document is due back in Brightspace at 11:30 this evening. The exam document is on the same page in Brightspace where you submit programming assignments. There are more detailed instructions about completing the exam on the first page of the exam document.
Remember that the first midterm exam is Wednesday. Here is a summary of the midterm exam topics and some review/practice problems (this is the final version of the review).
Remember that the first midterm exam is a week from today. Here is a summary of the midterm exam topics and some review/practice problems (this should be the final version of the review).
Solve these problems from the CodingBat web site. These are similar to programming assignment 3 and you solve them using methods from the String class.
You may want to re-download the following zip file containing DrJava. I added to the zip file "dark/light" modes for DrJava which make it more pleasant to look at and I added the turtle geometry library used in the textbook so you can compile and run turtle code in DrJava.
Here is the Turtle code and object memory diagram that we wrote in class. You can copy and past this code into this page to run and modify it, or you can use this code with the version of DrJava mentioned just above.
For next Monday, read Section 1.3 and Section 1.4 from the other course textbook. Each section has many built in problems and exercises. Be sure to do all of them as you read these sections.
Here are links to the examples that we did in class using the Java Visualizer.
Homework: Copy this HelloWorld program from the Java Visualizer into DrJava running on your home computer. Use DrJava to save the program on your computer (as a file named HelloWorld.java), compile the program, and run it. Then use that program to do Exercise 3 at the end of Chapter 1.