CS 210 - Fundamentals of Programming I
Class Schedule: TTh, 9:00am-11:00am, KC-267
Grades for this course will be posted
to Blackboard
Due to COVID-19, all student meetings will be conducted one-on-one via
Zoom. See instructor's homepage for times set aside for office hour
appointments. Make an appointment online at
URL https://calendly.com/hwangdj/appointments
at least one hour in advance. Email for availability at
other times.
Final Exam Period: Thursday, December 3,
8:00am-10:00am
Announcements
These are announcements made in class or via email currently in effect
for this course.
Written Homework Submissions
Submit the answers for written homework on Blackboard in one or more files that are:
- a text file with the answers (use the Code::Blocks editor or
something like Notepad and save as .TXT; MS Word can be used but
is not recommended)
- a source code file from Code::Blocks with answers well-marked
using commenting
- OR a PDF scan of handwritten answers (there
are several PDF scanner apps for cellphones; please do not submit an
image file).
DO NOT type answers directly into Blackboard. Depending on the
assignment, feedback will be given via Blackboard or by handing back
marked up printouts.
SI sessions
An SI session is available for this course on Mondays 5:00pm-7:00pm
via Zoom. See Academic Services spreadsheet for meeting ID. The SI
instructor is Linh Trinh (lt88).
Links
Course information handouts
- Syllabus and Schedule (PDF)
- Introduction sheet (DOCX)
- Please download, fill out, and email back to instructor
- Submission Instructions
(PDF). Here is a
link to the submission
system: submission.evansville.edu.
Your username is your ACENET username and your initial password is
your student ID including the initial '0'.
- Coding Style Guideline (PDF)
Course Software
- CodeBlocks - an open
source, cross platform IDE for C/C++, and is available for
Windows and Linux (the macOS version does not work well at
all). To install CodeBlocks for this course do the following:
- Click on the Downloads tab
- Click on the Download the binary release link
- For Windows,download
codeblocks-XXmingw-setup.exe
,
where XX is the current version number. It is important
to get the correct distribution.
This site also contains a user manual.
- For macOS, use XCode
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.
- Tuesday, November 24
- Thursday, November 19
- In-class Exercise 12
(PDF)
- File for in-class exercise:
gcd.c
- Tuesday, November 17
- 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: MONDAY, November 23, 11:59pm via Blackboard
, no late work will be accepted
- Final Exam Review Sheet (PDF)
- Thursday, November 12
- Homework 9
(PDF) - Due:
Tuesday, November 17, 11:59pm via Blackboard Note these
problems are on the handout linked here and are not from the
textbook.
- Programming Project 7
(PDF) -
Due: Wednesday, November 25, 11:59pm, via submission system, normal
late work accepted - typos in submission direction filenames fixed; second typo fixed 11/17
- NEW! Sample file for Programming Project 7:
- In-class Exercise 11
(PDF)
- Tuesday, November 10
- In-class Exercise 10
(PDF)
- Tuesday, November 3
- In-class Exercise 9, Part B (PDF)
- File for in-class exercise:
ratdriver.c
- Thursday, October 29
- Practical Exam 2 Review Sheet -
(PDF)
- Programming Project 6
(PDF) - Due:
Thursday, November 12, 11:59pm, via the submission system
- 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 10, via file upload on Blackboard
- In-class Exercise 9, Part A
(PDF)
- Tuesday, October 27
- Thursday, October 22
- 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.
- Reminder: You are not required to actually code the programming
exercises, but you can if you want to.
Due: Thursday, October 29, via file upload on Blackboard
- File for lecture exercise:
linenums.c
- Tuesday, October 13
- 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
- Reminder: You are not required to actually code the programming
exercises, but you can if you want to
Due: Tuesday, October 20, 11:59pm, via file upload on Blackboard
- Programming Project 5
(PDF) - Due:
Tuesday, October 27, 11:59pm, via the submission system
- Sample file for Programming Project 5:
- Thursday, October 8
- Tuesday, October 6
- In-class Exercise 6 (PDF)
- Files for In-class Exercise 6:
- Tuesday, September 29
- 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 programs and
functions, but you can if you want to. If you do so, submit
source files for those problems.
Due: Tuesday, October 6, 11:59pm, via file upload on Blackboard
- Programming Project 4
(PDF) - Due:
Tuesday, October 13, 11:59pm, via the submission system
- Thursday, September 24
- Practical Exam 1 Review Sheet (PDF)
- In-class Exercise 5 (PDF)
- Tuesday, September 22
- 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
source files for those problems.
Due: Tuesday, September 29, 11:59pm, via file upload on Blackboard
- Thursday, September 17
- Programming Project 3
(PDF) - Due:
Thursday, September 24 extended to Tuesday, September 29, 11:59pm, via the submission
system
- File for lecture exercise:
guessinggame.c
- Tuesday, September 15
- 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
source files for those problems.
Due: Tuesday, September 22, 11:59pm, via file upload on Blackboard
- In-class Exercise 4 (PDF)
- File for in-class exercise:
patterns.c
- Thursday, September 10
- Programming Project 2
(PDF)
- Due: Thursday, September 17, 11:59pm, via the
submission system
- Lecture 5 Questions
- Tuesday, September 8
- 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
source files for those problems.
Due: Thursday, September 10, 11:59pm, via file upload on Blackboard
- In-class Exercise 3 (PDF)
- File for in-class exercise:
loanpayment.c
- Thursday, September 3
- Programming Project 1 (PDF) - Due: Thursday, September 10, 11:59pm, via the submission system
- Tuesday, September 1
- 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, September 3, by 11:59pm via file upload on Blackboard
- In-class Exercise 2 (PDF)
- Thursday, August 27
- In-class Exercise 1 (PDF)