COP-2210, Introduction to Programming Assignments
Assignment #0: Due Mon. August 31
Assignment #1: Due Mon. September 14
Solutions
#1 (farenheit to celsius)
#2 (math on x and y)
#3 (pounds to grams and kgrams)
Common Mistakes
Bad variable names
Bad indenting
Not enough spacing (too cramped)
Too few blank lines or excessive blank lines
Insufficient comments
Integer math for 5/9 or using .556 (in Program 1)
Print statements too long (in Program 2)
Integer math used to compute quotient
Failure to use a constant object (in Program 3)
Missing output
Wrong return type for main (needs to be int)
Wrong types for variables
Bad printer
Assignment #2: Due Mon. September 28
Quiz #1:
Questions
and
Answers
.
Solutions
#1 (block letters)
#2 (decelerating cyclist)
#3 (housing costs)
Assignment #3: Due Wed. October 7
Quiz #2:
Questions
and
Answers
.
Solutions
#1 (phone calls)
#2 (leap years)
Examination #1: Mon. October 12
Assignment #4: Due Mon. October 19
Quiz #3:
Questions
and
Answers
.
Solution
Assignment #5: Due Wed. October 28
Quiz #4:
Questions
and
Answers
.
Solution
Assignment #6: Due Wed. November 4
data6.txt
(the input for this assignment).
Quiz #5:
Questions
and
Answers
.
Solution
posted late night after the hockey game.
Assignment #7: Due Mon. November 9
data7.txt
(the input for this assignment).
Quiz #6:
Questions
and
Answers
.
Solution
.
Examination #2: Mon. November 16
Questions
and
Solutions
Assignment #8: Due Mon. November 23
data8.txt
(the input for this assignment).
Quiz #7:
Questions
and
Answers
.
Solution
.
Assignment #9: Due Mon. November 30
Data file
for this assignment
Solution
.
Final Examination: Monday December 7
DAY CLASS: 12:30 - 15:15
NIGHT CLASS: 15:30 - 18:15