Computer Science I - Fall 2015
CS7A Calendar—Fall 2015
Week Readings Topics Assignments 15 PPP-
chapters 10 & Review7-Dec 14 PPP-
chapters 9 &10Rational Class
Date Class
Complex Class
File I/O
30-Nov 13 PPP-
chapters 8 & 923-Nov 12 PPP-
chapters 7 &8Quiz 4 Solutions.
Prep for Midterm
There are 3 little problems here
(not big projects like life and knight's tour)
Turn in XX_SL01.cpp, XX_SL02.cpp and
XX_SL03.cpp.
CS7A-F15-SuiteLittles16-Nov 11 PPP-
chapters 7 &8Knight's Tour Paper
Magic Knight's Tours
Closed Tours with Min. Removal
Knight's Tour de Force
9-Nov 10 PPP-
chapters 7 &8The calculator as we left it Monday with
debug feature, but hangs on
> let x = 5;
= 5
> let y = 6;
= 6
> x + y;
///should return 11
GH_calculateVariables01
2-Nov 9 PPP-
chapters 6 &7The calculator.
Quiz 3 Solutions
26-Oct 8 PPP-
chapters 5 & 6The calculator.
Some code showing the factorial as part of term, but not binding tighter than * or /:
GH_calculateFactorial 02
Starter code with bugs:
GH_Knight01
19-Oct 7 PPP-
chapters 5 & 6The calculator.
Write a program that will search for a knight's tour of an m by n rectangular grid.
12-Oct 6 PPP-
chapters 4 & 5More life.
5-Oct 5 PPP-
chapters 4 & 5Control structures such as if, switch, while and for. Functions. Vectors.
Error handling with try/catch
GH_PPP4-e11
GH_PPP4-e13The life programs relate to the life assignment. Test time and e16 are for your information.
28-Sep 4 PPP-chapter 4
Control structures such as if, switch, while and for. Functions. Vectors.
code from class
Some starter code for life
.The first Life assignment.
21-Sep 3 PPP-chapters 3,4
Control structures such as if, switch, while and for. Functions. Vectors.
Buggy cosine function
(hint: you don't need nfactorial: it's built into term the way the powers of t are built in--just divide by (n+1)*(n+2) and increment n += 2;)
fixed cosine function with nice table
14-Sep 2 PPP-chapters 3,4
Declaration, initialization, variables, types, objects, type safety.
7-Sep 1 PPP-chapters 0,1,2,3
Overview and getting started with IDEs and libraries.
Chapters 0-3Write a text files named
<your initials>_PPP3-7.cpp and <your initials>_PPP3-12.cpp and submit these either by email (or if we can make it work, through SageMath) with subject
"cs7a" or some such. For example, if your name is Jo Shmo, send me a text file of your first project's .cpp file called JS_PPP3-7.cpp.31-Aug