Mathematics, Computer Science, Natural Sciences demo
A computer-science testlet: a flowchart with a loop and six questions about it.
What this module tests
This module tests whether you can work with formal material under time pressure: follow an algorithm, read a table, apply a formula and reach one exact result. Questions come in testlets, where one input such as a flowchart or a table is followed by several questions that all depend on it. Careful tracing matters more than recalling school facts.
What the demo covers
The subject part of the demo is one testlet of six questions, Subtracting until equal. A flowchart repeats a subtraction loop and counts the passes in a variable K. The easier questions follow a single pass or a short run; the harder ones ask for the output when A = 42 and B = 12, and which input gives K = 4. Each comes with a full worked solution.
Skills to practise
Three habits pay off here. Keep a small trace table with one row per pass, so no value is overwritten in your head. Check the loop condition before every step instead of assuming the pattern continues. Finally, test your answer on a second input, because a procedure that works for one pair of numbers should work for another. These habits also help in the full module, where longer flowcharts and tables appear.
Who it suits
It suits applicants to mathematics, computer science and natural science programmes who want to see how exam-style pseudocode and flowcharts are presented before they commit to a plan.
Sample question
A testlet gives you an input to read, here a flowchart, and asks several questions about it. Trace the flowchart step by step, then pick the output. Questions and solutions are in English.
Subtracting until equal
A flowchart describes a procedure step by step. A rounded box marks the start or the end, a rectangle is a process that carries out the instruction written in it (← assigns a value, so K ← K + 1 increases K by 1), a slanted box reads input values or outputs the values named in it, and a diamond asks a yes-or-no question: the procedure continues along the path marked YES if the answer is yes, otherwise along the path marked NO. Arrows show the order of the steps; a path may lead back to an earlier point, and a dot marks where two paths join.
The flowchart below works on two positive whole numbers A and B. K counts the passes through the loop.
Show the answer and solution
How to use your result
Write out each pass of the loop, then compare your trace with the solution. A wrong output usually means a slip in one step, so note whether you misread an arrow or a condition. Repeat that check in practice. Aim to finish each trace in under a minute once you can spot the pattern, and keep the trace tables from this demo as models for the longer flowcharts you will meet in practice sets.
All four subtests in exam order with 18 short questions, free and without an account.
Frequently asked questions
Do I need programming experience for this demo?
No. The flowchart legend is part of the input, so you only need to follow the steps it describes one at a time.
Which calculation does the flowchart carry out?
It subtracts the smaller number from the larger one until both are equal, which finds their greatest common divisor, while K counts the steps.