#4 Euclid’s algorithm is good for introducing the notion of an algorithm because it
makes a clear separation from a program that implements the algorithm.
It is also one that is familiar to most students.
Al Khowarizmi (many spellings possible...) – “algorism” (originally) and then
later “algorithm” come from his name.
#7 The algorithm is given *very* informally here. Show students the pseudocode in
section 3.1.
This is a good opportunity to discuss pseudocode conventions.
#8 1-4 have well known efficient (polynomial-time) solutions
5: primality testing has recently been found to have an efficient solution
This is a great problem to discuss because it has recently been in the news
(see mathworld news at: http://mathworld.wolfram.com/news/2002-08-07_primetest/
or original article: http://www.cse.iitk.ac.in/primality.pdf)
6(TSP)-9(chess) are all problems for which no efficient solution has been found
it is possible to informally discuss the “try all possibilities” approach that is required
to get exact solutions to such problems
10: Towers of Hanoi is a problem that has only exponential-time solutions (simply
because the output required is so large)
11: Program termination is undecidable
#12 The formalization of the notion of an algorithm led to great breakthroughs in the
foundations of mathematics in the 1930s.
#14 Euclid’s algorithm is good for introducing the notion of an algorithm because it
makes a clear separation from a program that implements the algorithm.
It is also one that is familiar to most students.
Al Khowarizmi (many spellings possible...) – “algorism” (originally) and then
later “algorithm” come from his name.
#36 Examples of a simple path and a not simple path.
Connected graphs: starting from any vertex, we can always find a path to reach all the other vertices. (Ball-String example.)
From NIST:
Connected graphs:
Definition: An undirected graph that has a path between every pair of vertices.
Strongly connected graphs:
Definition: A directed graph that has a path from each vertex to every other vertex.
Connected component: …
Strongly connected component:
a strongly connected component of a digraph G is a maximal strongly connected subgraph of G.