One of the truly great teachers I had was in sixth grade. He had managed to buy two computers and brought them into school and set them up in the resources room. This was in the late 1970s, when computers in classrooms were completely unheard of. No one was doing this. Educational software wasn't even available.
He made up a sheet with times on it and every student was scheduled to spend an hour a week in front of the computer.
There was no assignment, no textbook, no worksheet. Just you and a computer, plus another student next to you on another computer, also sitting there. There were no games or such available. The computer was a tabula rasa, albeit with a BASIC interpreter.
If you wanted to sleep, that was fine. If you wanted to read a book that was fine too.
But no one did those things. This was a computer. None of us had seen one in real life. Pretty soon students started figuring out things and telling each other. I think there might have been a reference sheet. It didn't take much to get started.
The first program, another student showed me.
10 PRINT "WHAT IS YOUR NAME"
20 INPUT N$
30 PRINT N$; " IS A STUPID DUMMY!!!!!"
Oh boy. You couldn't just let that stand. You had to write something to fire back. The second program checked the name. My own name coaxed N$; "IS COOL!" from the computer, anyone else's generated a randomly selected insult.
We were on our way. Everyone in the class learned to program, and our teacher didn't show us a single thing. He was a genius to do that. He trusted the students and somehow knew this is what would happen if we were left alone in a room with a computer.