Teaching or practice apparatus for gun-aiming or gun-laying {using a light emitting device for simulating the firing of a gun or the trajectory of a projectile with means for selecting or varying PRF or time coding of the emitted beam}