Practice Challenges
Hands-on exercises to reinforce your prompt engineering skills. Test your knowledge with real-world scenarios.
Test your prompt engineering skills with these hands-on exercises. Each challenge builds on the concepts you've learned in Level 101.
Challenge 1: Email Writing
Scenario
You're a project manager who needs to inform your team about a schedule change. The project deadline has been moved up by one week due to client requirements.
Your Task
Write a prompt to generate a professional email that:
- Informs the team about the schedule change
- Explains the reason for the change
- Provides a new timeline
- Motivates the team to meet the new deadline
- Offers support and resources
Requirements
- Use the CLEAR framework
- Specify the tone and length
- Consider the audience (your development team)
- Include specific details about the project
Solution Template
You are a [role] with [experience] managing [type of projects].
Write a [tone] email to [audience] about [topic].
Context: [provide background]
Length: [specify length]
Tone: [specify tone]
Key points: [list requirements]
Format the email with:
1. Clear subject line
2. Professional greeting
3. Main message
4. Action items
5. Supportive closing
Structured template for professional email writing
Example Solution
You are a senior project manager with 8 years of experience managing software development teams and client relationships.
Write a professional, motivating email to your development team about a schedule change. The project deadline has been moved up by one week due to client requirements for an e-commerce platform launch.
Context: The team has been working on a 3-month project, and we're currently 2 weeks ahead of schedule. The client needs the platform ready for Black Friday sales, which is why they're requesting the earlier delivery.
Length: Keep the email under 250 words
Tone: Professional, motivating, and supportive
Key points:
- Acknowledge the team's hard work so far
- Explain the client's business need for the earlier deadline
- Provide the new timeline with specific dates
- Offer additional resources and support
- Motivate the team to meet the challenge
Format the email with:
1. Clear subject line: "Project Timeline Update - New Deadline"
2. Professional greeting
3. Main message explaining the change
4. Action items and next steps
5. Supportive closing with encouragement
Real example applying the CLEAR framework to the email writing scenario
Challenge 2: Content Creation
Scenario
You're a marketing manager for a SaaS company that sells project management software. You need to create a blog post about productivity tips for remote teams.
Your Task
Write a prompt to generate a blog post that:
- Targets remote team leaders and managers
- Provides actionable productivity tips
- Includes real-world examples
- Promotes your software subtly
- Encourages engagement
Requirements
- Use few-shot prompting with examples
- Specify the structure and length
- Define the target audience clearly
- Include SEO considerations
Solution Template
You are a [type of writer] specializing in [topic].
Write a [content type] about [subject] for [audience].
Examples of similar content:
[Include 2-3 examples of good blog posts]
Structure:
1. [section 1]
2. [section 2]
3. [section 3]
Requirements:
- Length: [specify]
- Tone: [specify]
- Include: [list key points]
- SEO keywords: [list keywords]
Template for creating engaging blog content with SEO optimization
Example Solution
You are a senior content marketing specialist with 10 years of experience in B2B SaaS marketing and remote team management.
Write a comprehensive blog post about productivity tips for remote teams, targeting team leaders and managers who are struggling with team coordination and efficiency.
Examples of similar content:
"10 Time Management Hacks That Actually Work for Remote Teams"
- Practical, actionable tips with specific tools mentioned
- Real-world examples and case studies
- Engaging subheadings and bullet points
- Call-to-action for productivity tools
"Building Trust in Virtual Teams: A Complete Guide"
- Step-by-step actionable advice
- Expert quotes and research-backed insights
- Interactive elements and downloadable resources
- Subtle promotion of team collaboration software
Structure:
1. Introduction: The remote work productivity challenge
2. Communication strategies for remote teams
3. Time management and scheduling best practices
4. Technology tools and platforms
5. Building team culture remotely
6. Conclusion with actionable next steps
Requirements:
- Length: 1500-2000 words
- Tone: Professional yet approachable, authoritative but not preachy
- Include: Specific tool recommendations, real examples, expert insights, subtle mentions of your project management software
- SEO keywords: remote team productivity, virtual team management, remote work tools, team collaboration software, work from home efficiency
Real example using few-shot prompting for blog content creation
Challenge 3: Problem Solving
Scenario
You're a software developer working on a React application. You're encountering a performance issue where the app becomes slow when loading large datasets.
Your Task
Write a prompt to help you:
- Diagnose the performance issue
- Identify potential solutions
- Get code examples for optimization
- Understand best practices
Requirements
- Use chain-of-thought prompting
- Provide technical context
- Ask for step-by-step reasoning
- Request specific code examples
Solution Template
You are a [role] with expertise in [technology].
Let's solve this step by step:
Problem: [describe the issue]
Context:
- [technical details]
- [current implementation]
- [performance metrics]
Let me think through this:
[Show your reasoning process]
Please help me:
1. [specific request 1]
2. [specific request 2]
3. [specific request 3]
Provide code examples and explain the reasoning.
Structured approach for technical problem-solving with chain-of-thought reasoning
Example Solution
You are a senior React developer with 8 years of experience in frontend optimization and performance tuning.
Let's solve this step by step:
Problem: My React application becomes slow when loading large datasets (10,000+ items) in a data table component. The app freezes for 3-5 seconds during data loading and scrolling becomes laggy.
Context:
- Using React 18 with functional components and hooks
- Data comes from a REST API as JSON array
- Current implementation renders all items at once in a simple table
- Using useState for data management
- No virtualization or pagination implemented
- Performance issue occurs on both desktop and mobile
Let me think through this:
1. First, I need to identify the root cause - likely rendering too many DOM elements
2. Then, I should consider different optimization strategies
3. Finally, I'll implement the best solution with code examples
Please help me:
1. Diagnose the performance bottleneck and explain why it's happening
2. Provide 3 different optimization strategies with pros/cons
3. Give me a complete code example for the most effective solution
Provide code examples and explain the reasoning behind each optimization technique.
Real example using chain-of-thought prompting for technical problem-solving
Challenge 4: Decision Making
Scenario
You're a startup founder trying to choose between two different pricing models for your SaaS product. You need to analyze the pros and cons of each approach.
Your Task
Write a prompt to help you:
- Analyze both pricing models objectively
- Consider different factors (revenue, customer acquisition, etc.)
- Get recommendations based on your specific situation
- Understand the long-term implications
Requirements
- Provide detailed context about your business
- Use structured analysis
- Consider multiple perspectives
- Ask for specific recommendations
Solution Template
You are a [role] with expertise in [domain].
Help me make a decision about [topic].
Context:
- [business details]
- [current situation]
- [constraints and goals]
Options:
Option A: [details]
Option B: [details]
Please analyze:
1. [factor 1]
2. [factor 2]
3. [factor 3]
Provide a structured analysis and recommendation with reasoning.
Framework for structured decision analysis and recommendations
Example Solution
You are a startup growth consultant with 12 years of experience helping SaaS companies scale from $1M to $10M+ in revenue.
Help me make a decision about choosing between two pricing models for my project management SaaS product.
Context:
- B2B SaaS company with 500 paying customers
- Current revenue: $2.5M ARR
- Target market: Small to medium businesses (10-500 employees)
- Current pricing: $29/month per user
- Goal: Increase revenue while maintaining customer satisfaction
Options:
Option A: Freemium Model
- Free tier: 3 users, basic features
- Pro tier: $19/month per user, all features
- Enterprise tier: $39/month per user, advanced features + support
Option B: Usage-Based Model
- Base price: $99/month per company
- Additional cost: $5/month per user
- Unlimited features for all users
Please analyze:
1. Revenue potential and customer acquisition impact
2. Customer retention and satisfaction implications
3. Operational complexity and implementation effort
4. Market positioning and competitive advantage
Provide a structured analysis with specific revenue projections and a clear recommendation with reasoning.
Real example for structured business decision analysis
Challenge 5: Creative Writing
Scenario
You're a content creator who needs to write a compelling product description for a new smart home device.
Your Task
Write a prompt to generate a product description that:
- Appeals to tech-savvy homeowners
- Highlights key features and benefits
- Uses persuasive language
- Includes social proof elements
- Has a clear call-to-action
Requirements
- Use one-shot prompting with an example
- Specify the target audience
- Include emotional triggers
- Focus on benefits over features
Solution Template
You are a [type of writer] specializing in [content type].
Write a [content type] for [product] targeting [audience].
Example of effective product description:
[Include a good example]
Requirements:
- Length: [specify]
- Tone: [specify]
- Focus on: [benefits/features]
- Include: [specific elements]
- Call-to-action: [specify]
Make it compelling and conversion-focused.
Template for creating compelling product descriptions with conversion focus
Example Solution
You are a senior copywriter specializing in tech product marketing and smart home devices.
Write a compelling product description for a new smart home security camera targeting tech-savvy homeowners.
Example of effective product description:
"Transform your home security with the Nest Cam IQ. This intelligent camera doesn't just record—it thinks. With advanced facial recognition, it knows who's at your door before they ring the bell. Crystal-clear 4K video and night vision ensure you never miss a moment, while built-in AI alerts you only when it matters. Trusted by over 2 million homes worldwide."
Requirements:
- Length: 150-200 words
- Tone: Confident, innovative, trustworthy
- Focus on: Benefits over features, emotional security, convenience
- Include: Social proof, specific features, problem-solving benefits
- Call-to-action: "Secure your home today" or similar
Make it compelling and conversion-focused, emphasizing the peace of mind and convenience the product provides.
Real example using one-shot prompting for product description creation
Challenge 6: Data Analysis
Scenario
You have a dataset of customer feedback and need to analyze sentiment trends to improve your product.
Your Task
Write a prompt to help you:
- Analyze the sentiment data
- Identify key trends and patterns
- Generate actionable insights
- Create recommendations for improvement
Requirements
- Use zero-shot prompting for analysis
- Specify the output format
- Ask for specific insights
- Request actionable recommendations
Solution Template
You are a [role] with expertise in [domain].
Analyze the following [data type] and provide insights:
[Data description and sample]
Please provide:
1. [analysis type 1]
2. [analysis type 2]
3. [analysis type 3]
4. [recommendations]
Format the response as:
[specify structure]
Focus on actionable insights and business impact.
Structured approach for data analysis and actionable insights generation
Example Solution
You are a senior data analyst with 8 years of experience in customer experience analytics and product improvement.
Analyze the following customer feedback dataset and provide actionable insights for product improvement:
Dataset: 1,247 customer reviews from our mobile app (collected over 3 months)
Sample data:
- "Love the new interface! Much easier to navigate now." (5 stars, feature request)
- "App crashes when I try to upload photos. Very frustrating." (1 star, bug report)
- "Great app overall, but wish there was a dark mode option." (4 stars, feature request)
- "Customer service was amazing when I had an issue." (5 stars, support)
- "Too many ads, makes the app unusable." (2 stars, monetization)
Please provide:
1. Sentiment analysis with key trends and patterns
2. Top feature requests and bug reports by frequency
3. Customer satisfaction drivers and pain points
4. Specific product improvement recommendations
Format the response as:
- Executive Summary (2-3 sentences)
- Key Findings (bullet points)
- Detailed Analysis (with percentages and trends)
- Actionable Recommendations (prioritized by impact)
Focus on actionable insights that can drive immediate product improvements and business impact.
Real example using zero-shot prompting for customer feedback analysis
Challenge Solutions
How to Approach Each Challenge
- Read the scenario carefully - Understand the context and requirements
- Identify the key elements - What do you need to include in your prompt?
- Choose the right technique - Zero-shot, one-shot, few-shot, or chain-of-thought?
- Apply the CLEAR framework - Context, Length, Examples, Audience, Role
- Test and iterate - Try your prompt and refine it based on results
Evaluation Criteria
For each challenge, evaluate your prompt on:
- ✅ Clarity: Is the request clear and specific?
- ✅ Context: Is there enough background information?
- ✅ Structure: Is the output format specified?
- ✅ Audience: Is the target audience considered?
- ✅ Technique: Is the appropriate prompting technique used?
Tips for Success
- Start simple - Begin with basic prompts and add complexity
- Be specific - Include details about format, length, and style
- Provide examples - Use examples to guide the AI's output
- Consider the audience - Think about who will use the output
- Test thoroughly - Try different variations to see what works best
Advanced Challenges
These challenges build upon the foundational skills you've learned and introduce more complex prompt engineering techniques.
Challenge 7: Multi-Step Process
Create a prompt that guides the AI through a complex, multi-step process (e.g., planning a product launch, conducting user research).
Recommended Techniques: Chain-of-thought prompting, structured reasoning
Key Elements: Break down complex tasks into sequential steps, provide checkpoints, specify output format for each step
Challenge 8: Creative Problem Solving
Write a prompt that encourages the AI to think creatively about solving an unusual problem or creating an innovative solution.
Recommended Techniques: Few-shot prompting with creative examples, divergent thinking
Key Elements: Encourage multiple solution approaches, specify creativity constraints, request innovative perspectives
Challenge 9: Educational Content
Create a prompt for generating educational content that explains a complex concept to different audiences (beginner, intermediate, expert).
Recommended Techniques: One-shot prompting with audience-specific examples
Key Elements: Adapt complexity for each audience level, use appropriate analogies, maintain accuracy across all levels
Challenge 10: Interactive Dialogue
Design a prompt that creates an interactive conversation or Q&A session with the AI.
Recommended Techniques: Role-based prompting, conversation flow design
Key Elements: Define conversation boundaries, specify interaction style, plan for follow-up questions
Advanced Challenge Evaluation Criteria
For advanced challenges, also evaluate:
- ✅ Complexity Management: Is the multi-step process well-structured?
- ✅ Creativity Facilitation: Does the prompt encourage innovative thinking?
- ✅ Audience Adaptation: Is content appropriately tailored for different skill levels?
- ✅ Interaction Design: Is the conversation flow natural and engaging?
- ✅ Scalability: Can the prompt handle various scenarios and edge cases?
Next Steps
After completing these challenges:
- Review your results - What worked well? What could be improved?
- Practice regularly - Apply these techniques to your daily work
- Share with others - Discuss your approaches with colleagues
- Move to Level 201 - Ready for advanced techniques?
Start Level 201: Advanced Techniques →
Remember: The key to mastering prompt engineering is practice. Use these challenges as a starting point and create your own exercises based on your specific needs and interests!
Complete This Resource
Explore More Learning
Continue your AI learning journey with our comprehensive courses and resources.