Applied AI & Prompt Engineering · Module 1: Generative AI Fundamentals & AI Tools · Lesson 1 of 55

What Is Generative AI? AI vs ML vs Deep Learning vs GenAI Explained

What Is Generative AI?

Generative AI is a category of artificial intelligence that can create new content such as text, images, audio, video, computer code, and other forms of digital content based on patterns learned from data.

Unlike traditional software that follows explicitly programmed rules to produce predefined results, Generative AI can produce new outputs in response to natural-language instructions and other forms of input.

Simple Definition:

Generative AI refers to AI systems that can generate new content based on the instructions, examples, or other inputs provided to them.

How Does Generative AI Work?

Generative AI models are trained on large amounts of data. During training, the model learns statistical patterns and relationships within that data.

When a user provides an input, the model processes the input and generates an output based on patterns learned during training and the instructions provided at the time of use.

Input → AI Model → Generated Output

For example, a user might provide the instruction:

Explain the water cycle to a Class VI student.

A Generative AI system can generate an explanation appropriate to that request.

AI vs Machine Learning vs Deep Learning vs Generative AI

These terms are related, but they do not mean the same thing. Understanding their relationship is essential before studying modern AI tools.

Term Meaning Example
Artificial Intelligence Broad field of creating systems capable of performing tasks associated with intelligent behaviour. Game-playing system
Machine Learning A branch of AI in which systems learn patterns from data to make predictions or decisions. Spam email classification
Deep Learning A type of machine learning based on multi-layer neural networks. Image recognition
Generative AI AI systems designed to generate new content such as text, images, audio, video, or code. AI-generated lesson explanation

Relationship Between AI, ML, Deep Learning and Generative AI

A useful conceptual relationship is:

Artificial Intelligence → Machine Learning → Deep Learning → Many Modern Generative AI Systems

This should not be interpreted as a strict hierarchy in which every Generative AI system must follow exactly this path. Rather, it helps beginners understand how the major concepts are related.

Artificial Intelligence

Artificial Intelligence (AI) is the broad field concerned with building computer systems that can perform tasks requiring capabilities commonly associated with human intelligence.

Examples include:

  • Recognizing patterns
  • Understanding language
  • Making predictions
  • Planning
  • Decision support
  • Problem solving
  • Perception

Machine Learning

Machine Learning (ML) is a major approach within AI where algorithms learn patterns from data rather than relying entirely on manually written rules.

For example, a school could use a machine-learning system to identify patterns in historical attendance data and estimate students who may require additional academic support.

Important:

A prediction produced by a machine-learning system is not automatically a fact. Predictions should be interpreted according to the quality, relevance, and limitations of the underlying data and model.

Deep Learning

Deep Learning is a type of machine learning that uses neural networks with multiple computational layers to learn increasingly complex representations from data.

Deep learning has played an important role in modern advances in areas such as computer vision, speech processing, natural-language processing, and Generative AI.

Generative AI

Generative AI focuses on producing new content rather than only classifying or predicting existing information.

Traditional AI Task Generative AI Task
Classify an email as spam or not spam. Write an email based on instructions.
Identify an object in an image. Generate an image from a description.
Predict a value. Generate a report explaining data.
Detect sentiment. Write a customer-response message.
Recognize speech. Generate a response to spoken instructions.

What Is an LLM?

An LLM (Large Language Model) is a machine-learning model designed to process and generate human language.

Modern LLMs can perform tasks such as:

  • Answering questions
  • Summarizing text
  • Generating explanations
  • Writing and transforming content
  • Generating computer code
  • Translating languages
  • Extracting information
  • Assisting with research and analysis
Remember:

An LLM is a type of AI model. Generative AI is a broader concept that includes systems capable of generating different forms of content.

What Does "Large" Mean in LLM?

The word large generally refers to the substantial scale of the model and the data and computational resources involved in developing it.

Large language models contain very large numbers of learned parameters and are trained using extensive datasets and significant computational resources.

What Can Generative AI Generate?

Generative AI is not limited to text. Depending on the model and tool, it can generate or transform several types of content.

Content Type Possible AI Task
Text Articles, explanations, summaries, stories
Code Programs, functions, debugging suggestions
Images Illustrations, concepts, designs
Audio Speech, narration, sound generation
Video AI-generated or AI-assisted video content
Data Analysis, summaries, transformations, insights

What Is Multimodal AI?

Multimodal AI refers to AI systems that can work with multiple types of information, known as modalities.

Depending on the system, modalities can include:

  • Text
  • Images
  • Audio
  • Video
  • Computer code

A multimodal AI system might, for example, receive an image of a chart and a written question and produce a textual analysis.

Multiple Input Modalities → AI Model → Generated or Transformed Output

Text AI vs Multimodal AI

