DU Computer Science Bootcamp: Systems Assignment 1

Due: Friday September 25 at 11:59pm


For this assignment you will start with a near functioning program for printing out prime numbers. There will be three errors in the program that you will need to fix. After determining the problems and fixing them, you will submit them via the department's Git server.

The Program

The program to debug is available here. When it is complete and correct, it will output:

The prime numbers below 50 are:
2
3
5
7
11
13
17
19
23
29
31
37
41
43
47

The errors

There are three errors that you will need to find and fix. Each error is of a different type. They are

  1. A compilation error
  2. A linker error
  3. A logic error

Submission

Your work must be submitted via the department's Git server. To do so, perform the following steps:

  1. Go to https://git.cs.du.edu and login using your CS username and password
  2. Create a new repository named "bootcamp"
  3. Go to the repository settings, then members. Add Will Mitchell (username mitchell) as a developer
  4. Check out the repository to your local machine
  5. Create a "assignment1" directory and place your corrected program in it
  6. Commit your changes and push them to the department's server
  7. When complete you can verify the files are present by using the web interface.
If you have any questions or problems with the submission system, email Will.