Chapter 2--math & Computing Flashcards
Integer?
0, a positive integer, or a negative integer
Natural number?
0 and any positive integer
Rational number?
Integer, or the quotient of 2 integers, excluding division by 0
What does bit stand for?
Binary digit
What is the word length of a computer?
The number of bits in a word. Bits, bytes, and words
What was an IBM 650?
A computer with a bi-quinary readout with seven lights
Ten’s complement?
10 to the power of the number of digits used in a signed-magnitude system. -3=10^3 - 3=997
What does the leftmost digit in signed-magnitude representation of binary determine?
Whether the number is positive or negative. 1 is negative, 0 is positive
How do you calculate the two’s complement?
Invert the bits and add 1 to the new number
Halves and quarters position?
Digits to the right of the radix point in binary
How do you represent a real value in a computer?
Store the value as an integer, and include information about the location of the radix.
What 3 properties make up a real value?
Sign, mantissa, and exponent (which gives location of radix)
What is the size of a “full word”?
4 bytes, which is 32 bits. I byte=8 bits