| Author |
Practice Problems
|
Mitch Krah
Ranch Hand
Joined: Sep 06, 2004
Posts: 41
|
|
I am trying to get ready for my Beginning Java Final and am looking for SIMPLE problems where I can practice Java syntax (e.g. for class, method, objects, etc.). Unfortunately, the two books that I have only provide problems that require 100s of lines of code (usually, with 3 lines that exercise the technique they are trying to teach). Can anyone suggest a place where I can go to get simple problems to exercise the referenced items? Your assistance is appreciated.
|
 |
Dirk Schreckmann
Sheriff
Joined: Dec 10, 2001
Posts: 7023
|
|
|
Here is a list of free on-line Java tutorials and books that I have found useful. Many of them contain practice exercises of various sizes.Sun's Java TutorialIntroduction to Computer Science using Java by Bradley KjellIntroduction to Programming Using Java by David J. EckDick Baldwin's Java Programming TutorialsInteractive Programming In Java by Lynn Andrea SteinBruce Eckel's Thinking In JavaJavaRanch's own Campfire StoriesAllen B. Downey's How To Think Like A Computer Scientist
|
[How To Ask Good Questions] [JavaRanch FAQ Wiki] [JavaRanch Radio]
|
 |
Nick George
Ranch Hand
Joined: Apr 04, 2004
Posts: 815
|
|
Contest samples Here's a contest I was in last year... got third place...
|
I've heard it takes forever to grow a woman from the ground
|
 |
Nick George
Ranch Hand
Joined: Apr 04, 2004
Posts: 815
|
|
Here's a few more I can remember: 1. Take 2 input string which are numbers in base 13 (1-B), and multiply them together, printing the result in base 13. (no using converstion methods of Integer) 2. Take an input number n, and consider an n x n grid. How many different ways are there to go from the bottom left corner to the top right corner, if the only legal moves are up and left? 3. Take an input n, and print out an n-row pascal's triangle. Make sure it's spaced nice and pretty. If I think of anymore, I'll post them. [ November 28, 2004: Message edited by: Nick George ]
|
 |
Mitch Krah
Ranch Hand
Joined: Sep 06, 2004
Posts: 41
|
|
|
Thank you everyone. I am sure these suggestions will be quite helpful.
|
 |
 |
|
|
subject: Practice Problems
|
|
|