| Graph | Chromatic number |
| Tetrahedron | 4 |
| Cube | 2 |
| Octahedron | 3 |
| Icosahedron | 4 |
| Dodecahedron | 3 |
Next we use the program to draw such a graph and color it. We get the following picture:

The chromatic number is 4 and a possible schedule is
| Day | Exam |
| 1 | 1, 5 |
| 2 | 2, 4 |
| 3 | 3, 6 |
| 4 | 7 |
Note that this is not the only four coloring possible -- can you find other solutions?
| A | B | C | D | E | F | G | |
| A | . | * | * | * | * | * | * |
| B | * | . | * | . | . | . | . |
| C | * | * | . | * | . | * | * |
| D | * | . | * | . | * | * | . |
| E | * | . | . | * | . | . | . |
| F | * | . | * | . | . | . | * |
| G | * | . | * | . | . | * | . |

We can use four lockers. Child C and child E (vertices 3 and 5) share a locker (blue color) since they are never at school at the same time, and another locker is shared by the children B, D, G. Child A and child F each get a locker to themselves.