Practical Applications of Prompt Engineering –
Objective Assessment Complete Questions & Detailed
Verified Answers
Question 1
What is prompt engineering?
A) The process of designing hardware for AI models
B) The practice of designing inputs to guide AI models toward desired outputs
C) A method for training large language models from scratch
D) A technique for compressing model weights
Answer
Answer: B
Rationale
Prompt engineering focuses on crafting effective prompts to elicit accurate, relevant responses from AI
systems.
Question 2
Which of the following is a key component of a well-structured prompt?
A) Random punctuation
B) Clear instructions and context
C) Excessive jargon
D) Ambiguous language
Answer
Answer: B
Rationale
,Clear instructions and sufficient context help the model understand the task and produce desired
outputs.
Question 3
What is a token in the context of large language models?
A) A unit of currency for API usage
B) A piece of text (word, subword, or character) that the model processes
C) A security credential
D) A type of neural network layer
Answer
Answer: B
Rationale
Models break text into tokens; token limits affect how much input/output can be processed.
Question 4
What does the context window refer to?
A) The graphical user interface of an AI application
B) The maximum amount of text (in tokens) a model can consider at once
C) The time it takes for a model to respond
D) The number of users a model can serve
Answer
Answer: B
Rationale
Context window limits how much prior conversation and input the model can use.
2
,Question 5
Which model type is designed to generate text based on prompts?
A) Discriminative model
B) Generative model
C) Regression model
D) Clustering model
Answer
Answer: B
Rationale
Generative models (e.g., GPT) produce new text in response to prompts.
Question 6
What is zero-shot prompting?
A) Providing no instructions at all
B) Asking the model to perform a task without any examples
C) Training the model on zero data
D) Using a model with zero parameters
Answer
Answer: B
Rationale
Zero-shot relies on the model’s pre-trained knowledge to perform a new task without demonstrations.
Question 7
What is few-shot prompting?
A) Using a model with few parameters
3
, B) Providing a small number of examples in the prompt to guide the model
C) Asking the model to generate few words
D) Limiting the output length
Answer
Answer: B
Rationale
Few-shot prompting includes example inputs/outputs to help the model infer the desired pattern.
Question 8
What is the primary purpose of a system prompt?
A) To provide examples for few-shot learning
B) To set the model’s overall behavior, role, and constraints
C) To encrypt the conversation
D) To reduce token usage
Answer
Answer: B
Rationale
System prompts define the AI’s persona, tone, and boundaries before user interaction.
Question 9
Which of the following is an example of a user prompt?
A) “You are a helpful assistant.”
B) “Summarize the following article in 3 bullet points.”
C) “Always respond in French.”
D) “Do not provide medical advice.”
4