taocp

This site has no text of the book. Keep your own copy of TAOCP next to it. See what is checked.

Learn · Volume 1

Section 2.4

15 exercises: 15 with a written solution, 0 stated in Lean, 0 proved in Lean.

1. Read first

The handbook has no chapter for this section yet, so it names nothing to read first.

2. Read the section

Read Section 2.4 in your copy of the book. The companion chapter is not written yet. The items of the section and their status.

3. Work the exercises

The exercises of this section train three skills. The first is to read the five link table of the COBOL example (Exercises 1, 2, 7 and 8) and to prove that the algorithms on it are right (Exercise 9). The second is to change the algorithms for other conventions of the language and for fewer links (Exercises 3 to 6, 10 and 11). The third is to redesign them for the two field table of Dahm and for a stack kept in the table (Exercises 12 to 15).

A suggested order by rating is 1, 2, 8, 7, 5, 3, 6, 9, 10, 11, 13, 12, 15, 4, 14. Read the algorithms A, B and C of the text before you start, and keep the table of the five links at hand. All the new algorithms of these solutions were tested in python3 against the definitions on random records.

From the Solutions volume of the handbook. The source.

The list starts with the lowest rating. Try each exercise on paper first. Its page has the hints one at a time, the solution behind a click, and the Lean status.

ExerciseRatingKindSolutionLean
2.4-100K2writtennot stated yet
2.4-210K7writtennot stated yet
2.4-810K3writtennot stated yet
2.4-715K8writtennot stated yet
2.4-520K5writtennot stated yet
2.4-322K5writtennot stated yet
2.4-623K5writtennot stated yet
2.4-9M23K1writtennot stated yet
2.4-1023K5writtennot stated yet
2.4-1123informalwrittennot stated yet
2.4-1324K5writtennot stated yet
2.4-1225K5writtennot stated yet
2.4-1525K5writtennot stated yet
2.4-426K5writtennot stated yet
2.4-1428K5writtennot stated yet

Something is wrong? Report it.