All quizzes
Free quiz · 28 questions in the bank

Code Review quiz

Test your Code Review knowledge with a free interactive quiz — 28 questions with answers and explanations. No signup needed to play.

Question 1/5Score 0

What is "bikeshedding" in a code review?

Questions in this quiz
  1. What is "bikeshedding" in a code review?
  2. A reviewer notices a locally-scoped variable named `event` shadows an outer import also named `event`, with no functional bug resulting. How should this be flagged?
  3. What is the primary purpose of code review?
  4. Why should a reviewer care whether a change could leak one user's data to another, even if the PR's stated goal is unrelated (e.g. a UI tweak)?
  5. A PR handler receives `req.body.userId` and uses it directly in a SQL query string via concatenation. What should the reviewer flag, and how urgently?
  6. A PR adds a webhook handler that processes payment events without verifying the webhook signature. How should a reviewer categorize this comment?
  7. Why does fast review turnaround (e.g. a first pass within a day) matter for team velocity?
  8. A comment thread on a PR has gone back and forth five times between the author and reviewer without resolving. What is the recommended next step?
  9. A reviewer disagrees with an author's architectural choice but is not fully certain their alternative is better. What is the most constructive way to phrase the comment?
  10. What is the benefit of a reviewer leaving a positive comment on a good decision in the diff, alongside their critical comments?
  11. Why is explaining the reasoning behind a requested change usually more effective than just stating the verdict?
  12. What is the etiquette risk of leaving a PR with no response at all -- neither approval, comments, nor "changes requested"?
Gaps to close?
Read the curated Code Review notes — core concepts, patterns, interview prep.
Code Review notes

More quizzes

.NET.NET MAUIAbsintheAccessibilityActixActix Web