Thus, the control unit is capable of properly producing a result of determination as to whether or not the portable electronic apparatus has been driven to make a predetermined movement including back-and-forth motions due to an operation such as particularly a shaking operation carried out on the portable electronic apparatus.