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.