Question: A simple way to detect errors is the use of a check digit. When using a check digit, the original data is appended by extra
A simple way to detect errors is the use of a check digit. When using a check
digit, the original data is appended by extra data that is calculated from the code.
Let us consider the International Standard Book Number ISBN which is used
to identify books. In particular, we will consider the ISBN check digit.
Using ISBN books are identified by strings of the form
xxx xx
where x x are digits from inclusive and x can be either or X
which is used to represent so that
i
ixi
is divisible by
For example, is a valid IBSN code, because
times times times times times times
times times times times
and times which is clearly divisible by
a Show that is a valid ISBN
ISBN has the ability to detect two common types of error:
When a single digit is changed, the check digit sum fails.
When two distinct neighbouring digits are swapped, the check digit sum
fails.
It will fail when other types of error are made.
b Demonstrate and explain an error that is not detected by ISBN
Various types of check digits exist and they often take advantage of some math
ematical structure that allows one to prove the error detectioncorrection abilities.
Often, the mathematical structures are quite complicated and many are beyond
the scope of this module.
MATH
c Cyclic redundancy check CRC codes are codes commonly used in net
works to detect errors. CRC codes are based on polynomials where the
coefficients are s and s because data itself is binary. For example, the
CRC based on x x is used in some mobile phone networks. Rather
than work with the polynomial itself, the expression is converted into the bit
string of coefficients. For example,
x x xx x
Note: it is important to include the missing x term to encode the polynomial
correctly.
We will not cover all of the details here, but it can be useful to use a polyno
mial that does not factorise in a CRC code such polynomials are said to be
irreducible
i Using real numbers, factorise the polynomial
xx
mark
ii Explain why x is irreducible using real numbers.
marks
d Consider codes of the form abcd, where a b c d are positive integers such
that
ad bd c
Note: this code is not a particularly good one and it is not used in practice.
i If a b c what must d be
ii If a c d what must b be
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
