Table of Contents
Submission
Read about the Honor Code
You are required to read our CSC4700 syllabus and the Honor Code before submitting assignments. Do this now before proceeding to the final step.
Submitting the Assignment
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.
Here is a list of things you’re expected to submit as part of this assignment:
- Warmup
- Answer the questions in
results/answers.md
- Answer the questions in
- Performance
- Answer the questions in
results/answers.md
- Answer the questions in
- Exercises
- Answer the questions in
results/answers.md
- Answer the questions in
- Buddhabrot
- Implement the function
compute_mandelbrot()
inmandelbrot.cpp
- Implement the Buddhabrot fractal generation
- Implement command line handling for image size, number of starting points, maximum number of iterations to perform for the Mandelbrot computation, and the file name of the produced image
- Implement the
normalize()
helper function inbuddhabrot.cpp
- Implement the
update_image_data()
helper function inbuddhabrot.cpp
- Implement generating the actual images in
buddhabrot.cpp
- Implement the command line handling using
getopt_long
-
Add the generated Buddhabrot images
bb512.bmp
andbb768.bmp
for the following command lines as part of your submission:./build/buddhabrot -s 512 -p 1000000 -i 1000 -o ../results/bb512.bmp ./build/buddhabrot --size 768 --points 1000000 --iters 5000 --output ../results/bb768.bmp
- Add verification of all command line arguments
- Implement the function
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 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!