The front page of the exam will contain compact documentation for the Scanner, Random, and String classes.
A strategy: on questions where you are asked to write a method, write the method signature first, not worrying about what it’s supposed to do. Just get the return type and arguments framed correctly. Then read what the method is supposed to do and implement it.
There’s no lab on Wednesday, 11/23.
Evaluate !(a && !b) for all possible values of booleans a and b.
Write a method that moves the mouse in a square.
Write a loop that moves the mouse in a square 10 times.
Write a method prepend that takes a String array argument and a prefix String and prepends the prefix onto all elements in the array.
Write a method called split that takes a String and a String delimiter and returns the tokens of the String delimited by the delimiter as an array.