Confirming your payment

Skip to content

Sign up now and get .

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

Competency: Application & Analysis A small black-and-white icon is stored as a 3 × 3 matrix P of brightness levels on…

Question 363 marksMedium

Competency: Application & Analysis

A small black-and-white icon is stored as a 3×33 \times 3 matrix PP of brightness levels on a scale of 0 to 9. The app's "flip" button reflects the icon in its main diagonal, so the new matrix is P′P'. Its "brighten" button adds 2 to every level, giving P+2JP + 2J, where JJ is the 3×33 \times 3 matrix with every element 1. (Hypothetical data.)

P=[147250362]P = \begin{bmatrix} 1 & 4 & 7 \\ 2 & 5 & 0 \\ 3 & 6 & 2 \end{bmatrix}

(a) Find the matrix after one press of "flip".

(b) Using the laws of transpose, show that "brighten then flip" gives the same icon as "flip then brighten", and write that icon.

(c) What does the icon look like after "flip" is pressed twice? Give a reason.