
Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
Prepare for your exams
Study with the several resources on Docsity
Earn points to download
Earn points by helping other students or get them with a premium plan
Instructions for a java programming assignment where students are required to figure out two algorithms named mystery1 and mystery2 by reading the source code and running the program. The assignment involves downloading and installing the java development kit (jdk), compiling and running the mystery.java program, and submitting the results. The document also mentions a programming portfolio due date and previous assignments that need improvement.
Typology: Assignments
1 / 1
This page cannot be seen from the preview
Don't miss anything!

Fall 2006
The purpose of this assignment is mainly to give you a taste of a more conventional programming model — the edit-compile-execute cycle. For this exercise, we will use the Java programming language. Despite the name similarity, Java and JavaScript are actually significantly different from each other.
We have selectively covered material from Chapters 6 and 8 from the Brookshear book. If you are un- able to read through these chapters in their entirety, then focus on Sections 6.1, 6.2, 6.4, and 8.1.
A quick head’s up — your programming portfolio is due on December 14, in approximately 3 weeks. It will consist of fixed-up, improved, and overall better versions of the following assignments:
The provided Mystery.java program contains two algorithms, named mystery1 and mystery2 , respec- tively, that take a piece of text and produce another piece of text (or string) as a result. You are asked to figure out, through a combination of reading the source code and running the program, what exactly these algorithms do. You will need the Java Development Kit (JDK) for this assignment. Check the Java Crib Sheet handout for detailed instructions on downloading, installing, and using the JDK.