Hopper was born in New York in 1906. She got a Ph.D. in mathematics from Yale and taught at Vassar College before joining the Navy during the war. She was assigned to work on Harvard's Mark I computer and throughout a career in the military, academia and private business she worked on ways to make it easier to program computers.