||CS 111 - Introduction to Computer Science
Due: Monday 1/30 at the beginning of class. We will go through the
submission process together in class on Monday. Make sure you have
your complete README file, Hello.java, and HelloMe.java files together in the
same directory beforehand.
NOTE: For each assignment, you should submit not only the requested program files,
but also a simple text file called
README files are often used by
programmers to comment on the contents of a directory or give vital information.
Please make sure this plain text file is named "
README", not "
me.doc", etc. For each assignment, your
file will contain:
The Honor Pledge:
"I affirm that I have upheld the highest principles of honesty and integrity
in my academic work and have not witnessed a violation of the Honor Code."
- Your name
- Your Gettysburg ID number (For department assignment purposes, your name
and Gettysburg ID number in combination constitute a digital signature of the
- Answers to written questions
Read Chapter 1.
Do the bash tutorial ("Getting started with bash at Gettysburg"),
ignoring the part on "cvs" submission. Do the tutorial in one sitting so that you'll
be able to submit a transcript of your shell commands. NOTE: Following all
instructions will create a README file with evidence of your work, or add such
evidence to one if you've already created it.
In class on Friday,
we'll do the Eclipse Hello
World Tutorial together. You'll be submitting the Java file
"Hello.java" you create according to these instructions. If you
follow the tutorial instructions, you will find this file in your "hw1"
directory within your "workspace" directory.
The more you know of your work environment, the more efficient you will
be. A little time spent above and beyond these tutorials will likely
pay off significantly in the long run as a CS major/minor.
Create a separate Java application called
that prints "
inserting your name for <name>.
In your own words, define the terms:
Java Virtual Machine (JVM)
What do the commands "
java" and "
javac" have to do with the previous terms?
In your own words, describe these errors. When is each type of error
encountered in the programming process (e.g. editing stage, compilation stage,
execution stage, etc.)?