Win a copy of Mesos in Action this week in the Cloud/Virtualizaton forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Exercises and Ideas

 
Peter Allen
Greenhorn
Posts: 13
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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:
http://www.javaranch.com/cattledrive.jsp
or
http://mindprod.com/projects.html
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
Sheriff
Posts: 7023
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Bradley Kjell in his Introduction to Computer Science using Java on-line tutorial offers a few exercises to work on.
 
Dirk Schreckmann
Sheriff
Posts: 7023
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Practice exercises are suggested at the end of a lot of the trails of Sun's Java Tutorial.
 
Dirk Schreckmann
Sheriff
Posts: 7023
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Also,
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
Posts: 148
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
Jake Westphal
Greenhorn
Posts: 4
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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,
Jake
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic