Math Test

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.

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.

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.

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

In practice mode the answers are selectable on the same page and no scoring will be done. In test mode you need to click a "Finished" button and your score will be calculated.

Term & answer sizes
(total # of digits, including fraction)
(# of digits after ., if variable is a double)
(total # of digits)
(# of digits after ., if used)

Operations

Variables
(This includes floats)

Operators

Optimizations
Limits complexity in some situations.
Guarantee operator changing & no arbitragable values.


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) 0.3 * -8 -2.4
2) 98.9 - -0.4 99.3
3) -7 - -975 968
4) 4.2 + 10 14.2
5) 474 - -593 1067
6) 6812 - -2 6814
7) 0.19 * 64 12.16
8) 11 * -0.28 -3.08
9) 0.775 - -0.519 1.294
10) 733 + 0.9 733.9
11) 9.362 + 5.598 14.96
12) -0.06 - 2.1 -2.16
13) 0.02 / 1 0.02
14) -36 - 0.3 -36.3
15) 8.78 - 6 2.78
16) 5.657 + -0.2 5.457
17) -844 / 2 -422
18) -5.1 / -4 1.275
19) 3774 + 3 3777
20) 0.008 + 0.9 0.908
21) 2 + -0.003 1.997
22) 1048 / -4 -262
23) -0.096 + 2 1.904
24) 5.912 + 0.005 5.917
25) 12.4 + -3.448 8.952
26) 2 * 907 1814
27) 0.473 + 5.06 5.533
28) 55 - 13.65 41.35
29) 5 * -4 -20
30) 2.59 - -62 64.59
31) -4 + 69 65
32) -67 + 77.01 10.01
33) 796 - 648 148
34) -98 + -1 -99
35) 0.02 - -9 9.02
36) 2662 - -48 2710
37) 33 - 0.3 32.7
38) -0.357 - -3 2.643
39) 681.9 + -597 84.9
40) 996 - 5 991
41) 0.968 + 0.815 1.783
42) 8 + 163 171
43) 3.24 * 0.4 1.296
44) 50 * -8 -400
45) -27 + 6763 6736
46) 7 - 0.8 6.2
47) 7 + 84 91
48) 0.3 - -0.18 0.48
49) 9 - 8.17 0.83
50) -56 * -7 392
51) 0.01 - 3 -2.99
52) 20 - -8 28
53) 38 + 13 51
54) 6.01 - 0.097 5.913
55) 0.845 - -0.06 0.905
56) 6 - 681 -675
57) 19 + 27 46
58) 952 - -4 956
59) -1 * 29.3 -29.3
60) 367 + 6 373
61) 644 - 50.4 593.6
62) 0.67 - -0.009 0.679
63) -0.3 * 9 -2.7
64) -10 * 7.05 -70.5
65) 99.29 - 0.11 99.18
66) 8166 + -6 8160
67) 9.3 + 0.594 9.894
68) -20 * -65.6 1312
69) 8802 + -80 8722
70) 0.08 + 6.54 6.62
71) 50 * -0.04 -2
72) -7.862 - 0.028 -7.89
73) 7.2 * 2 14.4
74) 5 - -71.5 76.5
75) 97 + 2.14 99.14
76) 5 - 0.006 4.994
77) 527 - 1 526
78) 71 + -728 -657
79) 0.01 - 2 -1.99
80) 73 * 0.005 0.365


Quick links:

Practice: Easy | Medium | Hard
Test: Easy | Medium | Hard
Customized