← all categories
Objects & Classes
-
Exam Free Response 1 Practice: RosterTools.initials 1.17 🌶️🌶️
This is practice in the shape of AP Exam Free Response Question 1 (Methods and Control St…
-
Exam Free Response 1 Practice: RosterTools.formatRosterLine 1.17 🌶️🌶️🌶️
Continuing the RosterTools class from the previous problem. You may assume initials works…
-
Exam Free Response 1 Practice: GeoTools.quadrantLabel 2.5 🌶️🌶️
This is practice in the shape of AP Exam Free Response Question 1 (Methods and Control St…
-
Exam Free Response 1 Practice: GeoTools.describeRoute 2.5 🌶️🌶️
Continuing the GeoTools class from the previous problem. You may assume quadrantLabel wor…
-
classifyPoint 2.5 🌶️🌶️
Write a method that takes a Point2D parameter, p, and an int parameter, scale, and return…
-
standing 2.5 🌶️🌶️
Write a method that takes a Student parameter, s, and an int parameter, minAttendance, an…
-
Fix lengthOrZero 2.6 🌶️
The method below is supposed to return the length of the String `s`, or 0 if `s` is `null…
-
sameOrBothMissing 2.6 🌶️🌶️
Write a method `sameOrBothMissing` that takes two `Money` objects, **either of which may …
-
nextDeparture 2.7 🌶️🌶️
Buses leave a stop at the `first` time and then every `every` minutes (1 or more). You ge…
-
pennyChallengeDays 2.7 🌶️🌶️🌶️
In a savings challenge you put `start` into a jar on day 1. After that, each day you put …
-
booksToOverhang 2.7 🌶️🌶️🌶️
A stack of identical books sits on the edge of a table. In the best way to stack them, th…
-
Vector2D.Magnitude 3.5 🌶️
Below is the definition of a Vector2D class, representing a two dimensional vector - an …
-
BankAccount.deposit 3.5
Below is a partially written BankAccount class. It already has a balance field and a cons…