| about | help | code help+videos | done | prefs |
konstans@stuy.edu summerapcs
The purpose of this work is that all students enter APCS with a common foundation. All of these problems are meant to help you convert your prior CS experience into java syntax. Though these are designed to pull upon your prior CS knowledge some of you have more/less experience. If it takes you longer to complete these problems now, persevere so that your APCS experience goes more smoothly.
Functions with no loops/conditionals.
This section is just to verify that you can create a basic function that returns the correct value.
Conditionals:
Loops:
smallestX
sumAtoB
sumAtoBcountingByC
isPerfectSquare
sumOddDigits
anyInRangeDivisibleByValue
Loops with Arrays:
largestValue
indexOfLargestValue
Modify an Array:
fixGradesArray
moveNegativeToEnd
jump in difficulty:
moveAllNegativeToEnd
(hint - debug in a java file. The java file needs the static keyword to function. In your debugging print out the array each iteration of the loop so you see what each step looks like.)
Loops with Strings.
isVowel
countVowels
stringDupe
isAlmostEqual
Authoring docs
Copyright Nick Parlante 2017 - privacy