Quiz: Module 1 - Introduction to Prompt Engineering
Test your understanding of the concepts covered in Module 1. This quiz contains 30 multiple-choice questions covering all three chapters.
- 27-30 correct: Expert level! Ready for advanced topics
- 21-26 correct: Proficient - Good understanding
- 15-20 correct: Developing - Review recommended
- Below 15: Please review the module content
Questions 1-10: What is Prompt Engineering?β
Question 1β
What is the best definition of prompt engineering?
- A) Writing code for AI systems
- B) The art and science of designing inputs to AI models to achieve desired outputs
- C) Building AI models from scratch
- D) Debugging computer programs
View Answer
Correct Answer: B
Prompt engineering is the art and science of designing, crafting, and optimizing inputs (prompts) to AI language models to achieve specific, desired outputs.
Question 2β
What is a "prompt" in the context of AI?
- A) A warning message
- B) Any input or instruction given to an AI system
- C) The AI's response
- D) A programming language
View Answer
Correct Answer: B
A prompt is any input or instruction you provide to an AI system to generate a desired output. It can be a question, statement, or set of instructions.
Question 3β
Which year marked the release of GPT-3, which revolutionized prompt engineering?
- A) 2018
- B) 2019
- C) 2020
- D) 2022
View Answer
Correct Answer: C
GPT-3 was released in 2020 and demonstrated unprecedented capabilities in text generation, making prompt engineering significantly more relevant.
Question 4β
What skill is NOT typically associated with prompt engineering?
- A) Clear writing
- B) Hardware repair
- C) Logical thinking
- D) Understanding of AI basics
View Answer
Correct Answer: B
Hardware repair is not a skill required for prompt engineering. The field requires communication, analytical, and basic technical skills related to AI.
Question 5β
Prompt engineering combines which two aspects?
- A) Hardware and software
- B) Art and science
- C) Input and output
- D) Speed and accuracy
View Answer
Correct Answer: B
Prompt engineering combines art (creativity, intuition) and science (systematic testing, measurement, optimization).
Question 6β
What is a common misconception about prompt engineering?
- A) It requires understanding model behavior
- B) It will become obsolete as AI improves
- C) It involves systematic optimization
- D) It's used across multiple industries
View Answer
Correct Answer: B
A common misconception is that prompt engineering will become obsolete. In reality, as AI becomes more capable, opportunities for sophisticated prompting increase.
Question 7β
Which job title is associated with prompt engineering?
- A) Database Administrator
- B) AI Communication Specialist
- C) Network Engineer
- D) Graphic Designer
View Answer
Correct Answer: B
AI Communication Specialist is one of several job titles in the prompt engineering field, along with Prompt Engineer, LLM Solutions Architect, and others.
Question 8β
What made 2022 significant for prompt engineering?
- A) GPT-1 was released
- B) ChatGPT made prompt engineering mainstream
- C) AI was invented
- D) Transformers were introduced
View Answer
Correct Answer: B
ChatGPT was released in November 2022, making prompt engineering accessible and relevant to millions of users worldwide.
Question 9β
Which industry does NOT typically use prompt engineering?
- A) Healthcare
- B) Marketing
- C) Ancient History (exclusively)
- D) Finance
View Answer
Correct Answer: C
Prompt engineering is used in healthcare, marketing, finance, technology, education, and virtually every industry. There's no industry exclusively focused on ancient history.
Question 10β
What is the primary responsibility of a prompt engineer?
- A) Building physical robots
- B) Designing and optimizing prompts for AI systems
- C) Managing computer networks
- D) Creating visual designs
View Answer
Correct Answer: B
The primary responsibility of a prompt engineer is designing and optimizing prompts for AI systems to achieve desired outcomes.
Questions 11-20: Why Prompt Engineering Mattersβ
Question 11β
By what factor can well-engineered prompts improve output quality?
- A) 2x
- B) 5x
- C) 10x or more
- D) No improvement
View Answer
Correct Answer: C
Research and industry experience suggest that well-engineered prompts can improve output quality by a factor of 10 or more.
Question 12β
How do most AI APIs charge for usage?
- A) Per hour of usage
- B) Based on tokens (input and output)
- C) Flat monthly fee
- D) Per user
View Answer
Correct Answer: B
Most AI APIs charge based on tokens, which are roughly 4 characters or 0.75 words.
Question 13β
How much can organizations save on AI costs with proper prompt engineering?
- A) 5-10%
- B) 20-30%
- C) 60-80%
- D) No savings
View Answer
Correct Answer: C
Organizations report saving 60-80% on AI costs after implementing prompt engineering best practices.
Question 14β
Which dimension of quality is NOT directly affected by prompt engineering?
- A) Relevance
- B) Hardware performance
- C) Accuracy
- D) Format
View Answer
Correct Answer: B
Hardware performance is not affected by prompt engineering. Prompts affect relevance, accuracy, completeness, format, tone, and actionability.
Question 15β
What is a cost-saving strategy in prompt engineering?
- A) Using longer prompts always
- B) Being specific to reduce iterations
- C) Always using the most expensive model
- D) Ignoring output length
View Answer
Correct Answer: B
Being specific helps reduce back-and-forth iterations, saving both time and token costs.
Question 16β
In the case study, how much time did the marketing agency save per month?
- A) 10%
- B) 50%
- C) 80%
- D) 95%
View Answer
Correct Answer: C
The agency reduced time from 40 hours to 8 hours per month, an 80% time savings.
Question 17β
What is NOT a business value of prompt engineering?
- A) Productivity gains
- B) Quality improvements
- C) Eliminating all human jobs
- D) New capabilities
View Answer
Correct Answer: C
Prompt engineering is about amplifying human capabilities, not replacing humans entirely. It creates business value through productivity gains, quality improvements, and new capabilities.
Question 18β
What competitive advantage do companies with prompt engineering expertise gain?
- A) Slower AI adoption
- B) Faster time-to-market
- C) Higher costs
- D) Inconsistent results
View Answer
Correct Answer: B
Companies with prompt engineering expertise gain faster time-to-market, higher quality AI products, better customer experiences, and more efficient operations.
Question 19β
According to the module, prompt engineering is about:
- A) Replacing human judgment
- B) Amplifying human capabilities
- C) Eliminating creativity
- D) Automating everything
View Answer
Correct Answer: B
Prompt engineering isn't about replacing human judgmentβit's about amplifying human capabilities through effective human-AI collaboration.
Question 20β
Why is now an ideal time to learn prompt engineering?
- A) AI models are getting less capable
- B) Model capabilities are increasing and demand is growing
- C) The field is shrinking
- D) Skills don't transfer across industries
View Answer
Correct Answer: B
Now is ideal because AI models are more powerful than ever, accessibility is high, demand is growing rapidly, and skills provide lasting value.
Questions 21-30: Overview of AI Language Modelsβ
Question 21β
What is a "token" in AI models?
- A) A cryptocurrency
- B) The basic unit of text that AI processes (roughly 4 characters)
- C) A physical chip
- D) A type of prompt
View Answer
Correct Answer: B
A token is the basic unit of text that AI models process, roughly equivalent to 4 characters or 0.75 words.
Question 22β
What is the "context window" of an AI model?
- A) The visual interface
- B) The maximum input + output length the model can process
- C) The training data
- D) The model's response time
View Answer
Correct Answer: B
The context window is the maximum amount of text (input + output) that an AI model can consider at once.
Question 23β
Which model family is known for very long context windows (200K tokens)?
- A) GPT-3.5
- B) Llama
- C) Claude 3
- D) Mistral
View Answer
Correct Answer: C
Claude 3 models from Anthropic are known for their very long context window of 200K tokens.
Question 24β
What is "Constitutional AI" associated with?
- A) OpenAI
- B) Anthropic (Claude)
- C) Meta (Llama)
- D) Google
View Answer
Correct Answer: B
Constitutional AI is Anthropic's approach to AI safety, built into their Claude models.
Question 25β
What is a key advantage of open-source models like Llama?
- A) Always more capable than GPT-4
- B) Can be self-hosted for privacy
- C) Never need prompts
- D) Unlimited context window
View Answer
Correct Answer: B
Open-source models like Llama can be self-hosted, providing privacy and customization options.
Question 26β
What is a "hallucination" in AI?
- A) A visual effect
- B) When AI generates plausible but incorrect information
- C) A programming error
- D) A type of prompt
View Answer
Correct Answer: B
A hallucination is when an AI model generates plausible-sounding but incorrect or fabricated information.
Question 27β
Which model is typically recommended for complex coding tasks?
- A) GPT-3.5 only
- B) GPT-4 or Claude 3 Opus
- C) Only open-source models
- D) None can handle coding
View Answer
Correct Answer: B
GPT-4 and Claude 3 Opus are recommended for complex coding tasks due to their superior reasoning capabilities.
Question 28β
What affects the "temperature" setting in AI models?
- A) Physical temperature of the server
- B) Randomness/creativity in output
- C) Speed of response
- D) Cost of usage
View Answer
Correct Answer: B
Temperature controls the randomness in output. Higher temperature = more creative/varied; lower temperature = more consistent/focused.
Question 29β
What is a key limitation of all current AI models?
- A) They can process unlimited text
- B) They have knowledge cutoff dates
- C) They never make mistakes
- D) They don't need prompts
View Answer
Correct Answer: B
All AI models have knowledge cutoff datesβthey are trained on data up to a certain point and don't know about events after that date.
Question 30β
For high-volume, simple tasks with cost sensitivity, which model type is recommended?
- A) GPT-4 only
- B) Claude 3 Opus only
- C) GPT-3.5 Turbo or Claude 3 Haiku
- D) Only open-source models
View Answer
Correct Answer: C
For high-volume, simple tasks where cost is a concern, faster and cheaper models like GPT-3.5 Turbo or Claude 3 Haiku are recommended.
Score Summaryβ
Count your correct answers and check your score:
| Score | Level | Recommendation |
|---|---|---|
| 27-30 | Expert | Proceed to Module 2 |
| 21-26 | Proficient | Proceed to Module 2, review weak areas |
| 15-20 | Developing | Review chapters before proceeding |
| 0-14 | Beginning | Please review Module 1 thoroughly |