CS 210 - Fundamentals of Programming I
Class Schedule: TTh, 9:00am-11:00am, KC-267
Final Exam Period: Tuesday, December 10,
8:00am-10:00am
Grades for this course will be posted
to Blackboard
Announcements
These are announcements made in class or via email currently in effect
for this course.
NEW! SI sessions
An
SI session is available for this course on Mondays 6:00pm-8:00pm in
KC-267. The SI instructor is Abdullah Aljandali (aa472).
Links
Course information handouts
This is a list of links to resources that may be useful in this course.
- CodeBlocks - an open
source, cross platform IDE for C/C++, and is available for
Windows, Linux, and Mac OS X. For this course under Windows,
download the binary
release
codeblocks-XXmingw-setup.exe
, which includes
the MinGW gcc compiler, where XX is the current version number.
This site also contains a user manual.
Lectures and Assignments
This is a list of in-class exercises and assignments posted for this class
in reverse chronological order. Some may be available in hard copy
as well. Note: In-class exercises will not be posted until the day after they are handed out.
- Tuesday, December 3
- Tuesday, November 26
- In-class Exercise 12
(PDF)
- File for in-class exercise:
gcd.c
- Thursday, November 21
- Homework 10 (from the textbook) - 20 points
- On page 566, Chapter 9 Review Questions 3, 4, and 5.
- On page 568, Chapter 9 Programming Project 2. You may
assume that the function receives a string of all lowercase
letters without blanks or punctuation. The function also
should return 0 (false) if the string is not a
palindrome.
- On page 568, Chapter 9 Programming Project 3. Be sure
to answer the final question.
- You are not required to actually code the functions,
but you can if you want to
Due: Tuesday, December 3, at the beginning of class, NO LATE WORK ACCEPTED
- Programming Project 7 (PDF)
- Due: Tuesday, December 3, 11:59pm, electronically, normal late work accepted
- Sample file for Programming Project 7:
- Final Exam Review Sheet (PDF)
- Tuesday, November 19
- Homework 9
(PDF) - Due:
Thursday, November 21 Note these problems are on the
handout and are not from the textbook.
- In-class Exercise 11
(PDF)
- Thursday, November 14
Tuesday, November 12 - postponed for inclement weather
- In-class Exercise 10
(PDF)
- Thursday, November 7
- In-class Exercise 9, Part B (PDF)
- File for in-class exercise:
ratdriver.c
- Tuesday, November 5
- Programming Project 6
(PDF) - Due:
Thursday, November 14, 11:59pm, electronically
- Test files for Programming
Project 6
- Link to IrfanView
website
- Homework 8 (from the textbook) - 20 points
- On page 445, Chapter 7 Review Questions
7-8, instead of 5 × 3 use arbitrary n
× m. Be sure to answer the non-code
parts of the questions.
- On pages 618-619, Chapter 10 Review Questions 1-5
- You are not required to actually code Question 2, but
you can if you want to
Due: Tuesday, November 12, 4:30pm, in hardcopy
- In-class Exercise 9, Part A
(PDF)
- Thursday, October 31
- Tuesday, October 22
- Practical Exam 2 Review Sheet -
(PDF)
- Homework 7 (from the textbook) - 20 points
- On pages 514-515, Chapter 8 Review
Questions 1-5, 8-10.
- On page 519, Chapter 8 Programming
Project 8. Note that the function has two received string
parameters and one passed back string parameter that is the
"returned" result.
- You are not required to actually code the functions,
but you can if you want to
Due: Thursday, October 31 (after Practical Exam 2), 4:30pm, in hardcopy
- Thursday, October 17
- Sample file for Programming Project 5:
- Tuesday, October 15
- Thursday, October 3
- Homework 3, 4, & 5 Problems for Midterm Exam Review
- Homework 6 (from the textbook) - 20 points
- On page 381, Section 7.1 Self-Check Questions 2, 3
- On pages 402 & 403, Section 7.5 Programming
Questions 1, 4
- On pages 444-445, Chapter 7 Review Questions 1, 3
(explain why), 5, 6
- You are not required to actually code the programming
exercises, but you can if you want to
Due: Thursday, October 17, 4:30pm, in hardcopy
- Tuesday, October 1
- In-class Exercise 6 (PDF)
- Files for In-class Exercise 6:
- Thursday, September 26
- Homework 5 (from the textbook) - 20 points
- On pages 329-330, Section 6.2 Self-Check Exercises 1-2,
and Programming Exercise 1. (Note: All three questions
pertain to function
sum_n_avg
.) Reminder: book
uses terms "input/output parameters" while the instructor
uses terms "received/passed back parameters", and the
instructor draws the passed back parameters on the left side
of a function diagram.
- On pages 335-336, Section 6.3 Self-Check Exercise 2 and
Programming Exercise 1.
- On page 365, Chapter 6 Review Question 1
- Reminder: You are not required to actually code the
exercises, but you can if you want to
Due: Thursday, October 3, in hardcopy at the beginning of class, NO LATE WORK ACCEPTED
- Midterm Written Exam Review Sheet (PDF)
- Thursday, September 19
- Programming Project 4
(PDF) - Due:
Tuesday, October 1 extended to Thursday, October 3, 11:59pm, electronically
- In-class Exercise 5 (PDF)
- Tuesday, September 17
- Homework 4 (from the textbook) - 15 points
- On page 261, Section 5.5 Programming Question 1
- On page 272, Section 5.7 Self-Check Questions 1 and 2
- On page 276, Section 5.8 Programming Question 1
- On pages 305, Chapter 5 Review Question 2
- You are not required to actually code the programs and
functions, but you can if you want to. If you do so, submit
printouts for those problems. (Set the CodeBlocks editor
font size to at least 12 point first.)
Due: Tuesday, September 24, 4:30pm, in hardcopy, but if you want it graded before the practical exam turn it in by Monday noon.
- Practical Exam 1 Review Sheet (PDF)
- Thursday, September 12
- Programming Project 3
(PDF) - Due:
Thursday, September 19, 11:59pm, electronically
- Lecture exercise:
guessinggame.c
- Tuesday, September 10
- Homework 3 (from the textbook) - 20 points
- On pages 229-230, Chapter 4 Review Questions 3, 4, and 5
- On page 241, Section 5.2 Self-Check Questions 1, 2
- On pages 246-247, Section 5.3 Self-Check Questions 1
(don't forget to answer the question at the end), 3
- On pages 306, Chapter 5 Review Questions 5
- You are not required to actually code the programs and
functions, but you can if you want to. If you do so, submit
printouts for those problems. (Set the CodeBlocks editor
font size to at least 12 point first.)
Due: Tuesday, September 17 5, 4:30pm, in hardcopy
- In-class Exercise 4 (PDF)
- File for in-class exercise:
patterns.c
- Thursday, September 5
- Tuesday, September 3
- Homework 2 (from the textbook) - 10 points
- On page 167, Chapter 3 Review
Questions 2, 4, 6, 9
- On page 169, Chapter 3 Programming
Project 8 - write (only) the function that computes the
constant rate of acceleration
- You are not required to actually code the programs and
functions, but you can if you want to. If you do so, submit
printouts for those problems. (Set the CodeBlocks editor
font size to at least 12 point first.)
Due: Thursday, September 5, 4:30pm, in hardcopy
- In-class Exercise 3 (PDF)
- File for in-class exercise:
loanpayment.c
- Thursday, August 29
- Programming Project 1 (PDF) - Due: Thursday, September 5, 11:59pm, electronically
- Tuesday, August 27
- Homework 1 (from the textbook) - 10 points
- On pages 101-102, Chapter 2
Review Questions 2, 3 (there may be more than one error), 4,
6 (a statement means code), 7, and 9 (an algorithm is not
code)
Due: Thursday, August 29, 4:30pm, in hardcopy
- In-class Exercise 2 (PDF)
- Thursday, August 22
- In-class Exercise 1 (PDF)