Run the following notebook and answer the included questions using google colab:
For your convenience the notebook is displayed below as HTML but you will likely find it easier to download the raw notebook file given above.
To submit your answers, you will need add your homework06.ipynb
file
in the homework06
folder of your assignments repository:
Answer the questions in your notebook file using the method of your choice and once you are finished, follow the instructions below to submit your notebook.
For this class, you must use a separate [git] branch for each assignment. This means that the work for each reading and challenge must be done in a separate branch. To create and checkout a new branch, you can do the following:
$ git checkout main # Make sure we are in master branch
$ git pull --rebase # Make sure we are up-to-date with github repository
$ git checkout -b homework06 # Create homework00 branch and check it out
Once you do the above, you should see the following output for the git-branch command:
$ git branch
main
homework00
homework01
homework02
homework03
homework04
homework05
* homework06
The *
indicates that we are currently on the homework06
branch.
Once you have your notebook filled out, you need to add, commit the file, and push your commits to GitHub:
$ git add homework06.ipynb # Add answers.json to staging area
$ git commit -m "Homework 06: Done" # Commit work
$ git push -u origin homework06 # Push branch to GitHub
git push
when you are done.
When you are ready for your final submission, you need to create a pull request via the GitHub interface:
First, go to your repository's Branches page and then press the New pull request button for the appropriate branch:
Next, edit the pull request title to "Homework 06", write a comment if necessary and then press the "Create pull request" button.
Finally, assign the pull request to the teaching assistant assigned to you for the given week.
Please refer to the Homework 06 TA List to determine who your grader is for this week.
Once you have made the pull request, the instructor or teaching assistant can verify your work and provide feedback via the discussion form inside the pull request. If necessary, you can update your submission by simply committing and pushing to the appropriate branch; the pull request will automatically be updated to match your latest work.
When all work is graded, the grader will merge your branch and close the pull request.
Note: Please do not merge your own pull request. This makes it more difficult for the graders to keep track of what needs to be graded.
The purpose of this workflow is to provide you with better feedback. Instead of simply determining if your work is correct, the instructor will attempt to provide you with more qualitative feedback such as whether or not you used good programming practices or if your code could be improved or organized better.
The hope is that this will help you grow as programmers and develop some taste :).