This week's giveaway is in the Spring forum.
We're giving away four copies of REST with Spring (video course) and have Eugen Paraschiv on-line!
See this thread for details.
The moose likes Beginning Java and the fly likes Exercises and Ideas Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of REST with Spring (video course) this week in the Spring forum!
JavaRanch » Java Forums » Java » Beginning Java
Bookmark "Exercises and Ideas" Watch "Exercises and Ideas" New topic

Exercises and Ideas

Peter Allen

Joined: Apr 13, 2002
Posts: 13
I needed help on this, but I'm not finding an answer. I'm trying to focus on java programming, but I'm out of ideas of what I could program. This isn't ideas for final projects in college, just simple exercises and programs I could make. I think it would be helpful if everyone could post ideas or links for simple program ideas. I'm trying to focus on algorithm designs also (usually dealing with arrays or Strings). Here's what I'm looking for:
but I've done all those that I could do at this point. Even college pages with exercises will do, I'm just in need of ideas Thanks for any suggestions.
Dirk Schreckmann

Joined: Dec 10, 2001
Posts: 7023
Bradley Kjell in his Introduction to Computer Science using Java on-line tutorial offers a few exercises to work on.

[How To Ask Good Questions] [JavaRanch FAQ Wiki] [JavaRanch Radio]
Dirk Schreckmann

Joined: Dec 10, 2001
Posts: 7023
Practice exercises are suggested at the end of a lot of the trails of Sun's Java Tutorial.
Dirk Schreckmann

Joined: Dec 10, 2001
Posts: 7023
If you're looking a larger Java project experience, you might want to check out The SCJD Development Team.
Good Luck.
Sayed Ibrahim Hashimi
Ranch Hand

Joined: May 17, 2001
Posts: 148
Why don't you write a quicksort method like java's arrays.sort method. You can compare the times with it also.
To let you know about arrays.sort It uses insertion for segments of size less than 7. For sizes between 7 and 40 the pivot is selected using the median-of-three rule. And a version of the median-of-nine for those over 40.

SCJP 1.4<br /><a href="" target="_blank" rel="nofollow"></a>
Jake Westphal

Joined: Apr 10, 2002
Posts: 4
To practice algorithms, I've been using some technical interview web sites for good ideas. Here is one site I use: Ace The Interview - Technical Questions
The answers are posted in C/C++, but I code the answers in Java. They have some good algorithm questions there. Another site I use is:
Technical Interview Questions. The questions can usually be solved and coded within a few hours (depending on your Java proficiency).
One other suggestion I have is to port something? Do you have an old application you developed that you could port to Java? While you wouldn't be working with algorithms, you would certainly learn the API!!
Good luck,
I agree. Here's the link:
subject: Exercises and Ideas
It's not a secret anymore!