My first computer had 16K RAM (after an upgrade), and it would only do the last of those three things. The “directory list” was whatever we’d written on the cassette.
But that’s not too arcane; I’m sure someone else here used to code via punchcard – better yet, play games that way. At home.
We had a DECMate and, later, a Rainbow (or something like it) that my dad brought home from work.