WorksheetsWorksheet: Modular Prompting and Reasoning Patterns
Total questions: 15
Worksheet time: 8mins
What core software engineering principle does Modular Prompting follow?
Agile Development
Separation of Concerns
Test-Driven Development
Waterfall Methodology
Which module defines rules, tone, format, length limits?
Persona Module
Task Module
Constraint Module
Example Module
Which layer defines permanent high-level rules (safety, refusal)?
Session Layer
Specific Task Layer
System/Global Layer
Refusal Layer
Primary benefit of Prompt Reuse?
Reduces hallucinations
Ensures consistent behavior
Mandatory for few-shot
Increases context window
T/F: Swapping Persona modules can change output style instantly.
TRUE
FALSE
Which module defines role and expertise?
Constraint Module
Task Module
Data Module
Persona Module
Session/Context Layer primarily defines:
Immediate instruction
Permanent safety rules
Conversation context
Output format
Function of Template Library (Prompt Hub)?
Train models
Central prompt repository
Replace APIs
Auto-generate examples
Standard reusable block of prompt text is called:
Transformer Block
Decoder-only Model
Prompt Module
Context Window
Which module contained product launch details?
Persona Module
Constraint Module
Task Module
Data Module
Answer → critique → corrected answer pattern?
Verification CoT
Self-Correction CoT
Tree-of-Thought
Zero-Shot CoT
Key advantage of Tree-of-Thought (ToT)?
Single linear reasoning
Explores multiple paths
Only arithmetic
No tools required
Three steps in ReAct loop:
Thought, Action, Observation
Question, Answer, Verification
Input, Process, Output
Plan, Execute, Report
T/F: ReAct interleaves reasoning with tools like search/code.
TRUE
FALSE
Pattern that solves multiple times and cross-checks answers?
Self-Correction CoT
Verification CoT
Tree-of-Thought
Zero-Shot CoT
