compsci 4.5.4

0.0(0)
studied byStudied by 0 people
0.0(0)
full-widthCall Kai
learnLearn
examPractice Test
spaced repetitionSpaced Repetition
heart puzzleMatch
flashcardsFlashcards
GameKnowt Play
Card Sorting

1/19

encourage image

There's no tags or description

Looks like no tags are added yet.

Study Analytics
Name
Mastery
Learn
Test
Matching
Spaced

No study sessions yet.

20 Terms

1
New cards

unsigned integer

integer that is positive, no sign needed

2
New cards

signed integer

integer set as positive or negative through sign

3
New cards

overflow error

number of bits exceeds the maximum number of bits that can be stored.

4
New cards

two’s complement

reverse the whole binary number and then add one to make it negative

5
New cards

binary subtraction

turn number into negative version, then add together

6
New cards

fixed point binary

binary point in the number is fixed on the number line.

7
New cards

disadvantages of fixed point

cannot represent recurring decimals

8
New cards

floating point binary

binary point floats according to exponent

9
New cards

exponent

contains how far the binary point moves

10
New cards

mantissa

contains the actual binary number, and is normalised for accuracy

11
New cards

representation error

fractional part may not always be able to be represented

12
New cards

truncation

discarding bits that cannot be stored; at a loss of accuracy

13
New cards

rounded bits

dropping LSB, but if LSB is one, then add one to whole bit pattern

14
New cards

absolute error

difference between approximate value and original value

15
New cards

advantage of absolute error

allows comparison in order to find out which approximation is better

16
New cards

relative error

absolute error / original value

17
New cards

advantage of relative error

finds percentage the error is off by, finds impact of absolute error.

18
New cards

normalised floating point

floating point number starting with 01 or 10

19
New cards

advantage of normalisation

maximises precision for number in a given number of bits

20
New cards

underflow error

result is too small, and must be rounded