|Think Tank robot|
Artificial intelligence (or computer intelligence) was a term used in the fields of cybernetics, computer science, and related disciplines, to describe computer hardware and software sophisticated enough to reason independently, form new conclusions, and alter its own responses.
The android Data, built in the early 24th century, may be an example of a true artificial intelligence according to this definition. (TNG: "Encounter at Farpoint") So might certain other androids, notably, Ruk, an artifact of the Old Ones of Exo III. (TOS: "What Are Little Girls Made Of?") Data was equipped by his creator, Noonian Soong, with a positronic brain, based on an advanced neural-net design. He was eventually deemed an independent lifeform, with the rights and responsibilities of other life, lending weight to the notion that he qualifies as an artificial intelligence. (TNG: "The Measure Of A Man")
Even certain highly advanced alien computers may or may not meet the criteria for artificial intelligence. Landru ruled Beta III for almost 6,000 years, but Kirk and Spock deduced its nature in less than a day. (TOS: "The Return of the Archons")
As of 2364, Doctor Kurt Mandl held advanced degrees in computer science and artificial intelligence. Natasha Yar therefore felt he could have re-programmed a laser drill to murder Arthur Malencon. (TNG: "Home Soil")
In 2365, Ensign Sonya Gomez rationalized her addition of the word "please" to a request for hot chocolate from the replicator as being reasonable given that it was intelligent circuitry. She felt that working with artificial intelligence all the time tended to be dehumanising and suggested courtesy as the remedy, demonstrating it again by thanking the replicator for her beverage. (TNG: "Q Who")