CS 115 Lab 2, Part F: Submit the assignment

[Back to lab instructions]


Instructions

  1. Open FileZilla. Fill out the blanks at the top of the screen as follows:
    Host: cwolf.cs.sonoma.edu
    User: your cwolf username
    Password: your cwolf password
    Port: 22
    Then click "QuickConnect".
  2. The left half of the screen shows the files on your local machine. Navigate the directory tree to find your program(s): You should be able to see your lab02e.py file in the file listing at the lower left. If you did Parts B-D in IDLE, then your lab02bcd.py file will be there as well.
  3. The right half of the screen shows your files on cwolf. Navigate to your cs115/lab02 subdirectory.
  4. Drag your Lab 2 Python file(s) from the left-hand window to the empty directory in the right-hand window. When you see lab02e.py and lab02bcd.py listed in the right-hand window, you can exit FileZilla.
  5. If you're not already logged into cwolf, log back in: Then, navigate to your Lab 2 directory by typing in the command:
    cd cs115/lab02
  6. Make sure you are in your Lab 2 directory by typing pwd. The output should be:
    /home/student/yourusername/cs115/lab02
  7. Verify that you copied your files correctly by typing ls (lowercase L-S). The output should be:
    lab02bcd.py		lab02e.py
  8. From your Lab 2 directory, run the following command. This command will automatically test your program using 8.2 as the user input.
    ~srivoire/cs115/pickup/test.sh lab02 lab02bcd.py

    If the test says "OK", then your output matches the sample output and you should proceed to submit your code (skip the next step).

    If it gives you a URL, paste that URL into your browser to see the differences between your code and the sample code. If there were errors in your code, then fix your program, re-test it, and repeat these steps until you get an "OK".

  9. Once your program works, type the following command on cwolf to submit your program:
    ~srivoire/bin/submit 115
    When prompted for the assignment, type
    L02
    When prompted for the file to submit, you can hit ENTER to submit lab02bcd.py. If your file has a different name, type that name and then hit ENTER.
  10. Wait about two minutes, and then check the submission web page to verify that your file has been submitted correctly:
    http://rivoire.cs.sonoma.edu/cs115/submit/lab02.txt
    The filename will have changed slightly to include your last name, your username, and a timestamp. If your file does not show up on this page after two minutes, talk to the instructor. Leave this page open in a browser tab.
  11. Log out of cwolf:
    logout
  12. Answer the last question in your Moodle writeup. Review your answers, and then click the "Next" button at the bottom of the quiz. Once you do that, you should see a "Summary of Attempt" screen.
  13. Click the "Submit all and finish" button. You MUST hit "Submit all and finish" so that your writeup can be graded! It is not submitted until you do this. Once you have submitted your quiz, you should see something similar to this at the top of your Moodle window. The important part is that the State shows up as Finished.
    Quiz confirmation
    Please leave this tab open in your browser.
  14. With the two confirmation pages open in your browser, call an instructor to verify that you have completed every part of the lab. Once you check out with an instructor, you are done!