ARITHMETIC(8,C) AIX Commands Reference ARITHMETIC(8,C)
-------------------------------------------------------------------------------
arithmetic
PURPOSE
Tests arithmetic skills.
SYNTAX
+- + - -+ +-- 10 ---+
/usr/games/arithmetic ---|1+---+ |---| |---|
+-| + |-+ +- range -+
^| - ||
|| x ||
|| / ||
|+---+|
+-----+
-----------------
1 Do not put a blank between these items.
DESCRIPTION
The arithmetic command displays simple arithmetic problems and waits for you to
enter an answer. If your answer is correct, the program displays "Right!" and
presents a new problem. If your answer is wrong, it displays "What?" and waits
for another answer. Every 20 problems, arithmetic displays the number of
correct and incorrect responses and the time required to answer.
The arithmetic command does not give the correct answers to the problems it
displays. It provides practice rather than instruction in performing
arithmetic calculations.
The range is a decimal number specifying the permissible range of all numbers
(except answers). The default range is 10. At the start, all numbers within
this range are equally likely to appear. If you make a mistake, the numbers in
the problem you missed become more likely to reappear.
To quit the game, press INTERRUPT (refer to keyboard definition). The
arithmetic command displays the final game statistics and exits.
FLAGS
+ Specifies addition problems.
- Specifies subtraction problems.
Processed November 8, 1990 ARITHMETIC(8,C) 1
ARITHMETIC(8,C) AIX Commands Reference ARITHMETIC(8,C)
x Specifies multiplication problems.
/ Specifies division problems.
If you do not select any flags, arithmetic selects addition and subtraction
problems. If you give more than one problem specifier ((+)-x/), the program
mixes the specified types of problems in random order.
EXAMPLES
1. To drill on addition and subtraction of integers from 0 to 10:
/usr/games/arithmetic
2. To drill on addition, multiplication, and division of integers from 0 to
50:
/usr/games/arithmetic (+)x/ 50
Processed November 8, 1990 ARITHMETIC(8,C) 2