Homework Assignments for CS 125

Exam No. 2
The second exam covers the following sections from the Java textbook:
Chapter 4, Sections 4.1, 4.2, 4.3, 4.4, 4.5, 4.6, 4.7, 4.9
Chapter 5, Sections 5.1, 5.2, 5.4, 5.5, 5.6, 5.9, 5.14
Chapter 6, Sections 6.1, 6.2, 6.4, 6.5, 6.6
Chapter 9, Sections 9.1, 9.2, 9.4
Here are the review problems for the exam. The exam is on Tuesday, May 5, at 8:00 a.m.

NOTE:
All of the Java programming assignments must be turned in by the day of the final exam, Tuesday, May 5. No programming assignments will be accepted after that day. Any programming assignment not turned in by then will get a grade of zero points.

Assignment 8.
For this assignment you have a choice. Either do Programming Exercise P6.10 on page 284 of the Java textbook, or do Programming Exercise P6.13 on page 286 of the Java textbook. This assignment is due April 30.

Assignment 7.
This assignment has two parts. First, do Programming Exercise P5.6 on page 225 of the Java textbook. Second, do Programming Exercise P5.24 on page 231 of the Java textbook. For Exercise P5.24, be sure to also write a test program that asks the user to input two strings, and then calls the function that you wrote using those strings as parameters. The test program should print out the result of the function call. This assignment is due April 21.

Assignment 6.
Do Programming Exercise P4.8 on page 174 of the Java textbook "Computing Concepts with Java Essentials." This assignment is due April 14.

Assignment 5.
Do Programming Exercise P3.15 on page 129 of the Java textbook "Computing Concepts with Java Essentials." This assignment is due April 2.

Exam No. 1
NOTE: Because of the weather, the first exam will be Tuesday, March 24, right after spring break. Here are the review problems for the exam.

Assignment 4.
Do Programming Exercise P2.23 on page 84 of the Java textbook "Computing Concepts with Java Essentials." Make sure that your program outputs the random integer that it uses; otherwise you will not be able to check if your program computed the correct password. This assignment is due March 27 (after the exam).

Solutions to Assignment 3.
Note: Because of some graphs at the end of this worksheet, it is a pretty big file; it is about 400Kb in size.

Assignment 3.
Download this Maple worksheet, and save it on your computer. Open the worksheet using Maple, then follow the instructions in the worksheet. When you turn in this assignment, you should also put a copy of your solution worksheet on your CS 125 webpage on the AXP (see Assignment 0). This assignment is due February 24.

Solutions to Assignment 2.
Note: This worksheet contains a few graphs; it is about 90Kb in size.

Assignment 2.
Download this Maple worksheet, and save it on your computer. Open the worksheet using Maple, then follow the instructions in the worksheet. This assignment is due February 10.

Solutions to Assignment 1.
Note: This worksheet contains quite a few Maple graphs, so it is much larger than all of the other worksheets (almost 200Kb).

Assignment 1.
Download this Maple worksheet, and save it on your computer. Open the worksheet using Maple, then follow the instructions in the worksheet. This assignment is due January 27.

Assignment 0
Save this web page to your computer, and edit it to put your name in the appropriate place. Create a subdirectory called "www" for your account on the AXP (use the VMS command "create/dir [.www]" ). Move into this new directory (use the VMS command "set def [.www]" ). Create a subdirectory of "www" called "cs125" (use the VMS command "create/dir [.cs125]" ). Now ftp the file cs125.html to the directory [.www.cs125] on your AXP account. Create a Maple worksheet called homewrk0.ms on your computer (you can put anything in it), and then ftp it to the [.www.cs125] directory in your AXP account.

Return to the main Maple page.
Return to the main Java page.
Return to the CS 125 home page.

Last modified on May 1, 1998.
compliments and criticisms