Warning This class is being recorded.
Approximate overview
Academic
Cultural
Peer
Wellness
Misc
File names must match. If I tell you to create a class named
CaesarCipher.java
, it should be named CaesarCipher.java
and
not CeasarCipher.java
or WickedNeatCipher.java
.
Output should match. If I tell you that the output should just be the encrypted word, you should not have extra output.
I care about style. You should match Google Java Style, including two-space indents and appropriate capitalization.
I care about style. You should choose good names for variables and procedures.
If the instructions say to put particular text in a file, you must put that text in the file. (Some of you didn’t include your name or the one-sentence description in the README file.)
To reach M, you need not do extra error checking and such (unless I tell you to). To reach E, you should. E code is robust code.
$ java CaesarCipher encode
Please include the string you wish to encode.
$ java VigenereCipher
You incompetent user! Do you not know that this program requires
(a) the word encode or decode
(b) a string to encode
(c) a key
You have failed to protect the security of your nation. You will
now be executed.
/**
* Encrypt/Decrypt text from the command line using the legendary
* Caesar Cipher mechanism.
*
* @author S Tudent
*/
public class CaesarCipher {
...
} // class CaesarCipher
When is the rubric being released?
Tonight. Sorry for the delay.
Will I have to be as careful on output for MP2 as I was supposed to be for MP1?
Nope. We didn’t specify output this time.
Do I have to make sure that the input is in the correct form?
No for an M, yes for an E.
VSCode may currently be broken in MathLAN. You may have to use the terminal instead, at least for compilation. I HATE COMPUTERS!
Try Float.valueOf(f)
to convert a float
value (primitive type) to
a Float
value (object).
For exercise 3a, I want something like
TextBlock block3 = new BoxedBlock(new TextLine("Testing"));
TBUtils.print(pen, block3);
3b: Box a Box
3c: Box something empty. (Do we have something empty?)
It’s 11:15. I have a “Sam said you can stop here” policy.