1.1 test center, decimal conversion
Test method [analysis]
This test method is a test center basic calculation and memory address, IP address calculation binding test.
Points [analysis]
1, an R-nary decimal turn (short division);
2, R transfected binary coded decimal (by weight expansion method);
3, Binary octal, hexadecimal turn (Packet fast conversion).
Remarks [coaching]
1, the control system conversion binary decimal number, the IP address conversion skilled calculated;
2, master binary and hexadecimal system conversion, master memory address translation.
1.2 test sites, the original code / trans code / complement / shift represents
Test method [analysis]
The main test sites are traced to the present embodiment: description of some given, so that the candidate is correct is determined; calculating certain code system represents the range of values or the number represented; represents a different code system.
Points [analysis]
1, the original code / trans code / complement / shift code conversion rule;
2, the original code / trans code / complement / indicates a range shift and represents the number of code (shown below):
[Note: For the original and inverted codes, and the present embodiment +0 0 -0 two representations, for the presence of complement and shift arbitrarily defined -0 complement its complement -2n-1 to n = 0, for example, is arbitrarily defined 10000000 complement -128]
3, 0 for specialization: +0 and -0 0 has two representations of the original code and the inverse code, and for the complement and which represents shift in a consistent manner.
Remarks [coaching]
1, the original master code / trans code / complement / quasi-shift change;
2, master / complement / shift range, and represents the number indicating the number of the original code can be / anti-code;
3, note that the complement code and shifted arbitrarily defined specificity and -0.
1.3 test sites, floating point representation
Test method [analysis]
Examine the way this knowledge is: given some descriptive (composed on a float, floating-point arithmetic rules, etc.) to enable trainees to determine whether the right; to influence the judgment of the floating-point mantissa and decoding.
Points [analysis]
1, showing the parts float meaning: N = the mantissa exponent base *
(1) General mantissa's complement, with the order code shift;
Digit (2) determines the number of order code indicates a range, the greater the range of more bits;
Digit (3) determines the effective precision of the mantissa of the number, the higher the more bits accuracy.
2, floating point arithmetic rules: order of> mantissa computing> Result Format
(1) When the order, fractional line to the large numbers;
(2) to order by ending in a small number of right implementation.
Remarks [coaching]
1, grasp the significance of each part of the float, the focus grasp the meaning exponent, mantissa;
2, floating-point arithmetic to master the process and simple rules.