Advanced computers that fit in the palm of your hand that contains access to all information was a feature in The Hitchhiker's Guide to the Galaxy.
By the time
The Hitchhiker's Guide to the Galaxy was written, personal computers had come into being. Douglas Adams, in fact, was an enthusiastic early-adopter of such technology.
By contrast,
Star Trek imagined that computers would remain much bigger and scarcer. The
Enterprise had one main computer, incorporated into the spacecraft, with no concept of computers small enough or portable enough that individual crew members might have them.
Star Trek also assumed that by the end of the 20th Century, some of humanity might venture outside of our solar system in sleeper ships. Khan and his bunch are supposed to have fled that way in the 1990s.
2001: A Space Odyssey was a bit more conservative, predicting that by 2001, we'd have colonized the Moon, and be sending a manned ship out as far as Jupiter—Also, with just one computer for the entire ship, incorporated into the ship.
It seems that in the 1960s, science fiction writers believed that we would be making much more progress, much more quickly, toward sending men into space; and completely missed the advances that were going to take place in computer technology. I don't think they had anticipated, by that time, that we'd even have basic electronic calculators in a portable form, such as what very quickly became common in the 1970s, much less the personal microcomputers such as the TRS-80 or the Apple ][ that came out in the late 1970s.
It was even considered laughable that people would cook with microwaves when I was a child.
How old are you, if I dare ask?
Microwave ovens didn't become common until some time in the 1970s (seems like that was a period of massive advancement in electronic technologies in general), but I thought I remembered hearing that they were invented in the 1940s, and on perusing the Wikipedia, I find that the concept of using radio waves to cook food was first publicly demonstrated in the 1930s. Looks like the first actual microwave oven as such, as invented in 1945, and the first commercially-available microwave ovens hit the market in 1947. The original Radarange stood almost six feet tall, weighed 750 pounds, and cost about $5,000 in 1947 Dollars (about $66,000 in 2022 Dollars).