Arithmetic Errors Flashcards

You may prefer our related Brainscape-certified flashcards:
1
Q

What is an overflow error?

A

Results of a calculation that are too large in magnitude to represent in a given scheme.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

What is representational error or round-off error?

A

An arithmetic error cause when precision of a result from an arithmetic operation is greater than the precision of the scheme used to store it.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

What are two methods of dealing with round-off errors?

A
  • Round-by-Truncation

- Round-to-nearest

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

What is round-by-truncation?

A

All digits after the (n-1)^th position are discarded.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

What is round-to-nearest?

A

Rounds to nearest value allowed by the precision based on the nth position digit.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

What are the two common methods of round-to-nearest?

A
  • “ties away from zero”

- “ties towards even”

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

What is the “ties away from zero” method?

A

This says that we round to the nearest value, and ties will be round to the nearest value with larger magnitude.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

What is the “ties towards even” method?

A

Rounds so that the least significant digit is even.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

What is an underflow error?

A

Results of a calculation that are too small in magnitude to represent in a given scheme.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

What is the underflow gap?

A

The unrepresentable range from 0 to the smallest value.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

What is cancellation error?

A

A loss of significance during calculations, due to the limits of precision.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

How to cancellation errors occur?

A
  • Addition of number with large difference in magnitude

- Subtraction between very similar values

How well did you know this?
1
Not at all
2
3
4
5
Perfectly