Technical Skills

Python Developer Test

Assess Python syntax, data structures, functions and common programming patterns.

45 minMedium15 questions15 sections
Python syntaxData structuresFunctionsProgramming patterns

Topics covered

Async I/OBackground JobsTransactionsPython SemanticsMemoryConcurrencyData AccessFile ProcessingException HandlingLoggingAPI BoundariesRate LimitsTestingImplementationProduction Incident

Sample questions

A preview from the supplied content for this template. Use it as a reference when building your test.

Async I/OMid-level

An async API endpoint contains: async def get_customer(customer_id): response = requests.get(f"https://service/customers/{customer_id}") return response.json() Under load, unrelated requests stall. Explain why and redesign it.

Background JobsMid-level

A worker processes an uploaded invoice, writes rows to the database and sends a confirmation email. The queue can deliver the job more than once. Design an idempotent workflow.

TransactionsMid-level

A Python service creates an order, decrements inventory and records payment in three separate commits. Explain the failure modes and redesign the transaction boundaries, including the external payment call.

Python SemanticsMid-level

Review: def add_tag(tag, tags=[]): tags.append(tag) return tags Explain the production bug this can create, fix it and add tests.

The supplied content includes 11 more questions.

Use Python Developer Test as your starting point.

Review this preview, then create a test that matches your candidates, employees or learners.

Use This Template