CS 2000 Assignments



Programming assignments will be due by 1:00pm on the date indicated. Late assignments will not be graded. All assignments turned in prior to the deadline will be graded and returned, but only those marked as for credit will count towards your final grade.

Click on the assignment summary to see the detailed information for that assignment.

All assignments must be turned in electronically using the handin program in the CADE Lab. Specific instructions listing the appropriate arguments for handin will be given with each assignment. If you choose to work on your assignment on a non-CADE machine, it is your responsibility to transfer the required files to the CADE Lab, make sure they compile and run using the currnet version of gcc in the CADE Lab , and turn them in electronically using the handin program.

Detailed grading criteria will be provided for each assignment. To receive full credit, programs must compile, run as intended, and be readable. Any program which processes input data from command line arguments, typed user input, or input files must do something sensible with input that that not conform to the program specification. Program readability involves well structured code, appropriate comments, and systematic indentation. Use the indentation style shown in the text, one of the other standard C indentation styles, or learn how to get Emacs to format your program for you. For some assignments, you will be required to turn in a separate text file describing how you tested your program.

date
#
assignment
for credit?
FAQ
sample programs
8/26
1
Hello world
not for credit


9/2
2
Simple control structures
not for credit
FAQ
total.c, total2.c, power.c, testing.txt
9/9
3
Simple control structures II
for credit

count-check-numbers.c, range.c, testing.txt
9/16
4
Expressions
not for credit

weightlifter.c, twinprimes.c, testing.txt
9/30
5
More on control
for credit

power-check.c, simple-calc.c
10/7
6
Functions
not for credit

squareroot.c
10/21
7
Arrays not for credit
scores.c
10/28
8
More on arrays and functions
for credit
grades.c
11/11
9
Pointers and strings not for credit

privacy.c
11/18 10
More on pointers
for credit
FAQ

11/25 11
Bit manipulation
not for credit


12/2 12
Structures
for credit


12/9
13
Database
for credit