Vocareum provides various online virtual lab environments, including the programming lab environment that we will be using in this course. Using Vocareum requires a subscription fee that will be charged directly to your eBill via Auburn’s All Access program. Do NOT go to the Vocareum website directly to sign up or pay. Instead, your Vocareum account will be automatically created when you access the Vocareum activity via the “Load in a New Window” button at the bottom of this page. This will load Vocareum and you will be prompted to enter the access code that was given to you in an email from the AU Bookstore. This will not only activate your Vocareum account, but it will also link your Vocareum account to your Canvas account, and will automatically post the scores you earn in Vocareum to the Canvas gradebook for this course.
This activity is designed to give you a first experience working with Vocareum as you will for hands-on activities, assignments, and lab tests in this course. When you click on the ‘Open in new tab’ button in Canvas, a separate browser tab will open with this activity loaded in your Vocareum account.
The Vocareum user interface for this activity is divided into three columns. The left column is a file browser, the right column is an information display, and the middle column contains a program editor (top pane) and a terminal/console (bottom pane). Spanning the top of all three columns is a panel with action buttons.
resource/startercode: Contains files provided as part of the activity.work: The current working directory for your activity. This directory
contains the source code that you are currently editing and working with,
plus associated files that may be accessed or generated.stdout, including the
output of submission and grading scripts.work directory for
grading. Each activity, assignment, and lab test allows unlimted
submissions, so you can submit as often as you like. Note that a side
effect of this action is that the Information Display is changed to show
the resulting grading report.work directory and replaces it
with the original files in resource/startercode.When first loading this activity in Vocareum, the interface should look essentially like the following:

If your interface looks significantly different, please alert a course staff member.
The overall goal of this activity is for you to get comfortable completing
programming activities and having them graded by Vocareum. The specific task for
which a grade will be assigned is modifying the WarEagle class so that it
passes all test cases and earns full points.
WarEagle.java should be already loaded in the editor,
but if it is not, open the work folder in the file browser and click on the
WarEagle.java file.Now your task is to modify the WarEagle source code to make it pass all tests
and earn the full points available. You can do this completely within the
Vocareum environment or you can do the programming, testing, and debugging on
your own machine and simply use Vocareum for grading. To work completley within
Vocareum, simply use the programming editor (or vim in the terminal/console) to
edit the file and then submit as often as you want. If you prefer to work on
your own machine, then download the source code, work in the editor/IDE of your
choice on your own machine, and then upload and submit as often as you like. I
think you will find that each approach is suited to different situations and
that you will want to be comfortable using either approach. For example, many
hands-on activities (like this one) and lab tests are more easily done all
within Vocareum, while almost all assignments are better done on your own
machine using the IDE of your choice.
Spend some time practicing both approaches. Be sure to make a few intentional mistakes, including syntax errors, so that you get comfortable with the way that submissions to Vocareum work and with the feedback that you receive after each submission. Remember that you can use the Reset action button to revert back to the starter code; this might make repeated practice easier.