| Binary Search | This algoritm searches an array and eliminates half of its elements after each comparison. This array has 15 elements. |
| Craps game | A cool simulated Craps game. If you do not know how to play craps, its very easy. Roll 2 dice. If the sum = 7 or 11 the player wins. If the sum = 2, 3, or 12 ( rolls Craps ) the player loses. If the sum = 4, 5, 6, 8, 9, or 10 that is the players "point". You must continue to roll until you "match" your point to win. If you roll a 7 before matching your point, you lose. The results are calculated in the browser's status bar. |
| powerOf method | This was an exercise to write a program that perfoms the same calculations as java.lang.Math.pow. Basically to generate a result given an base and an exponent |
| Computer Assisted Instruction | It is very common for students to suffer from fatigue while working on computers. One way to eliminate this is by varying the computer's dialogue to hold the student's attention. This is a simple arithmetic program that generates a different response for correct and incorrect answers. A useful tool to keep the student interested while learning. The questions will display in your browswer's status bar. |
| Cut and Paste fields | Use the two text fields to cut, paste and copy text from one field to the other. |
| Airline Reservation Program | This program takes reservations for a 10 seater plane with both smoking and nonsmoking sections. If your desired section is full, you're presented with an alternative and the yes + no buttons light up. You can choose not to sit in the alternative section, at which point you will prompted "Next fight leaves in 3 hours". |
| Number Slider | Number Slider displays a number value in a large font which you can control either by moving the slider left + right, or setting the value yourself in the text field. |
| StarChart | Type in 5 numbers and by using the modulas and division operators to extract each digit, a bar chart will display using asterisks. |
| Base 10 converter | This program will convert any base 10 decimal number to an hexadecimal, binary, or octal equivalent. |
| Java Draw | I've inclued 2 TextFields for width and height. Improved GUI coming shortly. If you have Microsoft's Java VM 1.5.1 installed, I've created Draw.exe to download and run as a stand-alone application. |