Term
A mathematical concept; E.g.: Natural numbers, integers, reals, rationals |
|
Definition
|
|
Term
Used to represent a number |
|
Definition
|
|
Term
Computer is a _____ _____ system |
|
Definition
|
|
Term
Discrete; finite number of symbols; opposite is _____ (continuous) |
|
Definition
|
|
Term
(Base two); 2 symbols/states/values; 0 and 1 (or letters 'O' and 'I') |
|
Definition
|
|
Term
Basic unit of information, also called the binary digit |
|
Definition
|
|
Term
n bits -> _____ possible states |
|
Definition
|
|
Term
Operates by controlling the flow of electrons |
|
Definition
|
|
Term
_____ data, simply means an agreed upon _____ of data from one representation to another |
|
Definition
|
|
Term
27=128 combinations; standard encoding, developed in the 1960s, didn't take into account international standards |
|
Definition
ASCII (American Standard Code for Information Interchange) |
|
|
Term
8-bit encoding, 28=256 possibilities |
|
Definition
|
|
Term
|
Definition
|
|
Term
What is the most and least significant digit in 101? |
|
Definition
|
|
Term
Radix-10: _____ Radix 2: _____ Radix 16: _____ |
|
Definition
|
|
Term
Use k symbols- also known as k-ary numbers |
|
Definition
|
|
Term
How many different radix k numbers of length n? |
|
Definition
|
|
Term
What does this algorithm do?
//input is Decimal number N, output is list of bits bi
i=0;
while N>0
do bi=N%r; //bi=remainder; N mod r
N=N/r; //N becomes quotient of division i++;
end while |
|
Definition
Computes the base r representation for N |
|
|
Term
When operation result is outside type's range |
|
Definition
|
|
Term
The sum of 2 n-bit numbers can have _____ bits |
|
Definition
|
|
Term
The product of 2 n-bit numbers can have _____ bits |
|
Definition
|
|
Term
Architecture remembers overflow (carry-out) bit |
|
Definition
|
|
Term
Overflow: Architecture stores upper n-bits in register. Can use these if you want. |
|
Definition
|
|
Term
|
Definition
|
|
Term
|
Definition
|
|
Term
|
Definition
|
|
Term
In a computer memory each storage location can only hold a _____ number of bits |
|
Definition
|
|
Term
If we use an n-bit storage location to store a 'regular' unsigned number we can store numbers between 0 and _____ inclusive. |
|
Definition
|
|
Term
What negative representation are these? 00101=5 10101=-5 00101=5 11010=-5 |
|
Definition
sign-magnitude, 1's Complement |
|
|
Term
Range of Signed Magnitude, 1's Complement, 2's Complement |
|
Definition
-2N-1+1<i<2N-1-1, -2N-1+1<i<2N-1-1, -2N-1<i<2N-1-1 |
|
|
Term
To represent a number X we actually compute and store (2n+X) |
|
Definition
|
|
Term
Advantages of _____ _____- operations need not check the sign, only 1 representation for zero, efficient use of all the bits |
|
Definition
|
|
Term
Arithmetic Overflow: Any addition that produces an 'extra bit' is a problem; Sometimes addition or subtraction produce an extra bit- this is not necessarily a problem, Arithmetic overflow can occur when you are adding 2 positive or 2 negative numbers- in this case if the sign of the result is _____ from the sign of the addends you have an arithmetic overflow |
|
Definition
Unsigned numbers, 2's Complement signed numbers, different |
|
|
Term
2's Complement Pencil-and-Paper Shortcut: Copy bits from _____ to _____ up to and including the first _____. _____ remaining bits. |
|
Definition
|
|
Term
Converting Decimal to Binary (2's C)
1. Find magnitude of decimal number. (Always _____.)
2. Divide by _____ - remainder is _____ significant bit.
3. Keep dividing by 2 until answer is _____, writing remainders from _____ to _____.
4. Append a _____ as the _____ bit; if original number was _____, take 2's Complement. |
|
Definition
positive, 2, least, 0, right, left, 0, MS, negative |
|
|
Term
To add 2 different sized bits, pad the smaller sized bits on the _____ with the _____ bit. |
|
Definition
|
|