An IBM Key Punch machine which operates like a typewriter except it produces punched cards rather than a printed sheet of paperUniversity students in the 1970's bought blank cards a linear foot at a time from the university bookstore. Each card could hold only 1 program statement. To submit your program to the mainframe, you placed your stack of cards in the hopper of a card reader. Your program would be run whenever the computer made it that far. You often submitted your deck and then went to dinner or to bed and came back later hoping to see a successful printout showing your results. Obviously, a program run in batch mode could not be interactive.
But things changed fast. By the 1990's a university student would typically own his own computer and have exclusive use of it in his dorm room.