
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) |
4 * 74 |
296 |
| 2) |
575 - 0.8 |
574.2 |
| 3) |
0.005 * 2 |
0.01 |
| 4) |
69 - -6715 |
6784 |
| 5) |
-6 - 90.7 |
-96.7 |
| 6) |
9.3 + 920 |
929.3 |
| 7) |
9280 - 144 |
9136 |
| 8) |
-92 + -30 |
-122 |
| 9) |
644 - -24 |
668 |
| 10) |
2 + -3 |
-1 |
| 11) |
1 - -8.4 |
9.4 |
| 12) |
1.38 * 2 |
2.76 |
| 13) |
0.9 + 8 |
8.9 |
| 14) |
9.1 / 0.007 |
1300 |
| 15) |
49 + 0.3 |
49.3 |
| 16) |
-25 - -644 |
619 |
| 17) |
579 * 3 |
1737 |
| 18) |
80.58 - 8 |
72.58 |
| 19) |
0.003 + 2 |
2.003 |
| 20) |
24 - 0.48 |
23.52 |
| 21) |
1 * 8 |
8 |
| 22) |
-981 - -926 |
-55 |
| 23) |
9474 - -20 |
9494 |
| 24) |
0.007 + 1.376 |
1.383 |
| 25) |
647 - 8 |
639 |
| 26) |
-672 / 3.2 |
-210 |
| 27) |
38 + -79 |
-41 |
| 28) |
-132 - -93 |
-39 |
| 29) |
6 / 24 |
0.25 |
| 30) |
44.2 - 32.86 |
11.34 |
| 31) |
-0.196 / 0.08 |
-2.45 |
| 32) |
-0.68 + 6.77 |
6.09 |
| 33) |
-763 - -120 |
-643 |
| 34) |
13 - 686 |
-673 |
| 35) |
2.9 + 59 |
61.9 |
| 36) |
8 - -0.006 |
8.006 |
| 37) |
20 + -68.4 |
-48.4 |
| 38) |
29 + 8 |
37 |
| 39) |
979 / 0.2 |
4895 |
| 40) |
19 * -3 |
-57 |
| 41) |
185 - -48 |
233 |
| 42) |
1 + -3 |
-2 |
| 43) |
-14.92 - -6 |
-8.92 |
| 44) |
0.094 + 1.6 |
1.694 |
| 45) |
6 + 9.02 |
15.02 |
| 46) |
-77.9 + 261 |
183.1 |
| 47) |
-83 * 0.7 |
-58.1 |
| 48) |
0.005 + 6 |
6.005 |
| 49) |
658 * 3 |
1974 |
| 50) |
509 + 86 |
595 |
| 51) |
57 / -2 |
-28.5 |
| 52) |
0.8 + 8 |
8.8 |
| 53) |
27 * 0.58 |
15.66 |
| 54) |
37 + 8 |
45 |
| 55) |
9 - 639 |
-630 |
| 56) |
0.1 - -3 |
3.1 |
| 57) |
61.7 + 9 |
70.7 |
| 58) |
8495 - -98 |
8593 |
| 59) |
8 + 0.13 |
8.13 |
| 60) |
-0.5 + 9.14 |
8.64 |
| 61) |
511 - 24 |
487 |
| 62) |
-0.6 * 570 |
-342 |
| 63) |
7 - -0.52 |
7.52 |
| 64) |
1604 / 2 |
802 |
| 65) |
0.4 - -60 |
60.4 |
| 66) |
2 - 55 |
-53 |
| 67) |
5 + -1.9 |
3.1 |
| 68) |
51 * 8 |
408 |
| 69) |
-0.064 + 1 |
0.936 |
| 70) |
-4.8 + 49 |
44.2 |
| 71) |
4 * -8 |
-32 |
| 72) |
7.59 - 8 |
-0.41 |
| 73) |
536 * 0.006 |
3.216 |
| 74) |
-0.24 - 5 |
-5.24 |
| 75) |
5028 + -3378 |
1650 |
| 76) |
2.713 - -0.003 |
2.716 |
| 77) |
9 - 4 |
5 |
| 78) |
-70 - -980 |
910 |
| 79) |
950.1 - 9 |
941.1 |
| 80) |
-9 - 103 |
-112 |
|
|
Quick links:
Practice:
Easy |
Medium |
Hard
Test:
Easy |
Medium |
Hard
Customized