| CS 242, Section 002 | Sonoma State University | Spring, 2026 |
|
Discrete Structures for Computer Science
|
||
|
Instructor: Henry M. Walker
Lecturer, Sonoma State University | ||
Notes:
The California Lottery Powerball Game, Revisited: To play the California Lottery Powerball Game, you "pick 5 numbers between 1 and 69 and 1 Power Number between 1 and 26." You win the jackpot if the first five numbers picked match the first five numbers drawn and the sixth number matches the sixth number drawn.
Adjacency Matrices: Consider the following adjacency matrix S for a weighted graph. (Note: 0 means there is no edge.)
| A | B | C | D | E | F | G | H | |
| A | 0 | 3 | 0 | 0 | 4 | 7 | 0 | 0 |
| B | 0 | 0 | 5 | 0 | 0 | 0 | 0 | 0 |
| C | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 |
| D | 2 | 0 | 0 | 0 | 8 | 0 | 0 | 0 |
| E | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
| F | 0 | 0 | 0 | 0 | 0 | 0 | 3 | 0 |
| G | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
| H | 0 | 8 | 0 | 5 | 0 | 0 | 0 | 0 |
A Graph Specified by Sets: Consider the following graph, specified in terms of sets of vertices and directed edges.
|
created October 25, 2025 revised October-November, 2025 revised Maay 4, 2026 |
|
| For more information, please contact Henry M. Walker at walker@cs.grinnell.edu. |