Homework 1

CS 206 - Introduction to Data Structures

Assignment 1 - due Thursday Sep 17 11:59PM

This assignment is worth 50% of all subsequent assignments
This assignment will take the work that you did in Lab 1, make it adhere to the class style guidelines, and electronically submit it. The class style guidelines are in https://cs.brynmawr.edu/cs206/style.html So if you did not complete the programing start the homework by completeing Lab 1.

Your submission will be handed in using the submit script, as described below.

If you write your program on computers other than those in the lab, be aware that your program will be graded based on how it runs on the department’s Linux server, not how it runs on your computer.

The submission should include the following items:

There must be a plain text file called README (or README.txt, or any variation of capitalization). This file should follow the format of this sample README
For this assignment, you can skip the sections on how to compile and how to run.

Probably the easiest way to create the readme file is to make it within Visual Studio Code. Do the same thing you do to create code files, but name the file "README.txt", then write text into it.

2. Source files:
All source files, there should be 3. (HelloWorld.java, EchoCount.java and Fibonacci.java) Again, make sure that these files conform to the style guidelines.
3. Data files used:
If you are using standard class datafiles, do NOT include them

If you have done all of your work on a computer not in the CS lab, you will have to transfer everything to CS department computer before you can submit. The following steps should work on a Mac or a Windows 10 PC

  1. Open a command window and ssh to powerpuff (see lab 1).
  2. Make a directory named Lab1 in your cs206 directory.
    1. cd
    2. mkdir cs206
    3. cd cs206
    4. mkdir Lab1
  3. Leave the command window open ... you will need it again in a minute
  4. Open VSC and go to the folder in which you did your work. It is probably still open.
  5. On the terminal menu (of VSC), select "new terminal"
  6. Within the command window enter the command "scp * YOUR_CS_NAME@powerpuff.cs.brynmawr.edu:cs206/Lab1
  7. Back in the terminal that is connected using ssh to powerpuff
  8. submit -c 206 -p 1 -d Lab1

The following steps for submission assume you are using Visual Studio Code, and that you created a folder named Lab1 in the directory /home/YOU/cs206/

  1. Makesure that the README file is in the Lab1 directory. Assuming that you following the lab's directions this is: /home/YOU/cs206/Lab1
  2. In a command window, Go to the directory /home/YOU/cs206
  3. Enter submit -c 206 -p 1 -d Lab1

    For more on using the submit script click here

    If you get confused / lost in the submission process see the Lab TAs. They can certainly help with this and any programming questions.)