Flashcardsfor IT Certifications

D4: Prompt Engineering Principles & Chat History

GH-300 GitHub Copilot exam practice questions · 10 flashcards

Question
Prompt engineering principles?
1 / 10

Tip: Space flips the card, ← / → navigate.

Last updated: · Report an error on this page

Show all 10 Prompt Engineering Principles & Chat History practice questions and answers
  1. Prompt engineering principles?
    Clarity, context, specificity, decomposition, iteration, examples.
  2. Prompt process flow?
    User prompt → context added → proxy → model → filters → response → user refines.
  3. Chat history usage?
    Previous messages included as context for follow-ups.
  4. When to clear history?
    Topic changes or confusing context — start new chat.
  5. Iterative refinement?
    Follow up with corrections rather than starting over.
  6. Chain-of-thought style prompting?
    Ask to reason step by step or outline plan before code.
  7. Decomposition?
    Split big tasks into smaller prompts.
  8. Using comments as prompts?
    Detailed comments above functions guide completions.
  9. Naming for context?
    Descriptive function/variable names improve suggestions.
  10. Scenario: long chat drifting to irrelevant answers. Action?
    Start a new chat/clear history with a focused prompt.