A dog's ability to sit when given the cue "sit" is no different than my ability to type or think the very words that I am typing as I sit here. I suppose you could say that it is "programming", but it is just as appropriate to say "learning".
Based upon the dog's exposure to his environment (over the course of his cute little life), he has learned to 'sit' on cue in certain circumstances.
Similary, based upon my own exposure to to my environment (over the course of my life time), I have learned to think the thoughts that I tend to think and type the words that I am typing under certain circumstances.
So long as I am reinforced for thinking/typing these things, I will continue to do so. If the reinforcement ceases, then I will lose this way of thinking and typing over the course of time. The dog will lose this manner of 'sitting on cue' if he is no longer reinforced as well.
Anyway, I do agree that dogs are 'dumber' than people....of course. In fact, I think most people over-estimate the intelligence of dogs by a huge margin, and I am a major dog lover. The word 'intelligence' is another topic for discussion, so I am admittedly using the word loosely at the moment.
Kelton