Comp Sci Mock Flashcards
What is underflow?
A calculation too close to 0 to be represented in a given number of bits
What is overflow?
A calculation too large to be represented in a given number of bits
what is cancellation error?
Where addition or subtraction takes place with number of very different sizes
what is absolute error?
Number required-Number represented
What is relative error?
absolute error/number required
Why do we normalise floating point values?
Ensure only one representation of a number
What is the range in floating point?
The amount of numbers it can represent.
What is precision in floating point?
How close to you can get to representing complex numbers like 110111011. More bits = More precision
What is the largest and smallest number you can represent with a 6bit mantissa 4 bit exponent?
Largest 0.11111 0111
Smallest 1.00000 0111
How would you represent A AND B using logic notation?
A.B
How would you represent A OR B in logic notation?
A+B
How would you represent Not A in logic notation?
Ā
What values makes an XOR true?
01 and 10
What is DeMorgan’s Law?
Break the line, change the sign
What is Analogue Data?
Data that varies in a continuous manner