Bird
Raised Fist0
AI for Everyoneknowledge~20 mins

What AI hallucinations are in AI for Everyone - Practice Problems & Coding Challenges

Choose your learning style10 modes available

Start learning this pattern below

Jump into concepts and practice - no test required

or
Recommended
Test this pattern10 questions across easy, medium, and hard to know if this pattern is strong
Challenge - 5 Problems
🎖️
AI Hallucination Mastery
Get all challenges correct to earn this badge!
Test your skills under time pressure!
🧠 Conceptual
intermediate
2:00remaining
Understanding AI Hallucinations
What does the term 'AI hallucination' mean in the context of artificial intelligence?
AWhen an AI system refuses to answer a question.
BWhen an AI system correctly identifies objects in images.
CWhen an AI system generates information that is false or not based on real data.
DWhen an AI system improves its accuracy over time.
Attempts:
2 left
💡 Hint
Think about when AI gives answers that seem made up or incorrect.
📋 Factual
intermediate
2:00remaining
Common Causes of AI Hallucinations
Which of the following is a common cause of AI hallucinations?
AAI training on incomplete or biased data.
BAI running on high-performance hardware.
CAI using too many layers in its neural network.
DAI being updated regularly.
Attempts:
2 left
💡 Hint
Consider what might make AI learn wrong information.
🚀 Application
advanced
2:00remaining
Identifying AI Hallucinations in Use
If an AI assistant confidently provides a detailed but incorrect answer to a question, what is the best way to handle this situation?
AAssume the AI is always correct and use the answer as is.
BVerify the information with trusted sources before accepting it.
CIgnore the AI and never use AI tools again.
DRestart the AI system to fix the error.
Attempts:
2 left
💡 Hint
Think about how to avoid being misled by AI errors.
🔍 Analysis
advanced
2:00remaining
Why AI Hallucinations Can Be Dangerous
Why can AI hallucinations be harmful in real-world applications?
AThey can cause users to make wrong decisions based on false information.
BThey make AI systems run slower.
CThey increase the cost of AI hardware.
DThey improve AI creativity.
Attempts:
2 left
💡 Hint
Consider the impact of false information on people.
Reasoning
expert
3:00remaining
Reducing AI Hallucinations
Which approach is most effective to reduce AI hallucinations in language models?
AUsing random data to increase variety.
BIncreasing the model size without changing the data.
CLimiting the AI to only answer yes/no questions.
DTraining the model on diverse, high-quality, and verified datasets.
Attempts:
2 left
💡 Hint
Think about how better data affects AI accuracy.

Practice

(1/5)
1. What does the term AI hallucination mean?
easy
A. An AI giving a confident but incorrect or made-up answer
B. An AI dreaming during processing
C. An AI shutting down unexpectedly
D. An AI learning from new data

Solution

  1. Step 1: Understand the meaning of AI hallucination

    AI hallucination refers to when an AI produces an answer that sounds confident but is actually wrong or made up.
  2. Step 2: Match the definition to the options

    An AI giving a confident but incorrect or made-up answer correctly describes this as a confident but incorrect or made-up answer, while other options describe unrelated AI behaviors.
  3. Final Answer:

    An AI giving a confident but incorrect or made-up answer -> Option A
  4. Quick Check:

    AI hallucination = wrong confident answer [OK]
Hint: Remember: hallucination means wrong but confident answer [OK]
Common Mistakes:
  • Thinking AI hallucination means AI dreaming
  • Confusing hallucination with AI failure or crash
  • Assuming hallucination means learning new facts
2. Which of the following best describes a sign of an AI hallucination?
easy
A. The AI refuses to answer any question
B. The AI repeats the same answer multiple times
C. The AI asks for more information
D. The AI gives an answer that sounds sure but is false

Solution

  1. Step 1: Identify the sign of AI hallucination

    AI hallucinations happen when the AI gives answers that sound confident but are actually false or made up.
  2. Step 2: Compare options to this definition

    The AI gives an answer that sounds sure but is false matches this description exactly. Other options describe different AI behaviors not related to hallucinations.
  3. Final Answer:

    The AI gives an answer that sounds sure but is false -> Option D
  4. Quick Check:

    Hallucination = confident but false answer [OK]
Hint: Look for confident but false answers as hallucinations [OK]
Common Mistakes:
  • Confusing refusal to answer with hallucination
  • Thinking repeated answers are hallucinations
  • Assuming asking for info means hallucination
3. Consider this AI response to a question: "The capital of Mars is Olympus City." What is this an example of?
medium
A. Correct factual answer
B. AI asking for clarification
C. AI hallucination
D. AI refusing to answer

Solution

  1. Step 1: Analyze the AI response content

    The AI claims a capital city on Mars, which is a fictional or made-up fact since Mars has no capital.
  2. Step 2: Identify this as an AI hallucination

    Because the AI confidently gives a false or made-up answer, this fits the definition of an AI hallucination.
  3. Final Answer:

    AI hallucination -> Option C
  4. Quick Check:

    Made-up confident answer = hallucination [OK]
Hint: False confident facts from AI = hallucinations [OK]
Common Mistakes:
  • Assuming fictional facts are correct
  • Thinking AI refused to answer
  • Confusing hallucination with clarification requests
4. An AI gives this answer: "The Eiffel Tower is located in Berlin." What is the best way to fix this hallucination?
medium
A. Check facts and correct the location to Paris
B. Ignore it because AI is always right
C. Restart the AI to fix the error
D. Ask the AI to repeat the same answer

Solution

  1. Step 1: Identify the error in the AI answer

    The AI incorrectly states the Eiffel Tower is in Berlin, which is false; it is in Paris.
  2. Step 2: Choose the best fix for the hallucination

    The best fix is to check the facts and correct the answer to Paris, ensuring accuracy.
  3. Final Answer:

    Check facts and correct the location to Paris -> Option A
  4. Quick Check:

    Fix hallucination by fact-checking and correcting [OK]
Hint: Always verify AI answers to fix hallucinations [OK]
Common Mistakes:
  • Ignoring wrong AI answers
  • Restarting AI without fact-checking
  • Repeating wrong answers expecting change
5. You receive this AI-generated summary: "The Great Wall of China was built in the 20th century to protect against alien invasions." How should you handle this hallucination when using the summary for a school project?
hard
A. Use it as is because AI sounds confident
B. Cross-check with reliable sources and correct the facts
C. Ignore all AI summaries for school projects
D. Add more made-up details to make it interesting

Solution

  1. Step 1: Recognize the hallucination in the summary

    The claim about the Great Wall being built in the 20th century for alien invasions is false and made up.
  2. Step 2: Decide the best approach for using AI content

    Always cross-check AI-generated facts with trusted sources and correct any errors before use.
  3. Final Answer:

    Cross-check with reliable sources and correct the facts -> Option B
  4. Quick Check:

    Verify AI info before use to avoid hallucination errors [OK]
Hint: Always verify AI info before using it [OK]
Common Mistakes:
  • Trusting AI without fact-checking
  • Discarding all AI content unnecessarily
  • Adding false info to cover errors