Computer programming involves writing code made up of instructions for computers to solve problems or perform tasks. Charles Babbage built the first mechanical computer called the Difference Engine in 1822 and later built the Analytical Engine, considered one of the first general-purpose computers. Ada Lovelace is known as the first computer programmer for writing what is considered the first computer program for the Analytical Engine in 1843, which used binary code and included steps to create a looping process.