Confirming your payment

Skip to content

Sign up now and get .

Competency-Based Questions (CBQ) · Question 39 of 40

Competency: Application & Creativity Riya and her friends send short secret messages.

Question 394 marksHard

Competency: Application & Creativity

Riya and her friends send short secret messages. Each letter is replaced by its position in the alphabet (A = 1, B = 2, …, Z = 26). The word is split into pairs of letters, each pair is written as a column, and the columns are placed side by side to form the message matrix WW. The code sent is the matrix KWKW, read column by column, where KK is a 2×22 \times 2 key matrix that the friends keep secret. Riya's key is

K=[2111]K = \begin{bmatrix} 2 & 1 \\ 1 & 1 \end{bmatrix}

(a) Encode the word MATH with Riya's key.

(b) Her friend Arjun suggests the key K2=[1224]K_2 = \begin{bmatrix} 1 & 2 \\ 2 & 4 \end{bmatrix}. Show that with K2K_2 the pairs CA and AB get the same code, and use the rows of K2K_2 to explain why such clashes happen.

(c) Design a key of your own, with whole-number entries and different from II and from KK, which gives different codes for the pairs AB and BA. Show that it does, and state a simple condition on the columns of a key that makes the codes of AB and BA different.