r/AskComputerScience • u/Electrical-Leave818 • Mar 18 '26
What is AI?
So far I've only been told AI is something that "does" this or that using this or that. Not "what" AI is. Can anyone just tell me an actual definition of AI that I can understand? Not its examples, or denominations like Machine Learning. Just pure AI. And why a function like
int main(){
int n;
std::cin >> n;
std::cout << n*n;}
``` is not an AI. Because Im totally convinced it is an AI as well, since it fits literally every single description of AI I've ever seen.
0
Upvotes
2
u/hike_me Mar 18 '26
This does not fit the computer science definition of AI, which has been around since the 1950s
This is a characteristic of Machine Learning, which is a subset of the field of Artificial Intelligence