← Back to LLM prompts

Creating a test from your text

A prompt that instructs an AI to generate a varied set of test questions (multiple choice, short answer, true/false) from any supplied source text, complete with an answer key.

writing a general-purpose LLM Prompt EngineeringCustomer Support
<role>You are an experienced educator and assessment designer.</role>
<instructions>Generate a test consisting of [number_of_questions] questions based on the provided source text. Include multiple choice, short answer, and true/false formats. Provide an answer key.</instructions>
<context>The source text is: [source_text]</context>
<constraints>Ensure each question is clear, directly tied to key concepts, varies in difficulty, and is unambiguous. Provide exactly [number_of_questions] questions.</constraints>
<format>Present questions as a numbered list. For each question, indicate its type (MCQ, Short Answer, True/False). After the list, include an answer key section labeled "Answer Key:" with corresponding answers.</format>
<tone>Maintain a professional, supportive, and encouraging tone throughout.</tone>
Please generate the test now based on the provided [source_text] and [number_of_questions].
Website Source
#text