Instructor: Fred Annexstein
Office: 889
(Office Hours:
Tuesday and Thursday
Phone: 556-1807
Email: fred.annexstein@uc.edu
Web: http://www.ececs.uc.edu/~annexste
Homework #1 Tues, Jan 13: Problems 1.16-19, 22, 23*, 31*, 37*
Homework #2 Tues, Jan 20 Problems 2.14, 15, *23, 25, 26, *28
Homework #3 Due in Digital
Dropbox (DD) on Tuesday Jan 27 by 5:00PM
Please put your group name and the assignment number
in the comments section of the DD.
Each assigned problem should
be done as a standalone C++ program in a form that will compile and run.
2.29, 2.30, 2.31,
2.38, 2.40, 2.55, 2.63, 2.65
Submission requirement:
Each group should create a single archive using an application such as WinZip. Submit one zip file per group to the DD.
Homework #4 Due in Digital Dropbox (DD) on Tuesday Feb 3
by 5:00PM
Please put your group name and the assignment number
in the comments section of the DD.
Two standalone C++ programs:
Program #1 -- 3.35,36,37
Program #2 -- 3.38,39
Homework #5 Due in class.
Individually handwritten, problems 3.1-3.25. Graded on effort rather than
correctness.
Objective: used as preparation for the
midterm.
Homework #6 Due in DD on
Tuesday Feb 17 by 5:00PM. Problems 4.24 and 4.25 from the text. You are to
submit a write-up answering the
Experimental questions and you should submit
two programs – one using the accessibility heuristic and one using the
brute-force method.
You should work in groups of two.
Here is a sample solution Knightstour.exe
Homework #7 - Written
assignment to be completed in groups (2-4 people per group), No working
programs are required. Due in DD on Tuesday March 2 by
5.20, 21, 22, 23, 24, 25, 30
Homework #8 – Problem 6.7
from textbook - programming assignment to be completed in groups of 2.. Due in
DD on Tuesday March 9 by 5:00PM.
P. Desai (811F)
Mon.
A. Sinha (805D)
Thurs. 1:00-3:00
H. Bian (811F) Wed.
11:00-1:00
L. Mayfield (805D)
Wed.
· Here is the Book webpage.
· Winter quarter lab schedule: click here.
· General help for the labs: click here.
· For email help: click here.
Day |
Date |
Class Topic or
Event/Activity |
Assigned Text
Reading |
Text Readings |
Jan 6 |
Classes Begin, Intro to C++ |
|
Chapter 1 |
Jan 8 |
Basic C++ Programming
|
|
Chapter 2 |
Jan 13
|
Simple C++ Program Control Selection |
|
To page 124 |
Jan 15 |
Intro to Repetition |
|
|
|
|
|
|
Jan20 |
Datatypes File IO and Switch Construct |
|
To page 155 |
Jan 22 |
Essentials of Counter-controlled loops and Logic Operations loops |
|
|
|
I/O Handling and Logic Operations |
|
|
|
|
|
Chapter
3 |
|
Introduction to Functions |
|
|
Jan 27 |
Random Number
Generation More on Functions |
|
|
|
Storage Classes and Scope Rules |
|
|
Jan 29 |
Recursive and Inline Functions |
|
|
|
|
|
|
|
|
|
|
Feb 3 |
Parameter Passing, Overloading, and Templates |
|
|
Feb 5 |
Midterm Review |
|
|
|
|
|
|
Feb 10 |
Intro to Arrays |
|
|
Feb 12 |
Midterm Exam |
|
|
|
|
|
|
Feb 17 |
Searching arrays |
|
|
Feb 19 |
Multi-subscripted arrays and functions |
|
|
|
|
|
|
Feb 24 |
Pointers - Card Dealing Example |
|
|
Feb 26 |
Pointers and Functions |
|
|
Mar 2 |
Strings |
|
|
Mar 4 |
String handling |
|
|
Mar 11 |
Review for Final |
|
|
|
|
|
|
|
, |
|
·