Computing: Free Pascal Programming

Programming Home   Home   Contact

Maths trainer: Binary numbers (Binary).

Description: Maths trainer (exercise generator), dealing with binary numbers. Exercises include: base conversion (binary, decimal, hexadecimal), arithmetic (addition, subtraction) and logical operations (and, nand, or, nor, xor, xnor). The user may choose between the following binary sizes: 8, 16 or 32 bits (byte, word or double-word). For conversion exercises, the binary numbers may be considered as signed or as unsigned.

Free Pascal features: Custom types (classic Pascal); Boolean operators (classic Pascal). Basic controls; stringgrids. Changing controls' properties (caption, color, read-only, tabstop) during run-time as needed.


Binary numbers exercise: Base conversion
Binary numbers exercise: Arithmetic operations
Binary numbers exercise: Logical operations