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-10 check digit.
Using ISBN-10, books are identified by strings of the form
x1x2x3 x9x10,
where x1,, x9 are digits from 09(inclusive) and x10 can be either 09 or X
(which is used to represent 10) so that
10
i=1
(11 i)xi
is divisible by 11.
For example, 0-306-40615-2 is a valid IBSN-10 code, because
(0\times 10)+(3\times 9)+(0\times 8)+(6\times 7)+(4\times 6)+(0\times 5)
+(6\times 4)+(1\times 3)+(5\times 2)+(2\times 1)=132
and 132=11\times 12, which is clearly divisible by 11.
(a) Show that 0-205-08005-7 is a valid ISBN-10.
ISBN-10 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-10.
Various types of check digits exist and they often take advantage of some math-
ematical structure that allows one to prove the error detection/correction abilities.
Often, the mathematical structures are quite complicated and many are beyond
the scope of this module.
MATH4004
(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 0s and 1s, because data itself is binary. For example, the
CRC based on x3+ x +1 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,
x3+ x +1= x3+0x2+ x +17->1011.
Note: it is important to include the missing x2 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
x2+6x 16.
1 mark
ii. Explain why x2+1 is irreducible using real numbers.
2 marks
(d) Consider codes of the form abcd, where a, b, c, d are positive integers such
that
ad2 bd + c =0.
Note: this code is not a particularly good one and it is not used in practice.
i. If a =1, b =4, c =4, what must d be?
ii. If a =2, c =4, d =2, what must b be?

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!