Computer Science I - Fall 2015

cs7af15 grades tests

CS7A Calendar—Fall 2015

Week Readings Topics Assignments
15

PPP-
chapters 10 & Review

GH_PPP5e8
PPP8_ex3
PPP09
Rational01
primeProof
babbasins01

Review!

babMain
Complx


7-Dec
14

PPP-
chapters 9 &10

Rational Class
Date Class
Complex Class
File I/O

cs7a_f15-BabBasins01

30-Nov
13

PPP-
chapters 8 & 9

CS7A-f15-midterm1-solns

23-Nov
12

PPP-
chapters 7 &8

Quiz 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-SuiteLittles

16-Nov
11

PPP-
chapters 7 &8

Calculator

Knight's Tour Paper
Magic Knight's Tours
Closed Tours with Min. Removal
Knight's Tour de Force

9-Nov
10

PPP-
chapters 7 &8

The 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

Knight's Tour Part 2
GH_knight05

2-Nov
9

PPP-
chapters 6 &7

The calculator.
Quiz 3 Solutions


26-Oct
8

PPP-
chapters 5 & 6

The calculator.
Some code showing the factorial as part of term, but not binding tighter than * or /:
GH_calculateFactorial 02

Knight's Tour Problem

Starter code with bugs:
GH_Knight01

19-Oct
7

PPP-
chapters 5 & 6

The calculator.

GH_PPP5e4
GH_PPP5e6
GH_PPP5e8
GH_PPP5e12

Write a program that will search for a knight's tour of an m by n rectangular grid.

12-Oct
6

PPP-
chapters 4 & 5

GH_life03 (1)
GH_PPP4-e17
GH_PPP4-e18 - testerGH_PPP4-e18

More life.

5-Oct
5

PPP-
chapters 4 & 5

Control structures such as if, switch, while and for. Functions. Vectors.

Error handling with try/catch
GH_PPP4-e11
GH_PPP4-e13

The life programs relate to the life assignment. Test time and e16 are for your information.

GH_life03
gh_testTime
GH_PPP4-e16
GH_life04

28-Sep
4

PPP-chapter 4

Control structures such as if, switch, while and for. Functions. Vectors.

code from class

GH_PPP4-e2
GH_PPP4-e4
GH_PPP4-e5GH_PPP4-e7
GH_RPS

lifeSome 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.

transcendental functions

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.

Base 20 assignment.

7-Sep
1

PPP-chapters 0,1,2,3

Overview and getting started with IDEs and libraries.
Chapters 0-3

Write 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.

PPP3 Assignment and shell for PPP3-12

31-Aug

 

S