This week's book giveaway is in the OO, Patterns, UML and Refactoring forum.
We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma on-line!
See this thread for details.
The moose likes Programming Diversions and the fly likes Help me plz , its urgent Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

JavaRanch » Java Forums » Other » Programming Diversions
Reply locked New topic

Help me plz , its urgent

Sunil Kumar Gupta
Ranch Hand

Joined: Aug 26, 2005
Posts: 824
Hi all group members

Plz help me to solve the problem.It's very urgent....

I got a call from a company...They gave me the assignment to complete.. But

i am confued, how to start the solution of this problem......

The problem is


Our ideal interview process involves working as a pair on some real programming task, but barring that we have come up with a long-distance challenge. This is something new for us, so part of the challenge will be how gracefully we can deal with any surprises. Please give us any feedback you may have.

You are not expected to complete all parts of the challenge described below. We haven't given you a chance to estimate the cost of the various pieces, and we will be looking as much at the style of your program as at its satisfaction of the specification. In particular, we will be looking for simplicity of design, how well the code communicates your
intention, and how complete and coherent your unit tests are.

The only strict requirements are that the code you submit compiles, that the program does have unit tests, and that the all the unit tests are passing.

Please note what development tools and versions you use, and any external dependencies your program requires.


Your challenge is to begin development of a back-end system for the Galactic Census. You will be designing and implementing a Java API; you will not be building the user interface.

The specifications have been written on a stack of white index cards. Each card has a title at the top and a few sentences describing what is desired. Your customer, the Galactic Government, has also communicated to you some idea of the value of each card.

Card Title Description Value
Person Data Entry Several persons may be entered into the system. Each person has a full name, date of birth, planet of residence, local address (on that planet), and annual income. Being able to enter this data is critical to the Census.

Person Data Report All the person data in the system may be retrieved at once. The data should be grouped by planet, and ordered alphabetically by full name within each planet. This report will be needed in the future, but is less immediately valuable than the various statistics.

Statistic: Galactic Total The total number of persons in the Galaxy may be retrieved from the system. This statistic is one of the primary goals of the Census.

Statistic: Planetary Total The total number of persons on any given planet may be retrieved from the system. This statistic is one of the primary goals of the Census.

Statistic: Galactic Per Capita Income The average income per person in the Galaxy may be retrieved from the system. This statistic is required by Government economists.

Statistic: Planetary Per Capita Income The average income per person on any given planet may be retrieved from the system. Some university researchers have asked for this statistic.

Plz help me to solve this problem , its a chance for me to explore my career
with this company.....and i dont want to loose this one....

Thanks u people

Lack of will power has caused more failure than lack of intelligence or ability.
My Blog | Red5 Resources | Technology Update | Daily Technology Tips
Barry Gaunt
Ranch Hand

Joined: Aug 03, 2002
Posts: 7729
Duplicate Post. Other one is in JIG(Adv).
[ September 25, 2005: Message edited by: Barry Gaunt ]

Ask a Meaningful Question and HowToAskQuestionsOnJavaRanch
Getting someone to think and try something out is much more useful than just telling them the answer.
I agree. Here's the link:
subject: Help me plz , its urgent
It's not a secret anymore!