| about | help | done | prefs | create account |
Free online Java practice problems -- basic logic, strings, loops, arrays, and recursion (example problem). Practice for an exam, or as homework, or in a lab. Create custom problems and a Blog for discussions, comments etc.
See Also: Example Code Java help: If Boolean Logic | Strings | While and For Loops | Arrays and Loops
Warmup-1 ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Simple warmup problems to get started (solutions available) sleepIn H monkeyTrouble H sumDouble H more![]() | Warmup-2 ![]() ![]() ![]() ![]() ![]() Medium warmup string/array loops (solutions available) stringTimes H frontTimes H stringBits H more![]() |
String-1 ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Basic string problems -- no loops helloName makeAbba makeTags more![]() | Array-1 ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Basic array problems -- no loops. firstLast6 sameFirstLast makePi more![]() |
Logic-1 ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Basic boolean logic puzzles -- if else && || ! cigarParty H dateFashion H squirrelPlay more![]() | Logic-2 ![]() ![]() ![]() Medium boolean logic puzzles -- if else && || ! makeBricks loneSum luckySum more![]() |
String-2 ![]() ![]() ![]() ![]() ![]() ![]() ![]() Medium String problems -- 1 loop doubleChar H countHi H catDog more![]() | String-3 ![]() ![]() ![]() ![]() Harder String problems -- 2 loops countYZ withoutString equalIsNot more![]() |
Array-2 ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Medium array problems -- 1 loop countEvens bigDiff centeredAverage more![]() | Array-3 ![]() ![]() ![]() Harder array problems -- 2 loops, more complex logic maxSpan fix34 fix45 more![]() |
AP-1 ![]() ![]() ![]() ![]() ![]() ![]() AP CS medium problems scoresIncreasing scores100 scoresClump more![]() | Recursion-1 ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Basic recursion problems factorial H bunnyEars H fibonacci more![]() |
Recursion-2 ![]() ![]() ![]() Harder recursion problems groupSum H groupSum6 groupNoAdj more![]() |
Copyright Nick Parlante 2006-09 - privacy