This programming project should be done individually. It is okay to get help from the TAs and/or the instructor if you get stuck, but you should try to do it on your own first.
Tip: You should get into the habit of making backup copies of your work.
Change the "Hello World" program so that it prints your name. However, your name should not be printed normally, but in block letters; i.e., if your name is Kiana, the modified program should print something like
K    K   i K   K K  K    ii    aa    n nn    aa K K      i      a   nn  n     a KK K     i    aaa   n   n   aaa K   K    i   a  a   n   n  a  a K    K  iii   aa a  n   n   aa aThis would be printed as seven different lines, the first of which is
"K    K   i"
. You may make your block letters as simple or fancy as you like.
Create a new project. In the BlueJ Project menu, select "New Project...." Give the project a name that describes the program option you chose.
Create a new class by clicking on the "New Class" button in the control panel to the left of the project diagram. Give your new class an appropriate name for the program you chose to implement. Using a big copy-and-paste, replace the BlueJ default contents of your class with the contents of the TrivialProgramClass from Lab 1. Change the name of the class to match the name you gave the file, and change the welcome message to be appropriate for this project. Make sure that this initial version of your program will compile and run.
Tip: Here are some handy keyboard shortcuts:
Select-All: Command-A (Mac), Control-A (Windows)
Copy: Command-C (Mac), Control-C (Windows)
Paste: Command-V (Mac), Control-V (Windows)
Modify the contents of
the main
method in your new class to implement the
program you chose.
Update the javadoc comments at the top of your file
with your name and the date, as well as the names of anyone from whom
you received help.
Compile and run your program to be sure that it works as
specified.
Providing proper documentation is an important step towards writing
well-structured and reusable programs.
YourName_PP1a
, zip it,
and submit the complete project to
Kit as a single zip file.