Obstacle avoidance with an UGV -HELP PLEASE-

I looked at the course with Sebastian Thrun recently, and I'll look into them in the future. So if I understand, A robot has artificial intelligence if bases its movements on probability, as well as the real world interface and sensing? And I would also assume that it is programmed to react to every possible scenario that could ever happen--am I correct?