1. Some basic concepts should be hardwired in like:
touch, force senses
time sense, clock and calendar
2. Some should be hand coded in ("innate") like:
seek recharger and plug in
disk copy/ replication
grasp and lift sequences (note that there is need for output knowledge too, like human "muscle memory")
3. Some concepts would be taught to early AIs (but then recorded for future generations of AIs) like:
soft and hard
4. Much would subsequently be learned by the (now independently living) AI. Again, these concepts could be recorded for future generations of AIs.
We can't just upload Ava (see my blog of 25 June 2012) onto the web and let it use web inputs as senses and in turn use the web to act on the world. Such a "baby Ava" would flail about, probably destroy itself (as a lone human baby would) and probably harm us too.