Github Copilot · Free Practice Question Medium
Question 10
GitHub Copilot Chat enhances the development experience by providing AI-powered assistance directly in the IDE. Which of the following best describes its key capabilities and limitations?
-
A
GitHub Copilot Chat can explain code, suggest fixes, and generate documentation, but it cannot execute code directly within the chat interface.
-
B
GitHub Copilot Chat can generate code based on conversational prompts but does not consider the context of the open file in the IDE.
-
C
GitHub Copilot Chat provides explanations for error messages, but it cannot suggest alternative solutions for debugging.
-
D
GitHub Copilot Chat requires a GitHub Copilot Individual subscription and is not available for GitHub Copilot Business users.
Reveal correct answer
Correct answer: A
A.
GitHub Copilot Chat offers context-aware suggestions, explanations, and debugging help, but it does not execute code within the chat itself. Instead, it guides developers by offering fixes, refactoring suggestions, and documentation generation.
B.
GitHub Copilot Chat is context-aware, meaning it analyzes the open file, project structure, and prior interactions to provide more relevant code suggestions. The statement incorrectly suggests that it ignores file context.
C.
GitHub Copilot Chat not only explains error messages but also suggests alternative solutions, such as fixing syntax errors, optimizing performance, and modifying logic based on the developer’s intent.
D.
GitHub Copilot Chat is available to GitHub Copilot Business users as well, not just Individual subscribers. This misconception arises from an assumption that advanced features are locked to personal plans.
Discussion
Think the marked answer is wrong, or have a better explanation? Share it below — comments appear after review.
