2nd episode of the second season of Star Trek: The Next Generation
director: Winrich Kolbe
screenwriter: Jack B. Sowards
Wikipedia