Star Trek
The Ultimate Computer
S2 E24:
A supercomputer with a mind of its own controls the Enterprise during a battle exercise.
Starring
William Marshall, Sean Morgan, Barry Russo