1`ARITHMETIC(6) Games Manual ARITHMETIC(6)`

2

3

4

6` arithmetic - provide drill in number facts`

7

9` /usr/games/arithmetic [ +-x/ ] [ range ]`

10

12` Arithmetic types out simple arithmetic problems, and waits for an`

13` answer to be typed in. If the answer is correct, it types back`

14` "Right!", and a new problem. If the answer is wrong, it replies`

15` "What?", and waits for another answer. Every twenty problems, it pub‐`

16` lishes statistics on correctness and the time required to answer.`

17

18` To quit the program, type an interrupt (delete).`

19

20` The first optional argument determines the kind of problem to be gener‐`

21` ated; +-x/ respectively cause addition, subtraction, multiplication,`

22` and division problems to be generated. One or more characters can be`

23` given; if more than one is given, the different types of problems will`

24` be mixed in random order; default is +-`

25

26` Range is a decimal number; all addends, subtrahends, differences, mul‐`

27` tiplicands, divisors, and quotients will be less than or equal to the`

28` value of range. Default range is 10.`

29

30` At the start, all numbers less than or equal to range are equally`

31` likely to appear. If the respondent makes a mistake, the numbers in`

32` the problem which was missed become more likely to reappear.`

33

34` As a matter of educational philosophy, the program will not give cor‐`

35` rect answers, since the learner should, in principle, be able to calcu‐`

36` late them. Thus the program is intended to provide drill for someone`

37` just past the first learning stage, not to teach number facts de novo.`

38` For almost all users, the relevant statistic should be time per prob‐`

39` lem, not percent correct.`

40

41

42

43` ARITHMETIC(6)`