Good question - where do "learning exercises" end and "useless amusement projects" start?
If I want to learn a new language I might do some fun exercises or hit an online course or a book, both of which contain lots of "useless" toy examples and exercises.
For a high school student this may be a hello world, for a CS professor this can be a small OS.