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.5 - 0.9 -0.4
2) 6 / 0.6 10
3) 0.4 - -600 600.4
4) 10 * -8 -80
5) 0.8 - -5 5.8
6) 3.6 / 2.5 1.44
7) 74 + 31 105
8) 304 + -89 215
9) 4742 - 7 4735
10) 1.4 + -0.6 0.8
11) 0.365 - -0.85 1.215
12) 1 + 7 8
13) 868 - 243 625
14) 58 * 0.089 5.162
15) 2 + -6 -4
16) 90 - 46.29 43.71
17) 8 + -3 5
18) 605 - 83 522
19) -99.9 + 4 -95.9
20) 1671 + 46 1717
21) 5 * 0.005 0.025
22) 8538 + 315 8853
23) -3 - 604 -607
24) -5 * -0.928 4.64
25) 0.04 / -0.1 -0.4
26) 0.01 * 136 1.36
27) -19.9 + 0.4 -19.5
28) 0.477 + 0.84 1.317
29) -41 + 9.9 -31.1
30) 63 + 0.99 63.99
31) -2 / -0.04 50
32) -77 + 0.7 -76.3
33) 9920 - 870 9050
34) 2 + 6367 6369
35) 87 + 8164 8251
36) 0.003 + 0.057 0.06
37) 8757 - 372 8385
38) 787 + 9 796
39) 78 - -777.1 855.1
40) -0.21 + -5.56 -5.77
41) -6 / 3 -2
42) 8 / -5 -1.6
43) 802 - -0.3 802.3
44) 2 + 8.31 10.31
45) -0.85 * 6.4 -5.44
46) 1.7 * -70 -119
47) 0.4 + 164 164.4
48) 96.62 - -0.91 97.53
49) 7 - -58.6 65.6
50) 3.2 * 1290 4128
51) 5 + 0.3 5.3
52) 0.571 / -0.001 -571
53) 0.7 + -0.03 0.67
54) 557 + -2 555
55) -0.987 - -2 1.013
56) -33.7 - -68.6 34.9
57) -0.2 * 266 -53.2
58) 4 + 21.98 25.98
59) 42 - 9 33
60) 0.062 / -0.04 -1.55
61) 5 + 183 188
62) 750 * 0.091 68.25
63) -2.71 + 4.402 1.692
64) 6 - 9 -3
65) -9 * -678 6102
66) 4 * 43 172
67) -54 + 4649 4595
68) 0.5 - 26 -25.5
69) 9 * 63 567
70) 6 - -0.61 6.61
71) -99 - -1 -98
72) -0.093 / 0.01 -9.3
73) -8.675 - -14 5.325
74) 3916 + -3164 752
75) -9 - 538 -547
76) 3 + 0.06 3.06
77) 4 + 8.81 12.81
78) 44 + 770 814
79) 1 * 51.2 51.2
80) -0.008 / -0.01 0.8


Quick links:

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