PROXOR JAVA EXAM IMPORTANT EXAM INFORMATION

These instructions contain important information to help you successfully complete the examination. If you exit the browser or close the instructions tab, you can always recover them by double-clicking the README_FIRST.html document on the desktop.

The exam environment contains all of the code for the exam tasks along with the Java JDK and documentation, Eclipse, NetBeans, and command line tools.

On the left side of the desktop is the launcher that contains shortcuts for all of the applications you may need to complete the exam.

  • Installed Development Environments
  • The following development environments are installed in the exam environment:

    The tasks that you must solve are in a file named TASK_ASSIGNMENTS.txt in your home directory. You can open that in this browser. A bookmark is provided. Alternatively you can go to the home directory and open the file. Work on these tasks. Only these tasks will be scored.

      • 1. Eclipse Indigo Version: 3.7.2, Build id: I20110613-1736
      •    + FindBugs Feature 2.0.0.20111221 (supplied by findbugs.cs.umd.edu)
      •    + PMD Plug-in 3.2.6.v200903300643 (supplied by pmd.sourceforge.net)
      •    + Complete list of Eclipse configuration and components
      • 2. BlueJ version 3.0.8 (supplied by bluej.org)
      •    + Submitter extension version 21 Oct 2008
      •    + PMD extension version 1.0
      • 3. NetBeans IDE 7.0.1, Build 20111205-unknown-revn
      • 4. Terminal-based command line
      •    + Text editors
      •      . GNU Emacs 23.3.1 (i686-pc-linux-gnu, GTK+ Version 2.24.10)
      •      . VIM - Vi IMproved version 7.3.429
      •      . GNU nano 2.2.6
      •      . Jed 0.99.19U
      •      . gedit 3.4.1
      •    + Build and testing tools
      •      . Apache Ant version 1.8.2
      •      . junit version 3.8.1
      •    + Static checking tools
      •      . jlint version 3.0

    Each environment contains a complete, independent copy of the exam materials. Exam takers should select a single environment and use it consistently throughout the exam because changes made in one environment will not automatically propagate to the other environments.  Follow the detailed instructions for the specific development environment you are using.

  • Eclipse Instructions
  • Repeat the following steps for each task in the examination:

    • Navigate to the project folder provided for the task.
    • Read the readme.txt file in the project folder to learn what to implement.
    • Modify the code that is provided in the project folder (for example, a copy of SpreadSheet.java). You can create new files, but generally this will not be necessary.
    • Test your code.
    • Run the JUnit test, which will be named SomeTaskNameTest.java.
    • Invoke the submission target from the build.xml file within Eclipse to submit your solution:
    This image for Exam Environment

    Submitting a solution will result in the creation of a file of the form /home/exam-submission/taskname-submission.zip where taskname is the name of the current task.

    Note that this build target does not perform any checking of solutions prior to submission. You may wish to run the included JUnit tests for each task to ensure your solution is minimally functional.

    You should submit your solutions as you complete them rather than waiting until the end of the exam. Please request assistance from the exam proctors if you need help submitting your solutions during the course of the exam. The exam proctors will also oversee and confirm user's submissions.

  • BlueJ Instructions
  • Repeat the following steps for each task in the examination:

    • A project (represented by a folder) is provided.
    • Read the README.TXT in the project folder by double-clicking on it to learn what to implement.
    • Modify the code that is provided in the project folder (for example, a copy of SpreadSheet.java). You can create new files, but generally this will not be necessary.
    • Test your code.
    • Run the JUnit test, which will be named SomeTaskNameTest.java.
    • After you have constructed your solutions to the problems, you must submit them in a suitable form for later grading. Each task contains an ant build target that creates a zip file with your source code.  Launch a Terminal window, and navigate to the directory containing the current task.  The directory is /home/bluej/taskname where taskname is the name of the current task. With this as the current working directory, invoke ant on the command line as follows:
    $ ant submission

    Submitting a solution will result in the creation of a file of the form /home/exam-submission/taskname-submission.zip where taskname is the name of the current task.

    Note that this build target does not perform any checking of solutions prior to submission. You may wish to run the included JUnit tests for each task to ensure your solution is minimally functional.

    You should submit your solutions as you complete them rather than waiting until the end of the exam. Please request assistance from the exam proctors if you need help submitting your solutions during the course of the exam. The exam proctors will also oversee and confirm user's submissions.

  • NetBeans Instructions
  • Repeat the following steps for each task in the examination:

    Eclipse CDT is installed, but not configured to do anything. If you prefer Eclipse over any of the available text editors, you are free to use it. Just remember to copy your solutions to their original location so they will be collected for grading.

    • A project (represented by a folder) is provided.
    • Read the readme.txt file in the project folder to learn what to implement.
    • Modify the code that is provided in the project folder (for example, a copy of SpreadSheet.java). You can create new files, but generally this will not be necessary.
    • Test your code.
    • Run the JUnit test, which will be named SomeTaskNameTest.java.
    • Invoke the submission target from the build.xml file within NetBeans to submit your solution:
    This image for Exam Environment
  • Command Line Instructions
  • Repeat the following steps for each task in the examination:

    • Navigate to the directory containing the task.  The directory is /home/workspace/taskname where taskname is the name of the current task.
    • Read the readme.txt in the project folder to learn what to implement using one of the provided text editors or the more command.
    • Modify the code that is provided in the project folder using one of the provided text editors (for example, a copy of SpreadSheet.java). You can create new files, but generally this will not be necessary.
    • Compile and test your code.
    • Run the JUnit test, which will be named SomeTaskNameTest.java.
    • After you have constructed your solutions to the problems, you must submit them in a suitable form for later grading. Each task contains an ant build target that creates a zip file with your source code. Launch a Terminal window, and navigate to the directory containing the current task. The directory is /home/bluej/ taskname where taskname is the name of the current task. With this as the current working directory, you may invoke ant on the command line as follows:

    $ ant submission

    Submitting a solution will result in the creation of a file of the form /home/exam-submission/taskname-submission.zip where taskname is the name of the current task.

    Note that this build target does not perform any checking of solutions prior to submission. You may wish to run the included JUnit tests for each task to ensure your solution is minimally functional.

    You should submit your solutions as you complete them rather than waiting until the end of the exam. Please request assistance from the exam proctors if you need help submitting your solutions during the course of the exam. The exam proctors will also oversee and confirm user's submissions.

  • Exam Environment
  • The exam environment consists of a modified GNU/Linux operating system (Ubuntu Desktop 12.04 LTS). The desktop window manager is arranged into four workspaces. If you become disoriented by accidentally switching workspaces, you can left-click the last icon in the launcher and double-click on the desired workspace.

    This image for Exam Environment

    Only minimal configuration has been applied to the default Ubuntu desktop environment. This configuration should be comfortable for most exam takers; however, system settings can be changed by clicking on the gear in the upper right corner of the desktop. Given the limited amount of time available to take the exam, users should avoid spending much time customizing the environment.

    This image for Exam Environment

    Unless otherwise noted below, all installed software has been installed using official packages supplied by the Ubuntu project. A complete software manifest for the exam image is available here.

  • Java SE 7 Platform
  • The exam environment contains a complete working version of Java SE 7 platform. The exam materials and software environment for the exam have also been independently configured and tested using the Java SE 6 platform.

    The exam environment contains a complete working version of Java SE 7 platform. The exam materials and software environment for the exam have also been independently configured and tested using the Java SE 6 platform.

    The exam environment contains a complete working version of Java SE 7 platform. The exam materials and software environment for the exam have also been independently configured and tested using the Java SE 6 platform.

    The exam environment contains a complete working version of Java SE 7 platform. The exam materials and software environment for the exam have also been independently configured and tested using the Java SE 6 platform.

    The supplied versions of the Java Development Kits (JDKs) and the Java Runtime Environments (JREs) are from the OpenJDK distribution and are unmodified from the Ubuntu repositories.

    The output of the java -version command is as follows:

    java version "1.7.0_09"

    OpenJDK Runtime Environment (IcedTea7 2.3.3) (7u9-2.3.3-0ubuntu1~12.04.1)

    OpenJDK Client VM (build 23.2-b09, mixed mode, sharing)

    A complete version of the Java platform documentation is available in the exam environment. It is accessible through the bookmarks toolbar contained in the Firefox browser. Although it should not be needed by most examinees, a copy of the official Java language specification is also available in PDF format from the bookmarks toolbar in Firefox.

  • Instructional Videos
  • Instructional videos are provided on the desktop. The first is a demonstration of the spreadsheet application that forms the basis of several exam tasks. The second is a copy of the video with the audio removed and closed captions added. Finally, there is a folder named "Solution Demonstration Videos" that contains a set of videos demonstrating how an acceptable solution to the task will behave.

  • Finishing Up
  • Once you have finished completing your solution for the exam tasks, there are two final steps.

  • Confirm Submission of Your Solutions
  • Examinees should be sure to confirm the existence of any solutions they have submitted.  This can be done either by opening a file explorer window (folder icon in the taskbar) and navigating to Home->exam-submissions:

    This image for Exam Environment

    or by opening a terminal window and using the ls Unix command:

    This image for Exam Environment

    Note that the specific names of the solutions will vary based upon what tasks were assigned to you.

  • Log Out
  • After you have confirmed that all of your intended submissions are in place and your are satisfied that you have completed the exam, logout of the console either by clicking on the gear icon in the top right corner and selecting "Log Out...":

    This image for Exam Environment

    or by hitting the Control-Alt-Delete key combination and pressing the "Log Out" button:

    This image for Exam Environment

Downloads

eclipse_configuration.txt (249k)
software_manifest.txt (36k)