APCS Lab Review
APCS Review Lab problems:
The following Labs and subsequent Practice-It problems are available here for you to use as focused reviews on the various concepts we have covered so far. Be aware that the Labs contain references & links to the UW 142 class material that likely will not function properly; where available, I have given you the updated links to the corresponding Practice-It problems below each lab, as well as the additional one’s that Practice it has in its Lab section. To Review in class, I will ask if anyone has specific questions from this review material and go over them on the projector with those interested. For a self-guided review or reference, use our Java Mid-Term Review Slide Summary.
Lab 1: Java Basics : Basics of JGrasp, println, Indentation & braces, Escape Sequences (i.e. \n)
Lab 2: Expressions and Loops : Evaluating Expressions, variables declaration & assignment, basic for loops
Lab 3: Parameters and Graphics : Parameter Mystery, creating methods, generating graphics, parameters in graphics methods
- Exercise 3.2: printPowersOf2
- Exercise 3.3: printPowersOfN (from our worksheet)
- Face, Face2, & Face3
- stairs, stairs2, stairs3, & stairs4,
- Spiral
Lab 4: if/else, Scanner, return : Math Expressions, if/else Mystery, Console input Scanner, Cumulative Sum
- seeMovie
- area
- pay
- DevryAdmit
- Exercise 5.14: numUnique
- Exercise 4.6: smallestLargest – Cumulative
- Exercise 4.4: pow – Cumulative
- Exercise 4.7: evenSumMax – Cumulative
Lab 5: while loops, Strings: String Expressions, while Loop Mystery, Fence Post loops
- stringExpressions
- ProcessName
- ProcessName2
- Exercise 5.9: printFactors – Fence Post method
- Exercise 4.14: swapPairs
- Exercise 4.5: printRange – additional Fence Post problem
- Self-Check 5.12: printLetters – additional Fence Post problem
- before
- lastDigit / firstDigit / digitSum - Cumulative
- isNonVowel , isAllVowels
- hasAnOddDigit / allDigitsOdd
Lab 6: Files : Reading Files, Scanning Tokens, Methods using Scanners
Lab 7: Arrays : Array Mysteries, Arrays as Parameters & Return values, more array methods
- Exercise 7.9: minGap
- Exercise 7.10: percentEven
- swap
- swapAll
- reverse – done in our worksheet
- stutter – done in our worksheet
- copyAll
- copyRange
- equals
Next Semester: – Ignore these for now, we will be covering early Next Semester



