Practice vocabulary for AI pair programming: Cursor inline edit mode, asking AI to explain code, AI-proposed refactors, working alongside AI, and AI-assisted debugging.
0 / 25 completed
1 / 25
A developer says: 'I used Cursor's ___ edit mode to fix that loop in place.' What feature are they describing?
Cursor's inline edit mode lets you request AI edits that are applied directly within your open file, highlighted as a diff you can accept or reject.
2 / 25
You highlight a function and type: '___ this code to me.' What command are you giving the AI?
'Explain this code to me' is a core AI pair programming command that produces a plain-language description of what a selection of code does, its inputs, outputs, and side effects.
3 / 25
After a session a developer says: 'The AI proposed a ___ I hadn't considered.' What did the AI suggest?
'The AI proposed a refactor I hadn't considered' means the AI suggested restructuring code — extracting a function, simplifying logic, or applying a pattern — that the developer had not planned.
4 / 25
Your team adopts a 'working ___ AI' model. What does this phrase emphasise about the collaboration?
'Working alongside AI' emphasises a collaborative model where the developer and the AI tool each contribute — the developer sets intent and reviews, while the AI generates and suggests.
5 / 25
A colleague says: 'We used AI-assisted ___ to find the root cause faster.' What activity are they describing?
AI-assisted debugging means using an AI tool to help narrow down the cause of a defect — for example, by explaining an error message, suggesting breakpoints, or proposing a fix.
6 / 25
Sarah: 'I'm getting a lot of pushback on this PR. The reviewers are saying the generated SQL query is overly complex and doesn't follow our established naming conventions. I asked the AI to simplify it, but it just re-formatted the existing query with slightly different whitespace.'
What best describes Sarah's frustration?
Sarah is frustrated because the AI failed to truly *understand* the problem. It simply applied a cosmetic change (whitespace formatting) without addressing the fundamental concerns about complexity and adherence to naming conventions. This highlights a common issue: AIs can generate syntactically correct code but often lack the contextual awareness needed for effective, maintainable solutions in a professional development environment. Therefore, blindly accepting AI output without critical evaluation is a key area of concern.
7 / 25
During a code review of a new microservice API endpoint, Alex comments in the PR description: 'The AI suggested using a `curl` command to directly test this endpoint. While it worked, I'm concerned about potential security implications and lack of proper logging. Can we explore alternative testing strategies?'
The correct answer highlights a valid concern about using AI-generated commands without proper consideration for security and testing best practices. The key issue isn't simply the use of `curl` itself (which can be appropriate in certain contexts), but Alex's apprehension regarding authentication and logging – common pitfalls when blindly trusting AI suggestions. Options A, C, and D all represent a misunderstanding of the potential risks associated with automated API testing without proper oversight.
8 / 25
Mark: 'I'm struggling to refactor this legacy module. The AI suggested a complete rewrite using a new framework – it's… ambitious. I need something more targeted.'
What is Mark *most* likely trying to achieve by requesting the AI to provide a solution?
Mark isn't looking for a drastic solution; he's acknowledging the AI's suggestion might be overly aggressive. He needs a more focused, iterative approach – something that addresses specific issues within the module rather than attempting a wholesale transformation. This reflects a pragmatic understanding of AI pair programming and its limitations in complex legacy systems.
9 / 25
During a standup update, David says: 'I've been experimenting with the AI pair programming tool to help me debug some performance issues. It suggested several optimizations to my database queries, and I was surprised by how quickly it identified potential bottlenecks.' What is David *most* likely trying to achieve by using the AI in this way?
David's statement highlights his desire to improve efficiency and speed up problem-solving. The AI's suggestion of optimizations directly addresses a common developer concern: performance bottlenecks. He's leveraging the AI for its ability to quickly identify potential issues, which aligns with the goal of streamlining development processes. Option A is incorrect as it focuses on over-reliance without acknowledging the AI's role; options B and D are less relevant to his stated objective.
10 / 25
Liam: 'I'm trying to generate some unit tests for this function. The AI suggested a few, but they're all testing the same edge case – the input being zero. It feels like it's not really thinking about the broader scenarios.' What is Liam primarily expressing concern about regarding the AI-generated test cases?
Liam is concerned about the AI's lack of broader thinking when generating test cases. The AI, at this stage, likely isn't considering all possible input combinations and edge cases that a human developer would naturally identify during testing. This highlights the importance of human oversight – AI can generate suggestions, but critical evaluation remains crucial for robust test coverage.
11 / 25
Sarah: 'I'm getting a lot of pushback on this PR. The reviewers are saying the generated SQL query is overly complex and doesn't follow our established naming conventions. I asked the AI to simplify it, but it just re-formatted the existing query with slightly different whitespace.'
What best describes Sarah's frustration?
Sarah is frustrated because the AI failed to truly *understand* the problem. It simply applied a cosmetic change (whitespace formatting) without addressing the fundamental concerns about complexity and adherence to naming conventions. This highlights a common issue: AIs can generate syntactically correct code but often lack the contextual awareness needed for effective, maintainable solutions in a professional development environment. Therefore, blindly accepting AI output without critical evaluation is a key area of concern.
12 / 25
During a code review of a new microservice API endpoint, Alex comments in the PR description: 'The AI suggested using a `curl` command to directly test this endpoint. While it worked, I'm concerned about potential security implications and lack of proper logging. Can we explore alternative testing strategies?'
The correct answer highlights a valid concern about using AI-generated commands without proper consideration for security and testing best practices. The key issue isn't simply the use of `curl` itself (which can be appropriate in certain contexts), but Alex's apprehension regarding authentication and logging – common pitfalls when blindly trusting AI suggestions. Options A, C, and D all represent a misunderstanding of the potential risks associated with automated API testing without proper oversight.
13 / 25
Mark: 'I'm struggling to refactor this legacy module. The AI suggested a complete rewrite using a new framework – it's… ambitious. I need something more targeted.'
What is Mark *most* likely trying to achieve by requesting the AI to provide a solution?
Mark isn't looking for a drastic solution; he's acknowledging the AI's suggestion might be overly aggressive. He needs a more focused, iterative approach – something that addresses specific issues within the module rather than attempting a wholesale transformation. This reflects a pragmatic understanding of AI pair programming and its limitations in complex legacy systems.
14 / 25
During a standup update, David says: 'I've been experimenting with the AI pair programming tool to help me debug some performance issues. It suggested several optimizations to my database queries, and I was surprised by how quickly it identified potential bottlenecks.' What is David *most* likely trying to achieve by using the AI in this way?
David's statement highlights his desire to improve efficiency and speed up problem-solving. The AI's suggestion of optimizations directly addresses a common developer concern: performance bottlenecks. He's leveraging the AI for its ability to quickly identify potential issues, which aligns with the goal of streamlining development processes. Option A is incorrect as it focuses on over-reliance without acknowledging the AI's role; options B and D are less relevant to his stated objective.
15 / 25
Liam: 'I'm trying to generate some unit tests for this function. The AI suggested a few, but they're all testing the same edge case – the input being zero. It feels like it's not really thinking about the broader scenarios.' What is Liam primarily expressing concern about regarding the AI-generated test cases?
Liam is concerned about the AI's lack of broader thinking when generating test cases. The AI, at this stage, likely isn't considering all possible input combinations and edge cases that a human developer would naturally identify during testing. This highlights the importance of human oversight – AI can generate suggestions, but critical evaluation remains crucial for robust test coverage.
16 / 25
Sarah: 'I'm getting a lot of pushback on this PR. The reviewers are saying the generated SQL query is overly complex and doesn't follow our established naming conventions. I asked the AI to simplify it, but it just re-formatted the existing query with slightly different whitespace.'
What best describes Sarah's frustration?
Sarah is frustrated because the AI failed to truly *understand* the problem. It simply applied a cosmetic change (whitespace formatting) without addressing the fundamental concerns about complexity and adherence to naming conventions. This highlights a common issue: AIs can generate syntactically correct code but often lack the contextual awareness needed for effective, maintainable solutions in a professional development environment. Therefore, blindly accepting AI output without critical evaluation is a key area of concern.
17 / 25
During a code review of a new microservice API endpoint, Alex comments in the PR description: 'The AI suggested using a `curl` command to directly test this endpoint. While it worked, I'm concerned about potential security implications and lack of proper logging. Can we explore alternative testing strategies?'
The correct answer highlights a valid concern about using AI-generated commands without proper consideration for security and testing best practices. The key issue isn't simply the use of `curl` itself (which can be appropriate in certain contexts), but Alex's apprehension regarding authentication and logging – common pitfalls when blindly trusting AI suggestions. Options A, C, and D all represent a misunderstanding of the potential risks associated with automated API testing without proper oversight.
18 / 25
Mark: 'I'm struggling to refactor this legacy module. The AI suggested a complete rewrite using a new framework – it's… ambitious. I need something more targeted.'
What is Mark *most* likely trying to achieve by requesting the AI to provide a solution?
Mark isn't looking for a drastic solution; he's acknowledging the AI's suggestion might be overly aggressive. He needs a more focused, iterative approach – something that addresses specific issues within the module rather than attempting a wholesale transformation. This reflects a pragmatic understanding of AI pair programming and its limitations in complex legacy systems.
19 / 25
During a standup update, David says: 'I've been experimenting with the AI pair programming tool to help me debug some performance issues. It suggested several optimizations to my database queries, and I was surprised by how quickly it identified potential bottlenecks.' What is David *most* likely trying to achieve by using the AI in this way?
David's statement highlights his desire to improve efficiency and speed up problem-solving. The AI's suggestion of optimizations directly addresses a common developer concern: performance bottlenecks. He's leveraging the AI for its ability to quickly identify potential issues, which aligns with the goal of streamlining development processes. Option A is incorrect as it focuses on over-reliance without acknowledging the AI's role; options B and D are less relevant to his stated objective.
20 / 25
Liam: 'I'm trying to generate some unit tests for this function. The AI suggested a few, but they're all testing the same edge case – the input being zero. It feels like it's not really thinking about the broader scenarios.' What is Liam primarily expressing concern about regarding the AI-generated test cases?
Liam is concerned about the AI's lack of broader thinking when generating test cases. The AI, at this stage, likely isn't considering all possible input combinations and edge cases that a human developer would naturally identify during testing. This highlights the importance of human oversight – AI can generate suggestions, but critical evaluation remains crucial for robust test coverage.
21 / 25
Sarah: 'I'm getting a lot of pushback on this PR. The reviewers are saying the generated SQL query is overly complex and doesn't follow our established naming conventions. I asked the AI to simplify it, but it just re-formatted the existing query with slightly different whitespace.'
What best describes Sarah's frustration?
Sarah is frustrated because the AI failed to truly *understand* the problem. It simply applied a cosmetic change (whitespace formatting) without addressing the fundamental concerns about complexity and adherence to naming conventions. This highlights a common issue: AIs can generate syntactically correct code but often lack the contextual awareness needed for effective, maintainable solutions in a professional development environment. Therefore, blindly accepting AI output without critical evaluation is a key area of concern.
22 / 25
During a code review of a new microservice API endpoint, Alex comments in the PR description: 'The AI suggested using a `curl` command to directly test this endpoint. While it worked, I'm concerned about potential security implications and lack of proper logging. Can we explore alternative testing strategies?'
The correct answer highlights a valid concern about using AI-generated commands without proper consideration for security and testing best practices. The key issue isn't simply the use of `curl` itself (which can be appropriate in certain contexts), but Alex's apprehension regarding authentication and logging – common pitfalls when blindly trusting AI suggestions. Options A, C, and D all represent a misunderstanding of the potential risks associated with automated API testing without proper oversight.
23 / 25
Mark: 'I'm struggling to refactor this legacy module. The AI suggested a complete rewrite using a new framework – it's… ambitious. I need something more targeted.'
What is Mark *most* likely trying to achieve by requesting the AI to provide a solution?
Mark isn't looking for a drastic solution; he's acknowledging the AI's suggestion might be overly aggressive. He needs a more focused, iterative approach – something that addresses specific issues within the module rather than attempting a wholesale transformation. This reflects a pragmatic understanding of AI pair programming and its limitations in complex legacy systems.
24 / 25
During a standup update, David says: 'I've been experimenting with the AI pair programming tool to help me debug some performance issues. It suggested several optimizations to my database queries, and I was surprised by how quickly it identified potential bottlenecks.' What is David *most* likely trying to achieve by using the AI in this way?
David's statement highlights his desire to improve efficiency and speed up problem-solving. The AI's suggestion of optimizations directly addresses a common developer concern: performance bottlenecks. He's leveraging the AI for its ability to quickly identify potential issues, which aligns with the goal of streamlining development processes. Option A is incorrect as it focuses on over-reliance without acknowledging the AI's role; options B and D are less relevant to his stated objective.
25 / 25
Liam: 'I'm trying to generate some unit tests for this function. The AI suggested a few, but they're all testing the same edge case – the input being zero. It feels like it's not really thinking about the broader scenarios.' What is Liam primarily expressing concern about regarding the AI-generated test cases?
Liam is concerned about the AI's lack of broader thinking when generating test cases. The AI, at this stage, likely isn't considering all possible input combinations and edge cases that a human developer would naturally identify during testing. This highlights the importance of human oversight – AI can generate suggestions, but critical evaluation remains crucial for robust test coverage.
What will I practice in "AI Pair Programming Vocabulary"?
This is an AI Code Generation Tools exercise set. It walks through 25 scenario-based multiple-choice questions built around real usage of AI Code Generation Tools terminology that IT professionals encounter on the job.
Is this exercise free to use?
Yes. Every exercise on CoderSlingo, including this one, is free to complete with no account, sign-up, or paywall.
How many questions are in this exercise?
This set contains 25 questions. Each one shows immediate feedback and a detailed explanation after you answer, so you learn the correct usage right away rather than waiting for a final score.
Do I need prior experience to complete this exercise?
No prior experience is required. Each question includes a full explanation covering the reasoning behind the correct answer, so the exercise itself teaches the AI Code Generation Tools vocabulary as you go.
Can I retry the exercise if I get questions wrong?
Yes — use the "Try again" button on the results screen to reset your answers and go through all the questions again. There is no limit on attempts.
Is my progress saved?
Your answers and score for the current session are tracked in the browser as you go. No account or login is needed, and there is nothing to install.
What if I don't understand a term used in a question?
Read the explanation shown after you answer each question — it breaks down the correct term in plain English with a real-world example. You can also check the site Glossary for quick definitions.
How is this different from reading a blog article on the topic?
Exercises like this one are interactive drills that test and reinforce specific vocabulary through multiple-choice questions, while blog articles explain concepts in prose. Practising here after reading builds active recall, not just passive recognition.
Where can I find more AI Code Generation Tools exercises?
See the AI Code Generation Tools exercises hub for the full set of related pages, or browse all exercise categories from the main Exercises index.
Can I use this exercise to prepare for a technical interview?
Yes — AI Code Generation Tools vocabulary comes up often in technical discussions and interviews. Pair this exercise with our dedicated Interview Preparation section for role-specific practice.