The proper definition of a modern digital computer is

An electronic automated machine that can solve problems involving words and numbers

A more sophistic and modified electronic pocket calculator

Any machine that can perform mathematical operations

A machine that works on binary code