It is difficult to identify any one device as the earliest
computer,
The history of the modern computer begins with two separate
technologies - that of automated calculation and that of
programmability.
Examples of early mechanical calculating devices included the
abacus, the slide rule and arguably the astrolabe
The "castle clock", an astronomical clock invented by Al-Jazari
in 1206, is considered to be the earliest programmable analog
computer
in any case, first modern computer that had two tech that
mentioned, is Zuse Z3, that made in Germany &
Program-controlled by punched film stock.