| 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. Teachers can get a summary table of their student's done problems. See Also: Example Code Java help: If Boolean Logic | Strings | While and For Loops | Arrays and Loops
Warmup ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Simple problems to get started (solutions avail) sleepIn H monkeyTrouble H sumDouble H more![]() | Warmup2 ![]() ![]() ![]() ![]() ![]() Simple string and array loops (solutions avail) stringTimes H frontTimes H stringBits H more![]() |
String1 ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Basic string problems -- no loops helloName makeAbba makeTags more![]() | Array1 ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Basic array problems -- no loops firstLast6 sameFirstLast makePi more![]() |
Logic ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Little boolean logic puzzles -- if else && || ! cigarParty H dateFashion H squirrelPlay more![]() | AP1 ![]() ![]() ![]() ![]() ![]() ![]() AP CS practice problems scoresIncreasing scores100 scoresClump more![]() |
String2 ![]() ![]() ![]() ![]() ![]() ![]() ![]() Medium String problems -- 1 loop doubleChar H countHi H catDog more![]() | String3 ![]() ![]() ![]() ![]() Harder String problems -- 2 loops countYZ withoutString equalIsNot more![]() |
Array2 ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Medium array problems -- 1 loop. See the Java Arrays and Loops document for help. countEvens bigDiff centeredAverage more![]() | Array3 ![]() ![]() ![]() Harder array problems -- 2 loops, more complex logic. See the Java Arrays and Loops document for help. maxSpan fix34 fix45 more![]() |
Recur1 ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Basic recursion problems factorial H bunnyEars H fibonacci more![]() | Recur2 ![]() ![]() ![]() Harder recursion problems groupSum H groupSum6 groupNoAdj more![]() |
Copyright Nick Parlante 2006-07 - privacy