Github Copilot · Free Practice Question Easy
Question 29
You are using GitHub Copilot Chat to assist you with writing and refactoring code. You are curious about the types of inputs that Copilot Chat was designed to handle, and you want to maximize its effectiveness by understanding the different ways you can prompt it. Which of the following is NOT an input type GitHub Copilot Chat was designed to process effectively?
-
A
Natural language queries about general coding practices (e.g., "What is the best way to implement a binary search in Python?").
-
B
Simple coding instructions (e.g., "Write a function to add two numbers").
-
C
Refactoring requests (e.g., "Optimize this code for better performance").
-
D
Visual data input such as images or diagrams.
Reveal correct answer
Correct answer: D
A.
Copilot Chat is capable of understanding natural language questions about coding practices. It can provide advice, explanations, or general information about programming best practices. This makes natural language queries a well-suited input type for Copilot Chat.
B.
GitHub Copilot Chat is designed to handle simple coding instructions, such as asking it to generate functions, classes, or code snippets. It's an essential part of its functionality, making this a valid input type.
C.
Copilot Chat can handle refactoring requests, and it's designed to assist in optimizing and improving code based on performance, readability, or other factors. Therefore, this is an effective input type for Copilot Chat.
D.
This is the correct answer. GitHub Copilot Chat is not designed to handle visual inputs, such as images or diagrams. It works with text-based inputs and does not have the capability to process or interpret visual data. This is a common misconception when comparing Copilot to other AI models that might work with multimodal inputs.
Discussion
Think the marked answer is wrong, or have a better explanation? Share it below — comments appear after review.
