Coding in the AI era practice
Every Coding in the AI era exercise, built from a topic you can open beside it.
101 exercises runs offline
All tracks Python 139 JavaScript 184 TypeScript 76 Go 106 Rust 75 Java 81 Kotlin 66 C++ 92 C# 88 Swift 68 PHP 69 Frontend 82 Backend 139 Architecture and system design 25 DevOps and cloud 15 Data and databases 5 Data science 31 AI and LLM engineering 75 Security 26 Game development 26 Coding in the AI era 101 CS foundations 164
level
ai Quiz new An indexed excerpt and the current file disagree just before an edit. What should the age… Select and refresh repository context so an agent reasons from relevant code, constraints, and current evidence. ai Quiz new A test fails in `checkout()`, and the assertion concerns jurisdiction rounding. Which exp… Select and refresh repository context so an agent reasons from relevant code, constraints, and current evidence. ai Quiz new Which information should survive context compaction in a long agent session? Select and refresh repository context so an agent reasons from relevant code, constraints, and current evidence. ai Predict the output new What does this bounded context selector print? Select and refresh repository context so an agent reasons from relevant code, constraints, and current evidence. ai Review AI code new Review a generated context loader Select and refresh repository context so an agent reasons from relevant code, constraints, and current evidence. ai Spot the bug new Spot the bug in context collection Select and refresh repository context so an agent reasons from relevant code, constraints, and current evidence. ai Quiz new Which MCP surface best fits an agent that only needs to inspect TypeScript source under s… Write AGENTS.md and CLAUDE.md guidance and expose scoped tools through MCP so agents follow repository-specific rules. ai Quiz new Which entry belongs in a repository instruction file? Write AGENTS.md and CLAUDE.md guidance and expose scoped tools through MCP so agents follow repository-specific rules. ai Quiz new A CLAUDE.md says never to deploy to production. What makes that boundary dependable? Write AGENTS.md and CLAUDE.md guidance and expose scoped tools through MCP so agents follow repository-specific rules. ai Predict the output new What does this path check print? Write AGENTS.md and CLAUDE.md guidance and expose scoped tools through MCP so agents follow repository-specific rules. ai Review AI code new Review a generated scoped source tool Write AGENTS.md and CLAUDE.md guidance and expose scoped tools through MCP so agents follow repository-specific rules. ai Spot the bug new Spot the bug in the MCP source reader Write AGENTS.md and CLAUDE.md guidance and expose scoped tools through MCP so agents follow repository-specific rules. ai Quiz new Which step is most useful in an executable agent plan for an expired-session bug? Turn a coding goal into bounded steps, checkpoints, and stopping conditions an agent can execute and you can inspect. ai Quiz new Which rule best detects that an agent repair loop is no longer making progress? Turn a coding goal into bounded steps, checkpoints, and stopping conditions an agent can execute and you can inspect. ai Quiz new An agent discovers that the repair needs a database migration, which the task contract ex… Turn a coding goal into bounded steps, checkpoints, and stopping conditions an agent can execute and you can inspect. ai Predict the output new What does this checkpoint controller print? Turn a coding goal into bounded steps, checkpoints, and stopping conditions an agent can execute and you can inspect. ai Review AI code new Review a generated plan executor Turn a coding goal into bounded steps, checkpoints, and stopping conditions an agent can execute and you can inspect. ai Spot the bug new Spot the bug in checkpoint recording Turn a coding goal into bounded steps, checkpoints, and stopping conditions an agent can execute and you can inspect. ai Quiz new An agent says a parser fix is complete. Which record most strongly supports accepting it? Decide when uncertainty, sensitivity, cost, or weak verification makes direct human work or simpler automation safer. ai Quiz new Eight hundred CSV files need the same fully specified header normalization. What is the b… Decide when uncertainty, sensitivity, cost, or weak verification makes direct human work or simpler automation safer. ai Quiz new Which task should remain human-led until an accountable owner makes a decision? Decide when uncertainty, sensitivity, cost, or weak verification makes direct human work or simpler automation safer. ai Predict the output new What does this boundary selector print? Decide when uncertainty, sensitivity, cost, or weak verification makes direct human work or simpler automation safer. ai Review AI code new Review a generated boundary selector Decide when uncertainty, sensitivity, cost, or weak verification makes direct human work or simpler automation safer. ai Spot the bug new Spot the bug in the agent-use boundary Decide when uncertainty, sensitivity, cost, or weak verification makes direct human work or simpler automation safer. ai Quiz new A retry policy ignores its limit for status 503. Which check best separates an off-by-one… Use an AI pair to form hypotheses, design discriminating checks, and follow runtime evidence to a root cause. ai Quiz new When does a new regression check provide the strongest evidence for a proposed fix? Use an AI pair to form hypotheses, design discriminating checks, and follow runtime evidence to a root cause. ai Quiz new Which statement is a runtime observation rather than an inference? Use an AI pair to form hypotheses, design discriminating checks, and follow runtime evidence to a root cause. ai Predict the output new What does this generated conversion print? Use an AI pair to form hypotheses, design discriminating checks, and follow runtime evidence to a root cause. ai Review AI code new Review a generated profile diagnostic Use an AI pair to form hypotheses, design discriminating checks, and follow runtime evidence to a root cause. ai Spot the bug new Spot the bug in the diagnostic wrapper Use an AI pair to form hypotheses, design discriminating checks, and follow runtime evidence to a root cause. ai Quiz new A task needs one networked package download. Which approval is safest? How coding agents read code, call tools, react to execution results, and stay bounded by permissions and verification evidence. ai Quiz new Which result is the strongest evidence that a bounded bug-fix task is complete? How coding agents read code, call tools, react to execution results, and stay bounded by permissions and verification evidence. ai Predict the output new What does this controller print? How coding agents read code, call tools, react to execution results, and stay bounded by permissions and verification evidence. ai Review AI code new Review a generated context builder How coding agents read code, call tools, react to execution results, and stay bounded by permissions and verification evidence. ai Spot the bug new Spot the bug in the tool executor How coding agents read code, call tools, react to execution results, and stay bounded by permissions and verification evidence. ai Quiz new When is an AI coding CLI suitable for a CI job that creates a draft patch? Bound AI coding tasks by directory, context, and permission, then verify delivery with reproducible commands, diffs, and exit codes. ai Quiz new Why should an AI coding CLI wrapper set its working directory explicitly? Bound AI coding tasks by directory, context, and permission, then verify delivery with reproducible commands, diffs, and exit codes. ai Predict the output new What does this evidence check print? Bound AI coding tasks by directory, context, and permission, then verify delivery with reproducible commands, diffs, and exit codes. ai Review AI code new Review a generated CLI automation runner Bound AI coding tasks by directory, context, and permission, then verify delivery with reproducible commands, diffs, and exit codes. ai Spot the bug new Spot the bug in the CLI wrapper Bound AI coding tasks by directory, context, and permission, then verify delivery with reproducible commands, diffs, and exit codes. ai Quiz new A generated edit depends on an exact public function signature. Which context choice is s… How AI IDEs assemble editor context, model suggestions, and local tools, and how to bound and verify generated changes. ai Quiz new The model proposes a patch against code you changed manually two minutes ago. What should… How AI IDEs assemble editor context, model suggestions, and local tools, and how to bound and verify generated changes. ai Predict the output new Which paths does this bounded context picker print? How AI IDEs assemble editor context, model suggestions, and local tools, and how to bound and verify generated changes. ai Review AI code new Review a generated AI IDE task runner How AI IDEs assemble editor context, model suggestions, and local tools, and how to bound and verify generated changes. ai Spot the bug new Spot the bug in the IDE bridge How AI IDEs assemble editor context, model suggestions, and local tools, and how to bound and verify generated changes. ai Quiz new Why ask to keep delivery behind an injected callable? Name interfaces, invariants, failure modes, and code structures precisely enough to request the intended change. ai Quiz new Which wording defines a reviewable failure contract? Name interfaces, invariants, failure modes, and code structures precisely enough to request the intended change. ai Quiz new Which request most precisely preserves a function interface? Name interfaces, invariants, failure modes, and code structures precisely enough to request the intended change. ai Predict the output new What does this contract-focused example print? Name interfaces, invariants, failure modes, and code structures precisely enough to request the intended change. ai Review AI code new Review a generated receipt sender Name interfaces, invariants, failure modes, and code structures precisely enough to request the intended change. ai Spot the bug new Spot the bug in seat reservation Name interfaces, invariants, failure modes, and code structures precisely enough to request the intended change. ai Quiz new An agent adds one approved direct package. Which evidence best checks what will actually … Check generated code with independent evidence and trace copied patterns, dependencies, and licenses before shipping. ai Quiz new A file matches the SHA-256 digest in its reviewed source record. What does that observati… Check generated code with independent evidence and trace copied patterns, dependencies, and licenses before shipping. ai Quiz new Which expected value is the most independent oracle for a generated timeout parser? Check generated code with independent evidence and trace copied patterns, dependencies, and licenses before shipping. ai Predict the output new What does this candidate print for an input whose unit suffix should be rejected? Check generated code with independent evidence and trace copied patterns, dependencies, and licenses before shipping. ai Review AI code new Review a generated release verifier Check generated code with independent evidence and trace copied patterns, dependencies, and licenses before shipping. ai Spot the bug new Spot the bug in source approval Check generated code with independent evidence and trace copied patterns, dependencies, and licenses before shipping. ai Quiz new A focused test passes, the required lint command exits 1, and the required build cannot r… State scope, non-goals, compatibility limits, and acceptance commands in prompts that bound generated changes. ai Quiz new Which prompt most clearly bounds a generated change? State scope, non-goals, compatibility limits, and acceptance commands in prompts that bound generated changes. ai Predict the output new What does this edit-scope check print? State scope, non-goals, compatibility limits, and acceptance commands in prompts that bound generated changes. ai Review AI code new Review a generated bounded path change State scope, non-goals, compatibility limits, and acceptance commands in prompts that bound generated changes. ai Spot the bug new Spot the bug in the timeout fallback State scope, non-goals, compatibility limits, and acceptance commands in prompts that bound generated changes. ai Quiz new Why include an archived document owned by an administrator in the permission examples? Use representative inputs, desired outputs, and counterexamples to disambiguate a coding request. ai Quiz new The only example says stock 4 with reorderAt 8 returns reorder. Which case best rejects a… Use representative inputs, desired outputs, and counterexamples to disambiguate a coding request. ai Quiz new A parser prompt gives examples for canonical digits but says nothing about surrounding wh… Use representative inputs, desired outputs, and counterexamples to disambiguate a coding request. ai Predict the output new What decisions does the specified inventory rule print? Use representative inputs, desired outputs, and counterexamples to disambiguate a coding request. ai Review AI code new Review a generated customer export Use representative inputs, desired outputs, and counterexamples to disambiguate a coding request. ai Spot the bug new Spot the bug in inventory checks Use representative inputs, desired outputs, and counterexamples to disambiguate a coding request. ai Quiz new Which pair best specifies the phrase “standard shipping is free at €50 or more”? Express behavior, boundaries, and acceptance criteria in examples and checks an agent can execute. ai Quiz new Which executable property rules out both too few and unnecessarily many pages? Express behavior, boundaries, and acceptance criteria in examples and checks an agent can execute. ai Predict the output new What does this boundary check print? Express behavior, boundaries, and acceptance criteria in examples and checks an agent can execute. ai Review AI code new Review a generated shipping specification Express behavior, boundaries, and acceptance criteria in examples and checks an agent can execute. ai Spot the bug new Spot the bug in shipping checks Express behavior, boundaries, and acceptance criteria in examples and checks an agent can execute. ai Quiz new Which test is the most independent evidence for a generated sorting refactor? Review generated diffs across files for correctness, edge cases, maintainability, and unintended behavior. ai Quiz new A generated change replaces a Boolean return value with { ok, value }. What is the strong… Review generated diffs across files for correctness, edge cases, maintainability, and unintended behavior. ai Predict the output new What does this generated pagination helper print for a zero limit? Review generated diffs across files for correctness, edge cases, maintainability, and unintended behavior. ai Review AI code new Review a generated customer email update Review generated diffs across files for correctness, edge cases, maintainability, and unintended behavior. ai Spot the bug new Spot the bug in reservation callers Review generated diffs across files for correctness, edge cases, maintainability, and unintended behavior. ai Quiz new A generated refactor adds a new webhook that can schedule refunds. What is the strongest … Threat-model generated changes and check trust boundaries, secrets, dependencies, input handling, and authorization. ai Quiz new A generated change adds a familiar-looking package for a small helper. Which evidence bes… Threat-model generated changes and check trust boundaries, secrets, dependencies, input handling, and authorization. ai Quiz new A real API token was pasted into a model prompt and then removed from the generated fixtu… Threat-model generated changes and check trust boundaries, secrets, dependencies, input handling, and authorization. ai Predict the output new What does this object-level authorization check print for the cross-tenant request? Threat-model generated changes and check trust boundaries, secrets, dependencies, input handling, and authorization. ai Review AI code new Review a generated export scheduler Threat-model generated changes and check trust boundaries, secrets, dependencies, input handling, and authorization. ai Spot the bug new Spot the bug in the profile handler Threat-model generated changes and check trust boundaries, secrets, dependencies, input handling, and authorization. ai Quiz new A candidate delta is -1 percentage point, the allowed regression is -2 points, and the co… Build representative cases, scoring rules, and regression thresholds for nondeterministic LLM features. ai Quiz new Before an LLM judge blocks releases, what is the most useful calibration step? Build representative cases, scoring rules, and regression thresholds for nondeterministic LLM features. ai Quiz new Which evaluation-set design gives the strongest release evidence for a customer-support a… Build representative cases, scoring rules, and regression thresholds for nondeterministic LLM features. ai Predict the output new What does this release gate print? Build representative cases, scoring rules, and regression thresholds for nondeterministic LLM features. ai Review AI code new Review a generated eval runner Build representative cases, scoring rules, and regression thresholds for nondeterministic LLM features. ai Spot the bug new Spot the bug in the eval aggregator Build representative cases, scoring rules, and regression thresholds for nondeterministic LLM features. ai Quiz new An agent is replacing a parser behind a stable public function. Which assertion is the mo… Design focused tests that constrain implementation choices, expose regressions, and make agent work auditable. ai Quiz new Which observation most directly shows that a new regression test guards the reported defe… Design focused tests that constrain implementation choices, expose regressions, and make agent work auditable. ai Predict the output new What does this focused boundary check print? Design focused tests that constrain implementation choices, expose regressions, and make agent work auditable. ai Review AI code new Review a generated test gate Design focused tests that constrain implementation choices, expose regressions, and make agent work auditable. ai Spot the bug new Spot the bug in authorization tests Design focused tests that constrain implementation choices, expose regressions, and make agent work auditable. ai Quiz new A repository search finds no retry code in the order service package. Which conclusion is… Trace entry points, data flow, side effects, and invariants to build a fast, testable model of unfamiliar code. ai Quiz new You need to learn what handles POST /orders in production. Which evidence is the stronges… Trace entry points, data flow, side effects, and invariants to build a fast, testable model of unfamiliar code. ai Quiz new A comment says order cancellation is idempotent. What is the best next check? Trace entry points, data flow, side effects, and invariants to build a fast, testable model of unfamiliar code. ai Predict the output new What does this focused data-flow trace print? Trace entry points, data flow, side effects, and invariants to build a fast, testable model of unfamiliar code. ai Review AI code new Review a generated cancellation handler Trace entry points, data flow, side effects, and invariants to build a fast, testable model of unfamiliar code. ai Spot the bug new Spot the bug in the order handler Trace entry points, data flow, side effects, and invariants to build a fast, testable model of unfamiliar code.
No practice items match these filters.