Submitting Assignment 1
Once you’ve finished everything, you are ready to submit your work. You are submitting your assignment results as commits that have to be pushed to the github repository. The section about staging and committing changes in VSCode gives you a good introduction on how to do this.
To summarize the tasks for this assignment:
- Implement the list functionality in
word_count_list.c
as described inlist_words
to make all tests related to thelist_words
executable work. Usemake check_list
to verify. - Implement the multi-threaded list functionality in
word_count_pthread.c
and the corresponding driver inpthread_words.c
as described inpthread_words
to make all tests related to thepthread_words
executable work. Usemake check_pthread
to verify. - Answer the questions from the sections pthread and pthread_words. Feel free to use the template provided here. Place the file
results/answers.md
with your answers filled in theresults
directory as part of your assignment submission.
Please also note, that once you push to your repository, Github will compile and run your code automatically. This will result in a being added to the home page of your repository, telling you that all tests you added have successfully passed. If you see a
instead, then one or more of the tests in your code have failed and you will have to debug your code. Simply commit and push again once you have fixed the problems.
There is also an introduction to Git available that describes the overall concepts and the use of Git from a command line. It also answers some frequently asked questions.
We have a Github tutorial you might want to have a look at as well.
Last but not least, you can have a look at this document if you are interested in knowing more about Github Classroom.
And that’s it! You’re done!