Class Lectures and Reading Assignments
CS 12300-02 (TR)
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 1:00 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. If you have a question about the exam, please send me an email at any time or joing the following Zoom meeting.
I will be available during the regular class time, from 3:30 to 5: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 Thursday, on December 17. The final exam will begin at 1:00 p.m. and it will be administered the same way as the two midterm exams. We will not meet for class on Thursday (or Tuesday) of final exam week, 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 Thursday 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 4:45. Your completed exam document is due back in Brightspace at midnight 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.
The first midterm exam is today. The exam can be downloaded from Brightspace when class ends at 4:45. The exam document is on the same page in Brightspace where you submit programming assignments. Your completed exam document is due back in Brightspace at midnight this evening. There are more detailed instructions about completing the exam on the first page of the exam document.
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 that we wrote in class. You can copy and past this code into this page to run and modify it. Later we will see how to use this Turtle code with DrJava.
For next Tuesday, 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 is a link to the example code that we wrote in class today.
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.