What is AI? — AI Technical Interview Questions & Answers
What is AI?
What is AI?
- AI is a program that does a job people used to call “thinking”: sort spam, read a number plate, suggest the next song. It is not magic and it is not a person. You give it data and a goal. It learns a pattern or follows rules, then acts. A fresher should say that in one breath before any buzzword.
- Narrow AI does one job well — Gmail spam, Google Maps traffic, a hospital scan helper. General AI that can do any human job does not exist in products today. Don’t say “AI is like a brain” and stop. Say: machine + data + goal + feedback.
- Board: mails = ["win lottery", "lab at 4"]. A tiny filter flags lottery as spam. That is AI at freshman size: a rule or a model, not a robot with feelings. Companies hire people who can explain this without hype.
- What is AI? — output: win lottery now → spam / lab meeting at 4 → ok / free prize click → spam. A rule on text — not a person.
data + goal
│
▼
model / rules
│
▼
action (spam / route / caption)Technical Interview Tip: One sentence + one real product + narrow vs general.
Code Examples for What is AI?
Example
# Narrow AI: a tiny spam rule
mails = ["win lottery now", "lab meeting at 4", "free prize click"]
for m in mails:
spam = "lottery" in m or "prize" in m
print(m, "→", "spam" if spam else "ok")
What is AI? — output: win lottery now → spam / lab meeting at 4 → ok / free prize click → spam. A rule on text — not a person.
How to Explain What is AI? to an Interviewer
What is AI?
Program that does a thinking-like job Needs data and a goal Not a person
Narrow vs general AI?
Narrow = one task General = any human job Products today are narrow
Give one real example.
Spam filter Maps traffic Face unlock