
Easy level
This level has a single operation per question and the terms are at most 4 digits (including decimals).
All answers have 4 digits or less. This is (much) simpler than a real trading test. If you want you can
also try this level as a test (posts to
!) or set up a
custom exercise.
}
elseif( $_GET['quickselect'] == 'math_medium' )
{
$level = "Medium";
$_GET['maxTermLength'] = 5;
$_GET['maxTermDecimalLength'] = 4;
$_GET['maxAnswerLength'] = 5;
$_GET['maxAnswerDecimalLength'] = 4;
$_GET['minOperations'] = 1;
$_GET['maxOperations'] = 4;
?>
Medium level
This level has a maximum of 4 operations per question and all terms are at most 5 digits including the decimal part.
All answers have 5 digits or less. This is about the level of some trading tests. If you want you can also try this
level as a test (posts to
!) or set up a
custom exercise.
}
elseif( $_GET['quickselect'] == 'math_hard' )
{
$level = "Hard";
$_GET['maxTermLength'] = 6;
$_GET['maxTermDecimalLength'] = 5;
$_GET['maxAnswerLength'] = 6;
$_GET['maxAnswerDecimalLength'] = 5;
$_GET['minOperations'] = 3;
$_GET['maxOperations'] = 4;
?>
Hard level
This level has a maximum of 6 operations per question and all terms are at most 6 digits including the decimal part.
All answers have 5 digits or less. This is beyond the level of most trading tests. If you want you can also try this
level as a test (posts to
!) or set up a
custom exercise.
}
else
{
$generateTest = false;
echo 'Invalid quick select: ' . $_GET['quickselect'];
}
}
// Clean start default variables
if( ! isset( $_GET['posted'] ) )
{
$_GET['useNegativeVariables'] = 'on';
$_GET['optimizeSolvability'] = 'on';
$_GET['preventTooSimple'] = 'on';
$_GET['showSetup'] = 'on';
}
// Generate test?
if( $generateTest )
{
// Normalize values
if( ! isset( $_GET['questionCount'] ) ||
! is_numeric( $_GET['questionCount'] ) ||
$_GET['questionCount'] <= 0 ||
$_GET['questionCount'] > 250 )
{
$_GET['questionCount'] = 80;
}
if( ! isset( $_GET['maxTermLength'] ) ||
! is_numeric( $_GET['maxTermLength'] ) ||
$_GET['maxTermLength'] <= 0 ||
$_GET['maxTermLength'] > 20 )
{
$_GET['maxTermLength'] = 6;
}
if( ! isset( $_GET['maxTermDecimalLength'] ) ||
! is_numeric( $_GET['maxTermDecimalLength'] ) ||
$_GET['maxTermDecimalLength'] <= 0 ||
$_GET['maxTermDecimalLength'] > 20 )
{
$_GET['maxTermDecimalLength'] = 3;
}
if( ! isset( $_GET['maxAnswerLength'] ) ||
! is_numeric( $_GET['maxAnswerLength'] ) ||
$_GET['maxAnswerLength'] <= 0 ||
$_GET['maxAnswerLength'] > 20 )
{
$_GET['maxAnswerLength'] = 4;
}
if( ! isset( $_GET['maxAnswerDecimalLength'] ) ||
! is_numeric( $_GET['maxAnswerDecimalLength'] ) ||
$_GET['maxAnswerDecimalLength'] < 0 ||
$_GET['maxAnswerDecimalLength'] > 20 )
{
$_GET['maxAnswerDecimalLength'] = 3;
}
if( ! isset( $_GET['minOperations'] ) ||
! is_numeric( $_GET['minOperations'] ) ||
$_GET['minOperations'] <= 0 ||
$_GET['minOperations'] > 9 )
{
$_GET['minOperations'] = 1;
}
if( ! isset( $_GET['maxOperations'] ) ||
! is_numeric( $_GET['maxOperations'] ) ||
$_GET['maxOperations'] <= 0 ||
$_GET['maxOperations'] > 9 )
{
$_GET['maxOperations'] = 4;
}
if( $_GET['minOperations'] > $_GET['maxOperations'] )
{
$_GET['minOperations'] = 1;
$_GET['maxOperations'] = 4;
}
if( ! isset( $_GET['mode'] ) ||
( //$_GET['mode'] != 'exam' &&
$_GET['mode'] != 'test' &&
$_GET['mode'] != 'practice' ) )
{
$_GET['mode'] = 'practice';
}
if( ! isset( $_GET['useVariableInteger'] ) &&
! isset( $_GET['useVariableDouble'] ) )
{
$_GET['useVariableInteger'] = 'on';
$_GET['useVariableDouble'] = 'on';
}
if( ! isset( $_GET['useOperatorAdd'] ) &&
! isset( $_GET['useOperatorSubtract'] ) &&
! isset( $_GET['useOperatorMultiply'] ) &&
! isset( $_GET['useOperatorDivide'] ) )
{
$_GET['useOperatorAdd'] = 'on';
$_GET['useOperatorSubtract'] = 'on';
$_GET['useOperatorMultiply'] = 'on';
$_GET['useOperatorDivide'] = 'on';
}
// FIXME this prevent do..while deadlocks below but it's not nice
if( ! isset( $_GET['useVariableInteger'] ) &&
isset( $_GET['useVariableDouble'] ) &&
! isset( $_GET['useVariableFactor'] ) &&
! isset( $_GET['useOperatorAdd'] ) &&
! isset( $_GET['useOperatorSubtract'] ) &&
isset( $_GET['useOperatorMultiply'] ) &&
! isset( $_GET['useOperatorDivide'] ) &&
! isset( $_GET['optimizeSolvability'] ) )
{
die( 'Impossible combination to guarantee easy exercises, disable optimizeSolvability if you really want this.' );
}
// Show setup?
if( isset( $_GET['showSetup'] ) )
{
?>
Set up exercise
Scoring
You get one point for every correct answer. Deduct one point for each error. If you skip a question or run out of time in a timed test, all following questions are not used in your score. Time yourself to 6 seconds per question. Generally you need to pass 55 out of 80 questions or ~70% of the maximum score, but higher is always better.
Manual
The answer to the test will be printed right next to it in the site's background color. You can use CTRL+A, Command+A or use
the mouse to select all text on this page.
Questions
| 1) |
91.1 * 9 |
819.9 |
| 2) |
-0.06 - 7 |
-7.06 |
| 3) |
7 / 8 |
0.875 |
| 4) |
7.2 / 8 |
0.9 |
| 5) |
-8 - 447 |
-455 |
| 6) |
11 / 4 |
2.75 |
| 7) |
953 * 3 |
2859 |
| 8) |
809 - 2 |
807 |
| 9) |
0.4 - 6 |
-5.6 |
| 10) |
0.636 + 0.3 |
0.936 |
| 11) |
-50 + 437 |
387 |
| 12) |
69 - 2 |
67 |
| 13) |
780 / 4 |
195 |
| 14) |
4 * -36 |
-144 |
| 15) |
0.024 + 0.008 |
0.032 |
| 16) |
0.02 - -5 |
5.02 |
| 17) |
8 + 0.035 |
8.035 |
| 18) |
-0.09 * -245 |
22.05 |
| 19) |
8 - 0.14 |
7.86 |
| 20) |
8 + -0.2 |
7.8 |
| 21) |
902 + 26 |
928 |
| 22) |
-0.194 * 5 |
-0.97 |
| 23) |
5 - 0.948 |
4.052 |
| 24) |
-2 + 7701 |
7699 |
| 25) |
-1 - -6.467 |
5.467 |
| 26) |
-7 * 39 |
-273 |
| 27) |
0.4 * -4 |
-1.6 |
| 28) |
-35 - -24 |
-11 |
| 29) |
767 + -63 |
704 |
| 30) |
9 * 0.31 |
2.79 |
| 31) |
729 * 8 |
5832 |
| 32) |
57 - 91 |
-34 |
| 33) |
298 + 5 |
303 |
| 34) |
18 - 0.03 |
17.97 |
| 35) |
2 + 6366 |
6368 |
| 36) |
3 - 5.7 |
-2.7 |
| 37) |
-347 - -44 |
-303 |
| 38) |
9 * 0.717 |
6.453 |
| 39) |
6 - -6 |
12 |
| 40) |
-92 + 238 |
146 |
| 41) |
-3 * 8 |
-24 |
| 42) |
0.37 * 53 |
19.61 |
| 43) |
-694 - 2 |
-696 |
| 44) |
526 - 9.7 |
516.3 |
| 45) |
-0.65 / -0.1 |
6.5 |
| 46) |
-3.6 + -7 |
-10.6 |
| 47) |
86 + 17 |
103 |
| 48) |
45 - -46 |
91 |
| 49) |
5 + -0.02 |
4.98 |
| 50) |
-0.005 / -0.02 |
0.25 |
| 51) |
-0.04 + 8 |
7.96 |
| 52) |
-18 / -5 |
3.6 |
| 53) |
6572 + 7 |
6579 |
| 54) |
-0.022 - -0.1 |
0.078 |
| 55) |
30 - -15.4 |
45.4 |
| 56) |
6 - 310 |
-304 |
| 57) |
0.06 * 1466 |
87.96 |
| 58) |
24 - 4 |
20 |
| 59) |
693 / -0.7 |
-990 |
| 60) |
4092 + 3 |
4095 |
| 61) |
67.2 / 6 |
11.2 |
| 62) |
-0.8 + 8 |
7.2 |
| 63) |
3693 + -83 |
3610 |
| 64) |
70 / -4 |
-17.5 |
| 65) |
-0.56 * 7 |
-3.92 |
| 66) |
0.7 + 0.001 |
0.701 |
| 67) |
5 - 0.08 |
4.92 |
| 68) |
7731 - -3 |
7734 |
| 69) |
0.7 * 3 |
2.1 |
| 70) |
22.2 + 0.45 |
22.65 |
| 71) |
2 * 240 |
480 |
| 72) |
-0.08 - 8.65 |
-8.73 |
| 73) |
2 * 89 |
178 |
| 74) |
9 + 1209 |
1218 |
| 75) |
-0.003 - -0.68 |
0.677 |
| 76) |
2 - -57.8 |
59.8 |
| 77) |
0.96 - -0.004 |
0.964 |
| 78) |
0.645 + 0.052 |
0.697 |
| 79) |
9 - 6 |
3 |
| 80) |
58 + 8857 |
8915 |
|
|
Quick links:
Practice:
Easy |
Medium |
Hard
Test:
Easy |
Medium |
Hard
Customized