Java Reference
In-Depth Information
17. Lead County Credit Union (LCCU) has recently upgraded its software
systems to an OOD design. List at least five classes that you think should be
included in this design. For each class, identify some of the data members
and methods.
18. Your local public library wants to design new software to keep track of
patrons, books, and lending activity. List at least three classes you think
should be in the design. For each class, identify some data members and
methods.
19. The Custom Consulting Company (CCC) places temporary computer
professionals in companies that request such employees. CCC's business
can be explained as follows:
CCC keeps a list of professionals willing to work or currently working on a
temporary assignment. A professional may have up to three qualifications,
including programmer, senior programmer, analyst, tester, designer, and so
on. A company always requests a professional with a single specific quali-
fication. CCC keeps a list of all its clients (that is, a list of other companies)
and their current needs. If CCC can find a match, a professional with the
required qualification is assigned to a specific opening at one of CCC's
clients.
Identify at least five classes and, for each class, list possible data members and
methods.
6
PROGRAMMING EXERCISES
1. Design a GUI program to find the weighted average of four test scores. The
four test scores and their respective weights are given in the following
format:
testscore1 weight1
...
For example, the sample data is as follows:
75 0.20
95 0.35
85 0.15
65 0.30
The user is supposed to enter the data and press a Calculate button. The
program must display the weighted average.
2. Write a GUI program that converts seconds to years, weeks, days, hours, and
minutes. For this problem, assume 1 year is 365 days.
3. Design and implement a GUI program to compare two strings and display
the larger one.
 
Search WWH ::




Custom Search