Capability Text-Focused System Multimodal System
Text input Yes Yes
Image input May be unavailable Supported by capable models
Audio input May be unavailable Supported by capable models
Video input May be unavailable Supported by capable models
Code Can process code as text Can combine code with other modalities where supported

Generative AI in Education

Generative AI can support teachers, students, administrators, and educational institutions in a wide range of activities.

For Students

  • Concept explanations
  • Practice questions
  • Study summaries
  • Programming assistance
  • Language practice
  • Brainstorming

For Teachers

  • Lesson planning
  • Question generation
  • Activity ideas
  • Rubric drafting
  • Content differentiation
  • Professional development materials

For School Administration

  • Drafting communications
  • Meeting summaries
  • Report preparation
  • Data interpretation
  • Workflow documentation
  • Brainstorming and planning

Generative AI for Coding

Generative AI can assist developers and students with programming tasks.

  • Generating example programs
  • Explaining code
  • Finding possible bugs
  • Creating test cases
  • Converting code between languages
  • Generating documentation
  • Learning programming concepts
Developer Warning:

AI-generated code should be reviewed, tested, and understood before being used in a real application. Generated code can contain bugs, insecure practices, incorrect assumptions, or outdated dependencies.

Generative AI for Research

Generative AI can assist with research-oriented tasks such as brainstorming, summarization, classification, information extraction, and drafting.

However, researchers should independently verify important claims, citations, statistics, and references.

Research Principle:

Use AI as an assistance tool rather than treating generated information as automatically verified evidence.

Generative AI for Content Creation

Generative AI can assist in creating many forms of digital content.

  • Blog articles
  • Social media drafts
  • Educational notes
  • Presentation outlines
  • Images and illustrations
  • Video concepts
  • Scripts and narration
  • Marketing drafts

Generative AI Use Cases

Area Example Use Case
Education Generate lesson explanations and practice questions.
Programming Explain, generate, and review code.
Research Summarize and organize information.
Business Draft reports, emails, and business content.
Design Generate visual concepts and creative ideas.
Marketing Create campaign ideas and content drafts.
Customer Support Assist with responses and knowledge retrieval.
Productivity Summarize documents and organize information.

Generative AI vs Traditional Software

Traditional Software Generative AI
Usually follows explicitly programmed instructions. Generates responses based on learned patterns and provided instructions.
Often produces predictable outputs for the same inputs. Outputs may vary and can require evaluation.
Rules and logic are explicitly implemented. Model behaviour is learned from training data and shaped by instructions and system design.
Typically requires developers to define functionality. Users can describe tasks using natural language.

Benefits of Generative AI

  • Natural-language interaction
  • Rapid content generation
  • Support for learning and productivity
  • Assistance with programming
  • Creative brainstorming
  • Content transformation
  • Support for multimodal workflows
  • Automation opportunities

Limitations of Generative AI

Generative AI is powerful, but it is not infallible.

Limitation What It Means
Incorrect information AI can produce responses that sound convincing but are factually incorrect.
Incomplete information Important details may be missing from a response.
Bias Outputs can reflect limitations or biases in data, model design, or the surrounding system.
Privacy concerns Sensitive information requires appropriate protection.
Security risks AI applications can be exposed to threats such as prompt injection and unsafe generated content.
Variable output Responses may differ between requests.

Does Generative AI Think Like a Human?

Generative AI can produce sophisticated responses, but its operation should not be assumed to be identical to human thinking.

Modern AI models process inputs and generate outputs using learned representations, model architecture, computation, and instructions. Human concepts such as understanding, reasoning, intention, and consciousness should not automatically be attributed to an AI system simply because its output appears intelligent.

Key Idea:

An AI system can produce highly useful and sophisticated output without necessarily operating in the same way as a human mind.

Generative AI in Everyday Life

Many people encounter Generative AI through everyday digital tools.

  • AI writing assistants
  • Chatbots
  • Image-generation tools
  • AI coding assistants
  • Voice assistants
  • Document summarization tools
  • AI-powered search and research tools
  • Creative design applications

Generative AI in a School Environment

Consider a school Computer Science department preparing a workshop on Python.

Case Study: AI-Assisted Python Learning

A teacher can use Generative AI to draft an explanation of Python functions, generate practice questions, suggest classroom activities, and create different explanations for learners with different levels of prior knowledge.

The teacher should still review the generated material for correctness, syllabus alignment, age appropriateness, and instructional quality.

Generative AI Workflow

User Goal → Prompt/Input → AI Model → Generated Output → Human Review → Final Use

Human review is particularly important when AI-generated content will be used for examinations, official communication, research, financial decisions, or other high-impact purposes.

Key Differences at a Glance

Concept Main Focus
AI Intelligent behaviour and problem solving
Machine Learning Learning patterns from data
Deep Learning Learning complex representations using neural networks
Generative AI Generating or transforming content
LLM Processing and generating language
Multimodal AI Working with multiple types of information

