Several books dedicated to Trek trivia have been published over the years, and a couple have made their way into my collection.
I recall enjoying this Star Trek trivia book immensely. It was published in January 1980. My copy is from the first printing.
The Official Star Trek Quiz Book was published in May 1985. It covers both TOS and the first three Trek films. My copy is from the first printing and I purchased it on 5 June 1985.