Back-end Online Coding Test

  • Junior, senior or expert
  • Question bank or custom questions
  • Updated

A CoderPad back-end coding test is an online test for API and platform candidates that you build in CoderPad Screen, with REST API and database questions from the CoderPad question bank or your own, junior to expert. Questions can include multiple choice, coding exercises, a coding game and free text, all in one scored report.

What can your back-end coding test cover?

The CoderPad question bank includes back-end questions on REST API design, SQL and ORMs, authentication, caching and SQL injection, suited to back-end, API and platform roles. Choose questions in the languages your team uses, such as PHP, Python with Django or Java with Spring, and add your own.

Back-end skills to assess
  • REST API design (status codes, versioning)
  • SQL and ORMs (N+1 queries)
  • Authentication and authorization
  • Caching and message queues
  • Preventing SQL injection
Jobs using back-end
  • Back-end developer
  • API developer
  • Platform engineer
Question typesMultiple choice, coding exercises, coding game, free text
LevelsJunior, Senior, Expert
QuestionsFrom the CoderPad question bank, your own questions, or both
Test lengthSet by the questions you choose

Sign up free to explore the question bank and try the candidate experience

Sample back-end coding question: Find the largest number in a PHP array

Implement the PHP function findLargest so it returns the largest number in the $numbers array. The array always holds at least one number. For example, findLargest(array(7, 17, 13, 19, 5)) returns 19.

<?php
function findLargest(array $numbers) {
  // Your code goes here
}

echo findLargest(array(7, 17, 13, 19, 5)); // 19
?>

What a good solution shows

  • Tracks the largest value in one pass, or calls PHP's max() and says when that is enough.
  • Starts from the first element, not 0, so arrays of negative numbers still work.
  • Keeps the array type hint, a habit back-end reviewers look for in PHP code.

Preview a sample coding test report

How is a back-end coding test scored?

CoderPad Screen auto-grades each candidate's answers and gives you a scored report. The report shows each candidate's strengths and weaknesses and compares their skills with others who took similar assessments.

Code playback shows how each candidate thinks:

  • See how they approach a problem and build their solution.
  • Note areas to explore further in later interviews.
  • Spot questionable or concerning behavior.
Code playback replays how a candidate wrote their answer.

How CoderPad prevents cheating in back-end tests

Plagiarism detection and code playback reveal back-end answers copied from elsewhere. To confirm they understand it, add a video follow-up question that asks them to explain their solution and the main decisions behind it.

  • Code playback

    See how candidates wrote their code or text.

  • Plagiarism detection

    Flags when a previous candidate's exact code is reused.

  • Copy/paste tracking

    Shows when code may have come from elsewhere.

  • AI follow-up questions

    Check candidates understand their code.

How building a back-end coding test works

  1. Build the test

    Pick back-end questions from the CoderPad question bank, write your own, or combine both.

  2. Invite candidates

    Send each candidate a link to the test by email.

  3. Candidates take the test

    They code in the browser, with nothing to install.

  4. Review results

    Read the scored report and watch the code playback.

Create and send coding assessments in 60 seconds, even if you're not techy. Choose the level and the number of questions, and add your own coding exercises whenever you need them.

How do you test back-end skills before hiring?

Start with a back-end coding test, review an API the candidate designed, and finish with a live system design discussion. A list of frameworks on a resume says little about how someone designs an API or protects a database.

Questions to ask and signals to look for at each step:

  • Portfolio

    Ask for an API with an OpenAPI spec, database migrations and integration tests. These show production-ready work.

  • Code on GitHub

    Look for Dockerfiles, background jobs and database error handling.

  • Coding test level

    Use the junior level for developers who build endpoints and the expert level for engineers who design services and data flows.

  • Live interview

    Discuss the N+1 query or Kafka consumer question from CoderPad's back-end interview questions.

How should you screen back-end candidates?

  • Send the back-end test after the recruiter screen and before the system design interview.
  • Choose questions in the languages the role uses, and tell candidates how long to allow.
  • Name the role's languages in the job ad, since a back-end test can cover more than one.

We had no unified approach or tool to assess technical ability. Today, CoderPad Screen enables us to test against a wide selection of languages and is continually updated.

CoderPad code interview all

Trusted by 4,000+ customers worldwide

Security and compliance

  • SSO / SAML

    Okta, Azure AD, Google and other SAML 2.0 providers, on the Enterprise plan.

  • SOC 2 Type 2

    SOC 2 Type 2 report available.

  • GDPR compliant

    GDPR and CCPA compliant.

Read about CoderPad security

Hire back-end developers with CoderPad

Request a demo