Evil Genius, by Catherine Jinks, is a fresh and clever young adult novel written about a misunderstood child prodigy.
Cadel Piggott is a genius, especially with computers. When he gets into some trouble with the law at the age of seven, he foster parents take him to a psychologist who helps him discover his full potential. And eventually tells Cadel that his real father is none other than the villainous Dr. Phineas Darkkon.