And if it is programmed to store all experiences, cross reference and extrapolate appropriate responses or actions based on what it has 'experienced'...thus learns from its experiences?
It would still only being doing what it is programmed, that isn’t AI.
AI would be, for example, a program that analyzes documentation for errors and learns from the documents to do things it isn’t programmed to do. Such as it finds errors in C++ programming document and then starts writing it’s own C++ programs.