Skip to main content

TestGorilla Computational Thinking Test: The Four Skills, Worked Examples and Tips

TestGorilla’s Computational Thinking test gives you 10 minutes of short scenarios on breaking problems into steps, spotting patterns, choosing efficient methods and abstraction. There is no code in it.

Practise TestGorilla Computational Thinking

TestGorilla Computational Thinking is in the TestGorilla unlock: £15 for all 17 tests, one-time payment, no subscription. Or try TestGorilla Numerical Reasoning free first.

What you do
Answer multiple-choice scenarios about solving problems step by step. No programming.
Skills
Pattern recognition, algorithms, decomposition and abstraction.
Questions
Not published.
Time limit
10 minutes for the whole test.
Pass mark
None. TestGorilla reports a percentile against everyone who has taken the test; the employer sets its own bar.
Adjustments
Extra time on request at setup: 20% if you are not fluent in the test language, 50% for a condition affecting memory or concentration, 70% for both.

How the Computational Thinking test works

The test runs on one 10-minute clock, rated Intermediate and offered in English. Every question is a short everyday scenario with four options, shown one per screen with no way back.

It covers four skills, tested equally. Decomposition: breaking a task, such as posting a comment on a website, into the steps a system must perform. Pattern recognition: spotting and encoding a repeat, such as a list written as runs. Algorithms: picking the method that solves a problem with the least wasted work. Abstraction: keeping the details that matter and dropping the rest, such as the attributes that different items share.

TestGorilla aims it at software developers, data scientists, machine learning engineers, cybersecurity analysts and financial analysts. The questions test the thinking behind programming, not a language.

How to approach each skill

Each skill has a question to ask yourself before you read the options:

  • Decomposition: what must happen first, and what depends on what? The right breakdown is in the order the system has to do things.
  • Patterns: write the sequence down and mark where each run starts and ends. Options often differ by a single count.
  • Algorithms: which method never repeats work? Look for the one that avoids revisiting a place or re-reading a whole list.
  • Abstraction: what do all the items have in common? The right answer is general enough to cover every case and drops details that only some have.
  • Traces: if a question gives step-by-step rules, run them on paper one step at a time rather than in your head.

Worked examples

Patterns. A cinema stores a row of seats as runs: a count, then F for full or E for empty. The row is F F F E E F E E E E. Which code is right? Options: 3F2E1F4E, 3F3E4E, 3F2E5E, 2F2E1F4E.

Mark the runs: three F, two E, one F, four E. The code is 3F2E1F4E. Check it: 3 + 2 + 1 + 4 = 10, the number of seats in the row. 3F2E5E drops the lone F, the usual slip.

Algorithms. Start with 5 and apply this rule three times: if the number is odd, multiply by 3 and add 1; if it is even, halve it. What do you end with? Options: 2, 4, 8, 16.

Step 1: 5 is odd, so 5 × 3 + 1 = 16. Step 2: 16 is even, so 8. Step 3: 8 is even, so 4. The answer is 4. Stopping one step early gives 8, which is why it is in the list.

Tips for the real Computational Thinking test

  • Pick the option that answers the question asked. Several options are often true statements that do not solve the stated problem.
  • Do not favour the most technical-sounding option. The scenarios reward clear steps, not jargon.
  • Have paper ready for traces and run counts. TestGorilla allows pen and paper.
  • The question count is not published, so check your pace against the clock after the first few questions.
  • Answer before moving on. There is no going back, and a skipped question is marked wrong.

Practise Computational Thinking on CogniPrep

TestGorilla does not publish the question count, so ours is 12 questions on one 10-minute clock, three from each skill, drawn from our own bank of 60 scenarios. One question per screen, no going back and a skip marked wrong. You get a raw percentage and a percentile against CogniPrep players, with harder questions weighted more, plus feedback on each of the four skills.

Questions candidates ask

Do you need to code for the TestGorilla Computational Thinking test?

No. TestGorilla’s preview questions are plain-language scenarios about steps, patterns and methods, with no code to read or write.

How many questions are in the TestGorilla Computational Thinking test?

Not published. You get 10 minutes for the whole test, across all four skills.

Who takes the TestGorilla Computational Thinking test?

TestGorilla suggests it for software developers, data scientists, machine learning engineers, cybersecurity roles and financial analysts.

Is the TestGorilla Computational Thinking test hard?

TestGorilla rates it Intermediate. Most people find the time pressure harder than the ideas, so practise reading a scenario once and answering.

Read next

Other TestGorilla tests explained

Try it before the real thing

Get used to the Computational Thinking format with our practice version before you take the real one. It is part of the TestGorilla unlock.

Practise TestGorilla Computational Thinking