The first program was "typed" by turning large gears, flipping levers, and pushing buttons, sometimes programs took days or weeks to process and finish. The first ever recorded "program" was in 1883 when a person wrote algorithms on a large sheet of paper and used this as to know what to do next. I got this from a government website, FLVS is Florida Virtual School and I am taking a computer programming course.