Topical Information

This set of labs should help you firm up your knowledge of Java's basic decision making structures as well as its supporting data type and operators.

Core Choices

  1. You may do Programming Exercise P5.1 for (Level 1.5).

  2. You may do Programming Exercise P5.2 for (Level 1.5).

  3. You may do either of Programming Exercises P5.3 or P5.6 for (Level 1.5).

  4. Write a program that prints the question "Do you want to continue?" (no quotes, of course) and reads a user input. If the user input is "Y", "Yes", "OK", "Sure", "Si", "Oui", or "Why not?", print out "OK". If the user input is "N", "No", "Non", or "Why?", then print out "Terminating". Otherwise, print "Bad input". The case of the user input should not matter. For example, "y" and "no" are also valid inputs. Write a class YesNoChecker for this purpose. This program is worth (Level 1.5).

  5. You may do Programming Exercise P5.4 for (Level 1.5).

    I'll add another (Level 0.5) if you make the presence/absence of F+ and F- configurable by the programmer (via constructor and/or mutator methods). (Question: What is an F- worth?)

    I'll add another (Level 0.5) if you make the value of A+ configurable by the programmer to either 4.0 as is the A or to 4.3 just like the other +s. (This should be do-able via constructor and/or mutator methods.)

    I'll add another (Level 0.5) if you make the value of + and - steps configurable by the programmer. (This should be do-able via constructor and/or mutator methods.) (Typical alternate values are 1.0/3 and 0.25.)

  6. You may do Programming Exercise P5.5 for (Level 1).

  7. You may do Programming Exercise P5.7 for (Level 1).

  8. You may do Programming Exercise P5.8 for (Level 1).

  9. You may do Programming Exercise P5.9 for (Level 1.5).

  10. You may do Programming Exercise P5.10 for (Level 1).

  11. You may do Programming Exercise P5.11 for (Level 1).

  12. You may do Programming Exercise P5.12 for (Level 0.5).

    I'll throw in another (Level 1) to research and implement both pre-Gregorian leap methodologies and the concept of the leap second.

  13. You may do Programming Exercise P5.13 for (Level 1).

  14. You may do Programming Exercise P5.14 for (Level 0.5).

  15. You may do Programming Exercise P5.15 for (Level 1). Please note that 'rejecting' should not imply the display of spurious messages to the screen (or other devices) but rather the return of a false value to the caller (as opposed to a normal true return).

  16. You may do Programming Exercise P5.16 for (Level 0.5).

  17. You may do Programming Exercise P5.17 for (Level 2). (Note that this program is essentially enhancing P4.7...if that helps...)

  18. You may do Programming Exercise P5.18 for (Level 2).

  19. You may do Programming Exercise P5.19 for (Level 1.5).

  20. You may do Programming Exercise P5.20 for (Level 1.5).

  21. You may do Programming Project 5.2 for (Level 2).

  22. This space reserved to add more labs...maybe...


Your target level for this lab set is (Level 5). Please, choose from the core choices to meet this goal. After you've met it, you may decide to improve the level total by selecting from the boosters below.

Booster Choices