Flashcardsfor IT Certifications

D3: Input Processing & Prompt Building

GH-300 GitHub Copilot exam practice questions · 10 flashcards

Question
Context gathering?
1 / 10

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

Last updated: · Report an error on this page

Show all 10 Input Processing & Prompt Building practice questions and answers
  1. Context gathering?
    Copilot collects code before/after cursor, open tabs, related files, language, file path.
  2. Fill-in-the-middle (FIM)?
    Uses code before and after the cursor to complete in between.
  3. Neighbouring tabs?
    Open files provide additional context.
  4. Prompt construction?
    Context snippets prioritized and assembled within token limits.
  5. Chat context?
    User message + history + references (#file, selection) + instructions + workspace retrieval.
  6. Retrieval for @workspace?
    Indexes/searches repository to find relevant snippets.
  7. Token limits effect?
    Lower-priority context is truncated.
  8. Content exclusions in context?
    Excluded files aren't used as context.
  9. Instructions files in prompt?
    Automatically added to chat requests.
  10. Scenario: suggestions ignore a helper in another file. Fix?
    Open that file or reference it with #file.