yes, but curiously, punch cards do not use any system that we use today... they were created to move data at a time of analog computers.. as i recall, punch card technology was on the way out as i was joining the world of computers.. all i remember was they were not digital, and did not use binary/octal/hex notations... but something else again...

its almost two different technologies (punch card from textiles, and binary from knitting) are used in different ways in a third technical craft, computers! connections with connections and connections!

and yes, a program (either a computer program or a pattern for knitting) is just a set of dirctions. Neither is inteligent!