Skip to content

    What is Artificial Intelligence

    AI · Beginner

    Definition

    Artificial Intelligence is the field of building systems that perform tasks needing human-like intelligence: reasoning, learning, perception and language.

    AI is transforming every industry, from healthcare to software development.

    Diagram

    AI⊃ Machine Learning⊃ Deep Learning⊃ Generative AI

    Flowchart

    Perceive inputRepresent knowledgeReason / learnDecideAct & get feedback

    Example: A rule-based AI agent

    def thermostat(temp):
        return 'heat on' if temp < 18 else 'cool on' if temp > 26 else 'idle'
    print(thermostat(15))

    Output: heat on

    Key points

    • Narrow AI vs general AI
    • Search, logic, learning approaches
    • Ethics and bias matter

    Interview questions

    What is the Turing Test?

    A test of whether a machine's conversation is indistinguishable from a human's.

    More AI topics