What year was the computer invented?
The first working computer was invented by an Englishman named Charles Babbage in the 1800s (1791-1871) but that followed the footsteps of Joseph-Marie Jacquard (1752-1834); who invented the punched card (for looms) and George Boole (1815-64) who invented the form of math (Boolean algebra) that allows computers to work.
There was little progress until WW II loomed and a need for gun trajectory calculations became important. Starting with relays (like the starter relay in your car) in 1936, Konrad Zuse built the first programmable computer of modern times.
Working for the Navy in 1942 John Atanasoff & Clifford Berry built the ABC computer using vacuum tubes. In 1946 Eckert & Mauchly built ENIAC with 20,000 vacuum tubes.
In 1951 they built UNIVAC, the first commercial computer.
Meanwhile, back in 1948 Bardeen, Brattain & Shockley invented the transistor.
In 1958 Kirby & Noyce invented (developed?) the integrated circuit.
In 1971 Faggin, Hoff & Mazor built the 4004 - the FIRST microprocessor.
In 1976 the Mark 8 Altair (as seen in War Games) and the IBM 5100 were built - the first consumer computers.
In 1976/77 we had the Apple I, the TSR-80, and the Commodore Pet. Mass market computers (although we had to wait till 1979 for the Apple II).