AI Course – Exercises

✍️ Exercises & Challenges

Practice your skills with these exercises. Each module has its own challenges – here you'll find additional practice.

📘 Level 1: Foundation

Exercise: Identify the LLM Beginner

Match each description to the correct LLM (GPT-4, Claude 3, Gemini, Llama 3, Mistral):

  1. Open source, developed by Meta, 70B parameters
  2. Known for the largest context window (1M tokens)
  3. Developed by Anthropic, focuses on safety and reasoning
  4. European, efficient, uses "mixture of experts" architecture
  5. The most well-known, powers ChatGPT Plus
Answers:
1. Llama 3
2. Gemini 1.5 Pro
3. Claude 3 Opus
4. Mixtral 8x7B
5. GPT-4 Turbo

Exercise: Prompt Rewriting Beginner

Rewrite each vague prompt to be more specific and effective:

  • "Tell me about history"
  • "Explain code"
  • "Help me with my business"
  • "Write a story"
Sample Answers:
• "Explain the causes of World War I to a high school student, including the assassination of Archduke Franz Ferdinand, alliance systems, and nationalism. Keep it to 5 paragraphs."
• "Explain this Python function line by line. Assume I understand basic syntax but am new to recursion. [paste code]"
• "I run a small coffee shop in Seattle with 5 employees. Help me brainstorm 3 AI tools that could automate our inventory management and reduce waste by 20%."
• "Write a 500-word fantasy story for children about a cat who discovers a magical door in the basement. Use simple vocabulary and a happy ending."
💡 How to use these exercises