Create assessment
All templates
Job simulations

Algorithmic Reasoning Simulation

Measures computational logic through the analysis of small pseudocode functions: predicting outputs, spotting bugs and judging correctness. Suited for screening developers, software engineers and data professionals regardless of programming language.

Sample questions

Taken from the template itself. Questions with a recorded answer key are left out, so reading this page cannot help anyone pass the test.

As the candidate sees it

Algorithmic Reasoning Simulation

6 questions16 min
  1. 1.Short text

    The fourth function is: function countDown(n): while n > 0: print(n) n = n - 2 return n What value does countDown(5) return at the end?

    Answer with the number only.

  2. 2.Long text

    The fifth function is supposed to reverse a list in place: function reverse(list): n = length(list) for i from 0 to n - 1: temp = list[i] list[i] = list[n - 1 - i] list[n - 1 - i] = temp return list What does reverse([1, 2, 3, 4]) return? Explain why the result is wrong and write the fix.

    Show your reasoning step by step.

  • Shown once you copy the template
  • Shown once you copy the template
  • Shown once you copy the template

4 more questions in the full template.

A man at a desk with a laptop, a drawing tablet and a camera, working through a task.

How this template was made, and what you can check

  • Are these the real questions?

    Yes. The questions on this page are the questions a candidate gets. They are not samples written for the site: they come from the template itself, word for word.

  • Why are some questions missing from this page?

    Any question with a recorded answer key is left out, so that reading this page cannot help anyone pass. The count of what is missing is shown; the questions themselves appear once you copy the template.

  • Which language does the candidate see?

    Every template exists in English and Portuguese. The candidate answers in theirs and you read in yours.

  • Will this template work on my plan?

    Question types are checked against your plan by the database itself, so a template never promises a type your plan cannot run. Building assessments and collecting answers is free; automatic scoring starts on the Starter plan.

  • Can I change the questions?

    Once you copy it, the template is yours: change the wording, drop a question, add your own. None of this is fixed.

  • How fast can I send it?

    Create a free account, copy the template and share the link. The candidate opens it in the browser, with nothing to install.

Use this template on your next opening

Copy the template, change what you want, send a link. Assessly marks each answer, scores it and explains the score.

What comes back to you

Short text

The fourth function is: function countDown(n): while n > 0: print(n) n = n - 2 return n What value does countDown(5) return at the end?

Answer

78

Score

Why this score

The question is real. The answer and the score are drawn as an example of what a review looks like.