Overview
This week’s exercises will give you practice in writing static methods in Java. These are fairly similar to functions in Haskell.
Furthermore, you will learn about the standard input and output streams (StdIO) and how you can use the class java.util.Scanner from the Java library for reading user input at runtime.
Lastly, we will look at different ways of handling errors using return values and basic exceptions.
Difficulty | Question | Description |
---|---|---|
warmup | Q1 | Array Front |
Q2 | Date Fashion (Pair Programming) | |
core | Q3 | IsTriangular |
Q4 | NMax | |
Q5 | CoordinateConverter | |
Q6 | ArrayOps | |
Q7 | Error Handling | |
Q8 | One Time Pad (Pair Programming) | |
optional | Q9 | Factorial Recursion (Pair Programming) |