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) -9 / 2 -4.5
2) -18 + 79 61
3) 5348 / -955 -5.6
4) -7 + 2878 2871
5) 72 * -9 -648
6) 9.013 + -5 4.013
7) -0.67 - 5.39 -6.06
8) 19.66 / 0.005 3932
9) 0.55 + 61 61.55
10) 389 - -552 941
11) 794 + -8 786
12) 2 * 0.008 0.016
13) 807 - -145 952
14) -0.047 + 0.2 0.153
15) -1 - 86.8 -87.8
16) 3 * 263.2 789.6
17) 0.05 + 55 55.05
18) 1.9 - -68.96 70.86
19) -7 / 4 -1.75
20) 3.745 - -0.5 4.245
21) 0.498 + -0.28 0.218
22) -973 + 112 -861
23) 4 * 2.13 8.52
24) 99 - 7 92
25) 73 * 9 657
26) 0.01 * -143 -1.43
27) 4.2 - -0.033 4.233
28) -69 * -4 276
29) 69 - 0.04 68.96
30) 464 + 91 555
31) -7 * 24 -168
32) -10.7 + 77.33 66.63
33) -0.9 - 25 -25.9
34) -77 * 2 -154
35) 29 + 3036 3065
36) 882 / 6 147
37) 1 + 8 9
38) 4320 / 0.6 7200
39) 9 * 0.308 2.772
40) -20.8 - 5 -25.8
41) 7 * -69 -483
42) -2 - -0.85 -1.15
43) 0.3 + 43.12 43.42
44) 9 / -2 -4.5
45) 5.7 * 6 34.2
46) 0.9 + 72 72.9
47) 5 / 0.002 2500
48) 9204 - -404 9608
49) 2 + 5 7
50) -7.75 * 0.08 -0.62
51) 0.565 + 7.27 7.835
52) 6 / 0.003 2000
53) 6542 * 0.15 981.3
54) 5.8 - 0.5 5.3
55) 49 + -338 -289
56) -8 + 20 12
57) 0.003 * 802 2.406
58) 8177 - -503 8680
59) -43 * -8 344
60) 0.098 + 9.368 9.466
61) 9.8 - -8 17.8
62) -6.6 / 44 -0.15
63) -3 * 7 -21
64) 0.109 + 5 5.109
65) 0.86 - -9.97 10.83
66) 6 + -0.645 5.355
67) 9.51 + 48 57.51
68) 7518 - 71 7447
69) 0.8 + -2.99 -2.19
70) 6 * 50 300
71) 61 - 433 -372
72) 86 + 5019 5105
73) 84 + 2 86
74) 4 * 9.28 37.12
75) 0.005 * 0.8 0.004
76) 0.04 + 16 16.04
77) 0.9 + 77 77.9
78) 58 - -4 62
79) 6.84 - -0.08 6.92
80) 0.2 - -33 33.2


Quick links:

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