The Ultimate Computer
Summary
A new computer system causes havoc while being tested aboard the Enterprise. With most of the Enterprise crew deboarded, a new M5 multitronic system is installed to test if it can control the Enterprise and manage operations aboard. Dr. Richard Daystrom has built this M5 unit and will oversee the test. Everything goes as planned as the M5 unit completes the demonstration tasks, but somehow the machine begins gaining too much control of the Enterprise, which starts to worry Spock and Kirk. When Kirk says he wants the M5 to let go of some of the controls the machine begins to see that as a threat and starts locking out all manual controls. This becomes a problem because the next task is a mock battle with three starships, which the M5 thinks are actual attacks.
Summary from Wikipedia, CC BY-SA 4.0.
Find out more
These links open the services in a new tab with the question pre-filled; the AI assistants may ask you to sign in. Their answers can contain errors.