ENGINEERING MIDTERM EXAM — 100 COMPLEX
QUESTIONS WITH DETAILED ANSWERS AND RATIONALES
SECTION 1: PROMPT ENGINEERING FUNDAMENTALS (Questions 1–15)
1. A student is writing a research paper about the early history of computers.
Which prompt for AI is well-suited for helping the student get started?**
A) "What are the most popular computers?"
B) "Outline the history of technology."
C) "Tell me about early computer history."
D) "What is the definition of a computer?"
Answer: C) "Tell me about early computer history."
Rationale: This prompt is well-suited because it is specific to the student's
research topic (early computer history) while remaining broad enough to
generate useful starting information. Option A is too narrow (popular
computers), Option B is too broad (history of technology), and Option D is too
basic (definition of a computer).
,2. A person wants to get help with a speech by using a large language model.
What is the importance of effectively creating a prompt in this situation?**
A) Effective prompts ensure the speech is emotionally engaging.
B) Effective prompts ensure the speech is not plagiarized.
C) Effective prompts make the speech sound more realistic.
D) Effective prompts provide guidance for relevant responses.
Answer: D) Effective prompts provide guidance for relevant responses.
Rationale: The primary importance of effective prompts is to guide the AI
toward generating relevant, useful responses. While emotional engagement,
originality, and realism are desirable, the fundamental purpose of a well-crafted
prompt is to provide clear direction so the AI understands what the user needs.
3. What is the benefit of an effective prompt when using a large language
model to help write a description for a vacation rental property?
A) Clarity of the intended interpretation
B) Description customization for each reader
C) Increased speed of response generation
D) Improved interface for user-model interactions
Answer: A) Clarity of the intended interpretation
Rationale: An effective prompt ensures the AI clearly understands what the user
intends, leading to a description that matches the user's vision. While speed
and interface improvements are benefits, the primary benefit is clarity of
interpretation, which leads to more accurate and relevant outputs.
,4. A company maintains an online database of United States court cases. A
lawyer wants to use the database to find cases related to university admissions.
What is a benefit of using effective prompts in this context?
A) Filtration of misinformation within responses
B) Increased efficiency of database task execution
C) Data modification for improved applicability
D) Automatic expansion to include more data
Answer: B) Increased efficiency of database task execution
Rationale: Effective prompts help the AI understand exactly what the lawyer is
looking for, enabling faster and more accurate retrieval of relevant cases. This
increases the efficiency of the database task. The AI does not filter
misinformation, modify data, or expand data—it retrieves what exists.
5. After specifying contextual information, a person writes, "Tell me about the
law of sines" in an AI prompt. What is the key prompt component
demonstrated in the scenario?
A) Context
B) Output Format
C) Instructions
D) Persona
Answer: C) Instructions
Rationale: The phrase "Tell me about the law of sines" is the instruction—the
specific command or request that tells the AI what to do. Context was already
specified separately. Output format would involve specifying how the response
should be structured, and persona would involve assigning a role to the AI.
, 6. In their interactions with an online customer service chatbot, a person uses
casual language to troubleshoot a software issue. Which concept is the focus of
this scenario?
A) Verbosity
B) Tone
C) Constraints
D) Output format
Answer: B) Tone
Rationale: Tone refers to the emotional or expressive quality conveyed in
communication. The person's use of casual language reflects the tone of the
interaction. Verbosity refers to the amount of detail, constraints are limitations,
and output format is the structure of the response.
7. What is the component of a prompt that shapes the conversational dynamics
with a user when an AI chatbot is asked to assume the role of a travel agent?
A) Persona
B) Context
C) Instructions
D) Input content
Answer: A) Persona
Rationale: Persona refers to the role or character that the AI is asked to assume.
When the AI is asked to act as a travel agent, the persona shapes how the AI
responds and interacts with the user, influencing the conversational dynamics.