In the 4 x 4 array shown below, each cell of the first three rows has either a cross (X) or a number. The number in a cell represents the count of the immediate neighboring cells (left, right, top, bottom, diagonals) NOT having a cross (X). Given that the last row has no crosses (X), the sum of the four numbers to be filled in the last row is: Row 1: 1 X 4 3 Row 2: X 5 5 4 Row 3: 3 X 6 X Row 4: ? ? ? ? A. 11 B. 10 C. 12 D. 9
GATE 2024 · General Aptitude · Number Relations · medium
Answer: 11
- Identify neighbours of row-4 cells: Cell (4,1): neighbours are (3,1)=3, (3,2)=X, (4,2). Cell (4,2): neighbours are (3,1)=3, (3,2)=X, (3,3)=6, (4,1), (4,3). Cell (4,3): neighbours are (3,2)=X, (3,3)=6, (3,4)=X, (4,2), (4,4). Cell (4,4): neighbours are (3,3)=6, (3,4)=X, (4,3).
- Count non-cross neighbours for each row-4 cell: (4,1): non-X neighbours = (3,1)=3 [non-X], (3,2)=X [skip], (4,2) [non-X] => 2. (4,2): non-X = (3,1) [non-X], (3,2)=X [skip], (3,3) [non-X], (4,1) [non-X], (4,3) [non-X] => 4. (4,3): non-X = (3,2)=X [skip], (3,3) [non-X], (3,4)=X [skip], (4,2) [non-X], (4,4) [non-X] => 3. (4,4): non-X = (3,3) [non-X], (3,4)=X [skip], (4,3) [non-X] => 2.
- Sum the four values: 2 + 4 + 3 + 2 = 11