This seems unlikely to have been assigned as a kid's book, but Jack Bickham's 1985 Ariel is a match plotwise.
The computer was organized on two basic principles: that artificial intelligence could be derived from high-speed calculations based on a very large amount of specific information, and that expertise could come only from experience.
Journey to Terezor by Frank Asch
It was the answer to the "What young adult SF book is about a boy saved by aliens and domed colonies?" question.
Matt and his parents are rescued from a flood by alien robots who have
set up colonies of intelligent beings from various worlds on Planet
S-15. Matt joins two other children, Sarah and Ryan, in an attempt ...