Class Lectures and Reading Assignments
CS 12300
Programming I: Java
Spring, 2021
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 10:00 a.m. The exam file is on the same page in Brightspace where you submit programming assignments. Your completed exam document is due back in Brightspace at 11:00 p.m. this evening. There are more detailed instructions about completing the exam in the exam document. If you have questions, please send me an email at any time during the exam.
According to the university's final exam schedule, the final exam for this class will be one weeks from today, on May 6. Below is a summary of the final exam topics and some review/practice problems (along with the previous two midterm exam review problems).
According to the university's final exam schedule, the final exam for this class will be two weeks from Thursday, on May 6. The final exam will begin at 10:00 a.m. and it will be administered the same way as the two midterm exams. There will be review problems for the exam soon.
Read the following sections about writing classes.
The second midterm exam is today. The exam can be downloaded from Brightspace when class ends at 10: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 11 p.m. this evening. There are more detailed instructions about completing the exam on the first page of the exam document.
For next week, read the following two sections on arrays.
The first midterm exam is today. The exam can be downloaded from Brightspace when class ends at 10: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 11 p.m. this evening. There are more detailed instructions about completing the exam on the first page of the exam document.
For next week, read the following introductions to while-loops and for-loops.
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. You can also use this Turtle code in DrJava.
For Thursday, read the following four sections which describe Java objects and how we call methods on objects. Be sure to try all of the built in problems.
Here are links to the code we used in class with the Java Visualizer. Rerun these examples and pay close attention to how the Java Visualizer draws the stack diagrams.
For next Tuesday, read the four Sections
1.3,
1.4,
1.5, and
1.6 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.
Exercise: 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.