I'm looking for a movie where a guy, struck by thunder while connecting 2 wires of a primitive computer, gains super-calculator abilities. After that, he made a test (maybe at a university) with lightning speed, solving it in a blink of an eye while breaking the silence of the hall by biting and crunching his toast.
If I remember correctly, it was a soft sci-fi movie made by Disney in the 80's, involving a guy in a university and I described that scene. The protagonist entered a computer room during a storm with wet clothes and tries to connect 2 wires of a super computer when a lightning hit the structure and "magically" he acquires supercomputer abilities and knowledge too.
He also enters like a genius, as a member of school team participating in competitions between teams of other universities, winning at least.