Table 1 shows some numbers.
Table 1
| Number | Rational? | Integer? | Natural? |
|---|---|---|---|
| 1.23 | ✓ | ✗ | ✗ |
| -10 | |||
| π (3.14159...) | |||
| 69420 | |||
| 0.0 | |||
| √2 |
The first row of Table 1 has been completed as an example.
| Number | Rational? | Integer? | Natural? |
|---|---|---|---|
| 1.23 | ✓ | ✗ | ✗ |
| -10 | ✓ | ✓ | ✗ |
| π (3.14159...) | ✗ | ✗ | ✗ |
| 69420 | ✓ | ✓ | ✓ |
| 0.0 | ✓ | ✓ | ✓ |
| √2 | ✗ | ✗ | ✗ |
23410 into unsigned binary.
1110 10102
C516 to decimal.
19710
4 × 220 = 4194304 KiB
101012 and 1102, without converting to decimal.
For writing out the shifts: 10101002 and 1010102
For summing the results: 11111102
-10010 to 8-bit signed binary using Two's complement.
For converting 100 to binary: 0110 01002
For the final answer of 1001 11002
14.2510 be represented in fixed-point binary?
Final answer is 1110.012.
For the integer part 1110 (before the decimal point)
For the fractional part 01 (after the decimal point)
6.910 is converted to fixed-point binary with 3 bits after the decimal point? Answer to 3 significant figures.
Closest representable number is 6.87510
Percentage error is 0.362%
-27.2510 to floating-point binary using an 8-bit mantissa and 4-bit exponent.
Mantissa is 1001 00112
Exponent is 01012
010 111 011 101 000 110 100 001.
01110100
'C' is 6710.'S' in hexadecimal.
ASCII value of 'S' is 8310
This is 5316
(880 × 880 × 32) / (8 × 1024) = 3025 KiB
'a' is 9710.data" with the bit sequence 1010010, 0010111, 0101100, 1000010 as the one-time pad.
For converting the message to ASCII values: 100, 97, 116, 97
For converting them to binary: 1100100, 1100001, 1110100, 1100001
For the final answer of 0110110, 1110110, 1011000, 0100011