The computer of the Enterprise gains partial sentience and starts playing practical jokes on the crew.