I'm reminded that some of my teachers actually did some programming of software they used for school. I recall one even apparently wrote his own grade book software so he could get something that met his needs exactly. Although I think he used Pascal, not BASIC. He definitely used an Apple II. (This was the 1980s, when the Apple II was a common school computer.)A math teacher I know wrote a math practice program for his students, in BASIC. He had it running on an old PC in his classroom, and one student at a time could use it. I wrote an iPad app that did the same thing, customized to mimic what his program did. I thought that would make it available to more students. But then he retired before I could fine-tune the app just the way he wanted.
A student wrote some software for one teacher, but it apparently never really worked the way the teacher wanted. Possibly bugs that hadn't been worked out. That teacher made some crack about the software being good for printing forms out that he could use to record data manually. Although I don't think he was particularly interested--that teacher wasn't really interested in using a computer.