Learning objective
Absolute and relative errors: Be able to calculate the absolute error of numerical data stored and processed in computer systems. Be able to calculate the relative error of numerical data stored and processed in computer systems. Compare absolute and relative errors for large and small magnitude numbers, and numbers close to one.
Read the explanation, check the common trap, then practise with flashcards and questions.
At a glance
0
Flashcards
0
Questions
Topic
Binary number system
Subtopic
Absolute and relative errors
Study support
Understand this objective
Quick explanation
Absolute and relative errors: Be able to calculate the absolute error of numerical data stored and processed in computer systems. Be able to calculate the relative error of numerical data stored and processed in computer systems. Compare absolute and relative errors for large and small magnitude numbers, and numbers close to one
- This point belongs to Binary number system, especially Absolute and relative errors.
- You need to be able to absolute and relative errors: Be able to calculate the absolute error of numerical data stored and processed in computer systems. Be able to calculate the relative error of numerical data stored and processed in computer systems. Compare absolute and relative errors for large and small magnitude numbers, and numbers close to one.
- Use the linked flashcards and practice questions to check recall, then practise applying the idea in an exam-style answer.
Why it matters
This objective helps connect Absolute and relative errors to exam-style questions, flashcards, and revision notes for Binary number system.
Quick student answer
A computer stores a value as 118 when the actual value is 120. What is the absolute error?
Direct answer
2
Key terms
- Absolute error: The magnitude of the difference between an actual value and the value stored or processed by a computer.
- Relative error: The absolute error divided by the actual value, often expressed as a decimal or percentage.
Common trap
Using the stored value as the denominator: Divide the absolute error by the actual value: relative error = absolute error / actual value.
Related questions
Try this as a practice card
Question 1 of 4
Choose an answer, get feedback, then move sideways through the set.
Flashcard prompts
Flip through the key recall cards
Flashcard 1 of 4
Revision tools
Choose how to practise
Flashcards0 linked cards
Practice Questions0 linked questions
Related learning objectives
- Unsigned binary: Know the difference between unsigned binary and signed binary. Students are expected to be able to convert between unsigned binary and decimal and vice versa. Know that in unsigned binary the minimum and maximum values for a given number of bits, n, are 0 and 2n -1 respectively.
Unsigned binary
- Unsigned binary arithmetic: Be able to: • add two unsigned binary integers • multiply two unsigned binary integers. 66
Unsigned binary arithmetic
- Signed binary using two’s complement: Know that signed binary can be used to represent negative integers and that one possible coding scheme is two’s complement. This is the only representation of negative integers that will be examined. Students are expected to be able to convert between signed binary and decimal and vice versa. Know how to: • represent negative and positive integers in two’s complement • perform subtraction using two’s complement • calculate the range of a given number of bits, n.
Signed binary using two’s complement
- Numbers with a fractional part: Know how numbers with a fractional part can be represented in: • fixed point form in binary in a given number of bits • floating point form in binary in a given number of bits. Students are not required to know the Institute of Electrical and Electronic Engineers (IEEE) standard, only to know, understand and be able to use a simplified floating representation consisting of mantissa + exponent. Be able to convert for each representation from: • decimal to binary of a given number of bits • binary to decimal of a given number of bits. Exam questions on floating point numbers will use a format in which both the mantissa and exponent are represented using two's complement.
Numbers with a fractional part
- Rounding errors: Know and be able to explain why both fixed point and floating point representation of decimal numbers may be inaccurate. Use binary fractions. For a real number to be represented exactly by the binary number system, it must be capable of being represented by a binary fraction in the given number of bits. Some values cannot ever be represented exactly, for example 0.110.
Rounding errors
