Computer Science II Calendar
Spring, 2019

Week Monday Wednesday
15
20190513

DList
driver011

CS7B-Final1S16
CS7B-S18-Midterm01
CS7B-S18-Midterm01solns
CS7B-S18-Midterm02
CS7B-S18-Midterm02solns
cs7B-S18-Quiz02solns
cs7B-Quiz01-solution
CS7B-FinalF18Soln
CS7B-F18-midterm01solns

DLList

driver011

whytoff01

14
20190506

CS7BS19-Project04
fraction
DLL

Enumerating the Rationals from Left to Right
How to Beat Your Wythoff Games Opponent on Three Fronts
Recounting the Rationals

 

13
20190429

https://open.kattis.com/problems/insert
Binary Decision Tree Problem (cedit: Jim Matthews)

PPP2-18-ex01
PPP2-18-ex02
PPP2-18-ex03
PPP2-18-ex04

progressivescramble

boost

uint128
simple multiply two uint64_t

Big-Num

 

12
20190422

Midterm01 Solutions
encoding02
cryptographer'sConundrum
ratSequence2
Collatz

PPP2-17-ex03
PPP2-17-ex04
ppp2-17-ex05
PPP2-17-ex06

11
20190408

 

complex

cDriver02

Numberphile on
Mandelbrot

10
20190401

Chapter 17

latin(1)
latin
voidstar

9
20190325

The concentrations diffusion process was ported to SFML so it could be visualized.
Concentrations.cpp
Concentrations.h

cs7B_S19-BabBasins01

8
20190318

There is just open lab tomorrow. I have another assignment from the College all day, so I can't be there.

Check out the debugged version of the ellipse program:
ellipse03 and a geogebra program to illustrate: ellipseFolding

Today we improved the ellipse03.cpp program to get rid of the "magic numbers" and tighten things up a bit: Monday's link has been updated. Also, we wrote the billiards program to show how the path of a bouncing ball is traced as it bounces around a rectangle.

We've completed Chapter 11 and 12 and 13 (using SFML instead of FLTK) and will start Chapter 14 next Monday.

7
20190311

Chapter 11
testChemSyms

We didn't sort all the troubles in this, but it develops the seekg(), seekp(), peekg() and tellg() functions: sumNum02

We woodshed on the SF ChemGrid some more, generating random grids and checking if at least the rows were words.
Is it rolling, Bob?
ChemGrid20190313

Axis

6
20190304

Check out the improved version:
SFMLChemGrid


Deadline for ChemWords project extended. There is a real dearth of solutions with all six-letter words, so here are some more data to help find solutions:

3letWords, 4letWords, 5letWords

5
20190225

Chapter 10: I/O
Getting started with SFML

ellipses01


4
20190218

Note that in the "concentrations" diffusion problem, grid.h can be as simple as "typedef vector<vector<int> > Grid;"

CS7BS19-Project02
sixLetterWords
Here's some help with the data entry: chemstrings

3
20190211

Chapter 10 of Stroustrup.

chapter.9.4.2-better_yet

Evolved but no def for day of week()

Chrono
Chrono

2
20190204

Chapter 9 of Stroustrup.
Recursion: fibonacci

chapter.9.4.2-Date

PPP2-9ex02

cs7B_S19_Project01
src

1
20190128

Chapter 8 of Stroustrup.

CS7BS19Project00
CS7BS19Project0-dbtut

name_hash

chapter.9.4.1
PPP2-8ex03
PPP2-8ex05