Episode 346 is Probe (1988)
"Computer Logic"
A misanthropic scientist and his quirky new secretary attempt to shut down an artificially intelligent computer that has decided to start killing people.