Documenti di Didattica
Documenti di Professioni
Documenti di Cultura
This guide is intended to familiarize you with the process of starting the PC2 Lab System, changing
your password, submitting a program to PC2 Lab System, and finally exiting the PC2 Lab System.
Set-up Instructions
1. Login using your ENCS login.
2. Go to the H: drive (called nettemp) on your computer and look for the COMP248 folder.
3. Copy and save on your computer the Zip file called comp248_labs.located in the COMP248 folder.
(Desktop is fine.)
5. Locate and run (by double clicking) comp248_lab/bin/pc2team.bat. Figure 1 illustrates the
login screen which will result.
If this is your first login to the Lab System, we strongly encourage you to change your password.
1. Click on the Options tab.
3. The Change Password screen will appear (see Figure 4) where you will be asked to enter
your current password and your new password twice. Once done click on OK. You will be
back at the Main Menu screen. Click on the Submit Run tab to return to the Submit Run
screen (figure 2).
2. The language in the Language box must be Java. If it is not, click in the Language box which will
display a list of the programming languages allowed. Select Java.
3. Click in the Problem box which will display a drop-down list of the lab problem; choose the
problem there (there will only be one choice). In Figure 5, the problem name is “Hello”.
4. To submit your program for marking,
a. You need to specify the name of the file containing your program (your .java file) to the PC2
Lab System. Click on the Select button to invoke the “File Dialog” which lets you locate and
select your file. The dialog lets you automatically navigate to the correct path and file
location (in Figure 5, the main program file “C:\work\Hello.java” has been selected). Select
your source code file (file with extension .java).
b. Click the Submit button. This will submit your work for marking. Your code will be tested
with 2 sets of data one of which is based on the example(s) shown in the lab handout and
one which is not shared with you.
c. Do not click on the Test button – It does not work.
Remember: When submitting your solution to the lab system, make sure there is no package
statement at the top of your .java file as this will result in a grade of 0 (restriction of this system).
Figure 8 - Compilation Error Response from Figure 7 - Wrong Answer Response from
judge Judge