Introduction to AI
Artificial Intelligence (AI) is the field of building software that performs tasks normally requiring human intelligence — understanding language, recognising images, making dec…
Introduction
Artificial Intelligence (AI) is the field of building software that performs tasks normally requiring human intelligence — understanding language, recognising images, making decisions, generating new content. Think of it as teaching computers to learn from examples instead of being told every rule.
Beginner analogy: Traditional software is like a recipe — you write every step. AI is like teaching a child by showing many examples: 'these are cats, these are dogs' — eventually the child generalises. Modern AI does the same with billions of examples.
Understanding the topic
Core concepts to understand:
- AI = software that learns patterns from data instead of hard-coded rules.
- Narrow AI (today): great at one task — translation, image recognition, chat.
- General AI (future): human-level reasoning across any domain.
- Powered by neural networks trained on massive datasets and GPUs.
- Generative AI is a subset of AI that creates new content (text, images, code, audio).
Syntax reference
Visual workflow / architecture:
┌──────────────────┐│ Artificial ││ Intelligence │└────────┬─────────┘│ contains┌────────▼─────────┐│ Machine Learning │└────────┬─────────┘│ contains┌────────▼─────────┐│ Deep Learning │└────────┬─────────┘│ enables┌────────▼─────────┐│ Generative AI │ ← LLMs, image gen└──────────────────┘
Real-world use
AI runs Google Search ranking, Netflix recommendations, Tesla Autopilot, Gmail spam filters, Apple Face ID and now ChatGPT-style assistants embedded in nearly every SaaS product.
Best practices
- Pick the simplest model that solves the problem — don't reach for an LLM if regex works.
- Always measure: accuracy, latency, cost, hallucination rate.
- Treat AI output as a suggestion, especially in regulated domains (medical, legal, finance).
Common mistakes
- Assuming AI is magic — it's statistics on top of huge datasets.
- Confusing AI hype with capability. Most demos cherry-pick examples.
Hands-on exercise
Interview preparation — practice these questions:
- Q1. Define AI in one sentence.
- Q2. Difference between narrow AI and general AI?
- Q3. Where does Generative AI sit inside the AI hierarchy?
- Q4. Give three examples of AI you used today.