Last Updated on April 14th, 2026
Which of the following is not an example of a closed-context prompt?
Select one:
a. Write a haiku about a cat.
b. Calculate the area of a triangle with base 5 cm and height 8 cm.
c. Summarize the plot of the novel “Around the World in 80 Days.”
d. How many planets are in our solar system?
Answer
a. Write a haiku about a cat
Explanation (each option)
a. Correct.
“Write a haiku about a cat” is an open-context prompt because it does not have a single factual or deterministic answer. The response depends on the model’s creativity, choice of words, and style. Different outputs are all equally valid, making it an open-ended creative task.
You may also check a detailed article on open-context prompts vs. closed-context prompts.
b. Incorrect.
“Calculate the area of a triangle with base 5 cm and height 8 cm” is a closed-context prompt because it has a single correct factual answer (½ × base × height = 20 cm²). There is no room for creativity; the model must provide a specific result.
c. Incorrect.
“Summarize the plot of the novel ‘Around the World in 80 Days’” is also a closed-context prompt. The novel’s plot is fixed and does not change, so the summary is bounded by a specific source of information. While summaries can vary in length or style, the underlying facts are constrained.
d. Incorrect.
“How many planets are in our solar system?” is a closed-context prompt because the correct answer is 8. It is a fact-based question with only one valid answer
Open vs Closed Context Prompts
| Aspect | Open-Context Prompt | Closed-Context Prompt |
|---|---|---|
| Definition | Prompts with multiple valid responses; often creative or subjective. | Prompts with one (or very few) correct responses; fact-based. |
| Examples | – Write a poem about a cat – Design a futuristic city – Generate a story idea |
– Solve 5 + 7 – Who was the first President of the USA? – How many planets in the solar system? |
| Nature of Answers | Open-ended, diverse, creative | Specific, factual, deterministic |
You may also go through series of MCQs/Quizzes on Prompt Engineering.

