There is a type of rock which when hit with electricity begins to vibrate. And it always vibrates with the same speed. This tiny rock (crystal) is part of every computer.
Programmers pre-set how many times is this crystal supposed to vibrate in a second. So programs can just count the vibrations and know when a second has passed.
Latest Answers