-
language.txtis a text file specifying the programming language in which the assignment is completed. This is the very first thing you should edit. -
project0_pyis a folder with starter code for completing the project in python.project0_py/project0.pycontains the functionfin which your code must be written.
-
project0_jlis a folder with starter code for completing the project in Julia.project0_jl/project0.jlcontains the functionfin which your code must be written.
-
localtest.pyruns tests onproject0_py. -
localtest.jlruns tests onproject0_jl. -
make_submission.shis a shell script to create the zip file for submission to gradescope (Unix). -
make_submission_gitbash.shis a shell script to create the zip file for submission to gradescope (Windows GitBash). -
make_submission.batis a batch file to create a zip file for submission to gradescope (Windows Command Prompt)
Install Git from https://git-scm.com/download/win and ensure you install GitBash when asked whether you want to.
Install 7-Zip from https://www.7-zip.org/ and try to install it at the recommended location:
C:\Program Files\7-Zip
First, pick either Julia1.7+ or Python3+ as a programming language. Depending on your choice, go to language.txt and change notalanguage to either julia or python.
Second, if you chose Julia, go to project0_jl/project0.jl and complete the function f. If you chose Python, go to project0_py/project0.py and complete the function f.
Third, if you chose Julia test your completed code by running:
julia localtest.jl
If you chose Python, test your completed code by running:
python3 localtest.py
Fourth, create the zip file for your submission by running (on Unix)
bash ./make_submission.sh
or running (on Windows in GitBash)
bash ./make_submission_gitbash.sh
Finally, submit the created zip file project0.zip on Gradescope