Practical Activity — Identify Generative AI

Classify the following examples as primarily Generative AI or Non-Generative AI.

  1. A system that generates a paragraph from a topic.
  2. A system that detects spam emails.
  3. A system that creates an image from a text description.
  4. A system that predicts whether a transaction is fraudulent.
  5. A system that generates Python code from a description.
  6. A system that classifies an image as a cat or dog.

Practical Activity — AI in Education

Identify five ways Generative AI could support teaching and learning. For each use case, consider:

  • What task is being performed?
  • Who benefits?
  • What information does the AI need?
  • What should a teacher or student verify?
  • What risks should be considered?

Interview Questions

Q1. What is Generative AI?

Generative AI is a category of AI systems capable of generating new content such as text, images, audio, video, or code based on learned patterns and provided inputs.

Q2. What is the difference between AI and Generative AI?

AI is the broader field of intelligent computer systems. Generative AI refers specifically to AI systems that can generate or transform content.

Q3. What is Machine Learning?

Machine Learning is an approach within AI in which systems learn patterns from data to make predictions, classifications, or decisions.

Q4. What is Deep Learning?

Deep Learning is a type of machine learning that uses neural networks with multiple layers to learn complex representations.

Q5. What is an LLM?

An LLM, or Large Language Model, is a model designed to process and generate human language.

Q6. What is Multimodal AI?

Multimodal AI refers to systems that can work with multiple types of information, such as text, images, audio, or video.

Q7. Give two examples of Generative AI use cases.

Examples include generating educational explanations and generating computer code. Other examples include image generation, summarization, and content creation.

Q8. Can Generative AI produce incorrect information?

Yes. Generative AI can produce inaccurate, incomplete, or unsupported information, so important outputs should be appropriately reviewed and verified.

Examination MCQs

Q1. What is the primary characteristic of Generative AI?

  1. Only storing information
  2. Generating new content
  3. Only connecting computers
  4. Only performing arithmetic

Answer: B

Q2. Which is the broadest concept?

  1. Deep Learning
  2. Machine Learning
  3. Artificial Intelligence
  4. LLM

Answer: C

Q3. What does ML primarily involve?

  1. Learning patterns from data
  2. Only generating images
  3. Only writing documents
  4. Only creating websites

Answer: A

Q4. What is Deep Learning?

  1. A type of database
  2. A type of machine learning using multi-layer neural networks
  3. A programming language
  4. A web browser

Answer: B

Q5. What does LLM stand for?

  1. Logical Learning Machine
  2. Large Language Model
  3. Linear Learning Method
  4. Language Logic Module

Answer: B

Q6. Which is an example of Generative AI?

  1. Generating an article from instructions
  2. Checking whether a hard disk is connected
  3. Calculating a fixed mathematical formula
  4. Turning a computer on

Answer: A

Q7. What does multimodal AI refer to?

  1. AI that uses only text
  2. AI that works with multiple information modalities
  3. AI that runs only on mobile phones
  4. AI without training data

Answer: B

Q8. Which is a possible Generative AI output?

  1. Generated text
  2. Generated image
  3. Generated code
  4. All of the above

Answer: D

Q9. Which statement about Generative AI is correct?

  1. It can never make mistakes.
  2. Every generated answer is automatically verified.
  3. Its outputs should be evaluated according to the use case.
  4. It can only generate text.

Answer: C

Q10. Which is an educational use case of Generative AI?

  1. Generating practice questions
  2. Replacing every teacher
  3. Guaranteeing examination results
  4. Eliminating human review

Answer: A

Key Terms

Term Meaning
Artificial Intelligence Broad field concerned with intelligent computer systems.
Machine Learning AI approach that learns patterns from data.
Deep Learning Machine learning using multi-layer neural networks.
Generative AI AI capable of generating or transforming content.
LLM Large Language Model designed to process and generate language.
Multimodal AI AI capable of working with multiple information modalities.
Prompt An instruction or input provided to an AI system.

Self-Assessment Checklist

  • ☐ Define Generative AI.
  • ☐ Explain the difference between AI and ML.
  • ☐ Explain Deep Learning.
  • ☐ Explain how Generative AI relates to AI.
  • ☐ Define an LLM.
  • ☐ Explain multimodal AI.
  • ☐ Identify different types of Generative AI output.
  • ☐ Identify Generative AI use cases.
  • ☐ Identify important limitations of Generative AI.
  • ☐ Explain why human review can be necessary.

Key Takeaway

Generative AI is AI that can generate new content. Machine Learning enables systems to learn patterns from data, Deep Learning uses multi-layer neural networks, and modern Generative AI systems can produce text, code, images, audio, video, and other forms of content.

AI → ML → Deep Learning → Modern Generative AI Systems

The practical value of Generative AI comes from using these capabilities appropriately while recognizing limitations, verifying important information, and applying responsible human oversight.