Prompt crafting and prompt engineering Questions
Practice questions for Prompt crafting and prompt engineering topic in GitHub Copilot. 17 questions covering this domain.
Which type of custom instruction has the highest precedence when multiple instruction sources apply?
A file matches both a path-specific instruction file and a repository-wide `copilot-instructions.md` file. Which statement is correct?
Which prompt-writing practice does GitHub recommend to improve Copilot Chat output quality?
In prompt engineering, what does zero-shot prompting mean?
Copilot Chat keeps using outdated assumptions from earlier in the conversation. What should you do first?
You want Copilot to migrate an old module, add tests, and update documentation. Which prompting approach is most effective?
Which example best represents few-shot prompting when working with GitHub Copilot?
A developer starts with a vague goal in Copilot Chat. According to prompt-crafting guidance, what is the best next step?
You need Copilot to modernize a legacy module, add tests, and document the changes. Which prompting strategy best matches GitHub guidance?
Which change turns a zero-shot request into a few-shot request?
A prompt says make this better. Which revision best follows GitHub guidance?
Why does good code hygiene improve prompt outcomes with GitHub Copilot?
A long chat keeps dragging old unrelated context into new answers. What is the best corrective action?
You want Copilot to modernize a legacy module, add tests, and update docs. Which approach best matches GitHub guidance?
When personal, repository, and organization instructions all apply, which one has the highest priority?
Which revision best improves a vague prompt such as improve this function?
Which request is an example of few-shot prompting?
Sign in to see all 17 questions
Create a free account to browse all questions — completely free during our launch phase.