What is the formula for the possible range of values that can be stored using 2s compliment | -(2^(n-1)) to (2^(n-1) -1) |
Define normilisation | Storing of a number in a uniformed manor |
If a mantissa is negative what is the most significant bit represent? | negative of that positional value if that makes sense
So like 10001
= -(2^4) + 2^0 |
What does a negative binary number start with? | 1 |
What does a positive binary number start with? | 0 |
What is the equation relating to the range of unsigned numbers? | 0 to ((2^n) -1) |
What does the start of a postitive normalised number look like? | 01 |
Whats the start of a negative normailsied number start with? | 10 |
How can you tell if a number is normalised? | Start with 10 or 01 |
Whats the only possible coding scheme to represent negative numbers | Twos compliment |
Describe the process of binary multiplication | For each of the bits of one of the mulplying numbers you multiply by the other bits in the other mupliying number
For each bit of the first you, add a 0 to the right
Then add each of these up |
Describe the process of adding with twos compliemnts when the positive number has a greater magnitude | Take the 2s compliment of the number being taken away
Add the other number and the twos comlimitisied number together
Any carries are disregerded |
Describe the process of adding with twos compliemnts when the negative number has a greater magnitude | Take the 2s compliment of the number being taken away
Add the other number and the twos comlimitisied number together
Then take the twos compliement of this number |
Whats the difference between fixed and floating point binary | Fixed point has a specific number of digits reserved for the integer part and fractional part while the floating point does not have a specific number of digits reserved for the integer part and fractional part |
HOW are numbers normalised? | Ignore this question :) |
Describe the process of taking the twos compliment of a number | Swap the 1s and the 0s
Add 1 |
In floating point binary, what does the mantissa decribe? | Precision of the value |
In floating point binary, what does the exponent describe about a value? | Range of the value |
Why are floating point numbers possibly inacurate? | Because certain numbers (irrational) are unrepresentable in base 2 |
Between floating and fixed point which has the highest range? | Floating |
Is flaoting point or fixed more accureate?
And why | Floating
Gaps between adjacent numbers can be much smaller |
Is fixed or flaoting point speedier? | Fixed |
Why are floating point numbers normalised? | For precision FOR A GIVEN NUMBER OF BITS
For consistency
need caps bit |
Whats overflow and underflow? | When a vlaue is outside the range of possible values |
To achieve the smallest possible value using a menitssa and exponent what bits would need to be 1s? | Bit to the right of the dot
First bit of the exponent |