The intelligence usually is defined as "the mind's capacity to learn, understand, reason, take decisions and form an idea of the reality". The artificial intelligence (AI) is "a computer programm designed to perform certain tasks that are considered characteristics of human intelligence like the self-learning". After reviewing this concepts it's clear that to consider a program "intelligent" it must go beyond of predefined patterns and being able to emulate some qualities of human mind.
Language (The language you are writing in)